(attr: &Attributes, row_callback: Box<RowCallback<'rows>>, width: u32, height: u32, gamma: f64)
| 38 | |
| 39 | #[must_use] |
| 40 | pub unsafe fn liq_image_create_custom_impl<'rows>(attr: &Attributes, row_callback: Box<RowCallback<'rows>>, width: u32, height: u32, gamma: f64) -> Option<Image<'rows>> { |
| 41 | Image::new_internal(attr, crate::rows::PixelsSource::Callback(row_callback), width, height, gamma).ok() |
| 42 | } |
| 43 | |
| 44 | pub unsafe fn liq_write_remapped_image_impl(result: &mut QuantizationResult, input_image: &mut Image, buffer_bytes: &mut [MaybeUninit<u8>]) -> Result<(), Error> { |
| 45 | let rows = RowBitmapMut::new_contiguous(buffer_bytes, input_image.width()); |
no outgoing calls
no test coverage detected