pub unsafe extern "C" fn charls_jpegls_decoder_get_destination_size(
decoder: *const charls_jpegls_decoder,
stride: u32,
destination_size_bytes: *mut usize,
) -> charls_jpegls_errc
Expand description
Returns the size required for the destination buffer in bytes to hold the decoded pixel data.
Function should be called after calling the function charls_jpegls_decoder_read_header.
Reference to the decoder instance.
Number of bytes to the next line in the buffer, when zero, decoder will compute it.
Output argument, will hold the required size when the function returns.
The result of the operation: success or a failure code.