Function libjxl_sys::JxlDecoderDCOutBufferSize[][src]

pub unsafe extern "C" fn JxlDecoderDCOutBufferSize(
    dec: *const JxlDecoder,
    format: *const JxlPixelFormat,
    size: *mut usize
) -> JxlDecoderStatus

Returns the minimum size in bytes of the DC image output buffer for the given format. This is the buffer for JxlDecoderSetDCOutBuffer. Requires the basic image information is available in the decoder.

@param dec decoder object @param format format of pixels @param size output value, buffer size in bytes @return JXL_DEC_SUCCESS on success, JXL_DEC_ERROR on error, such as information not available yet.