Function libjxl_sys::JxlDecoderDCOutBufferSize
source · [−]pub unsafe extern "C" fn JxlDecoderDCOutBufferSize(
dec: *const JxlDecoder,
format: *const JxlPixelFormat,
size: *mut usize
) -> JxlDecoderStatus
Expand description
Returns the minimum size in bytes of the DC image output buffer for the given format. This is the buffer for @ref 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 @ref JXL_DEC_SUCCESS on success, @ref JXL_DEC_ERROR on error, such as information not available yet.
@deprecated The DC feature in this form will be removed. Use @ref JxlDecoderFlushImage for progressive rendering.