Skip to main content

heif_image_get_sensor_bad_pixels_map_data

Function heif_image_get_sensor_bad_pixels_map_data 

Source
pub unsafe extern "C" fn heif_image_get_sensor_bad_pixels_map_data(
    arg1: *const heif_image,
    map_index: c_int,
    out_component_indices: *mut u32,
    out_bad_rows: *mut u32,
    out_bad_columns: *mut u32,
    out_bad_pixels: *mut heif_bad_pixel,
) -> heif_error
Expand description

Get the actual data of a sensor bad pixels map. Caller must provide pre-allocated arrays: out_component_indices: num_component_indices entries (may be NULL if num_component_indices == 0) out_bad_rows: num_bad_rows entries (may be NULL if num_bad_rows == 0) out_bad_columns: num_bad_columns entries (may be NULL if num_bad_columns == 0) out_bad_pixels: num_bad_pixels entries (may be NULL if num_bad_pixels == 0)