(result: &mut QuantizationResult, input_image: &mut Image, rows: &mut [*mut MaybeUninit<u8>])
| 47 | } |
| 48 | |
| 49 | pub unsafe fn liq_write_remapped_image_rows_impl(result: &mut QuantizationResult, input_image: &mut Image, rows: &mut [*mut MaybeUninit<u8>]) -> Result<(), Error> { |
| 50 | let rows = RowBitmapMut::new(rows, input_image.width()); |
| 51 | result.write_remapped_image_rows_internal(input_image, rows) |
| 52 | } |
| 53 | |
| 54 | /// Not recommended |
| 55 | pub unsafe fn liq_image_set_memory_ownership_impl(image: &mut Image<'_>, own_rows: bool, own_pixels: bool, free_fn: unsafe extern "C" fn(*mut std::os::raw::c_void)) -> Result<(), Error> { |
no test coverage detected