Function libjxl_sys::JxlButteraugliResultGetDistmap[][src]

pub unsafe extern "C" fn JxlButteraugliResultGetDistmap(
    result: *const JxlButteraugliResult,
    buffer: *mut *const f32,
    row_stride: *mut u32
)

Get a pointer to the distmap in the result.

@param result intermediary result instance. @param buffer will be set to the distmap. The distance value for (x,y) will be available at buffer + y * row_stride + x. @param row_stride will be set to the row stride of the distmap.