Function libjxl_sys::JxlDecoderGetExtraChannelInfo[][src]

pub unsafe extern "C" fn JxlDecoderGetExtraChannelInfo(
    dec: *const JxlDecoder,
    index: usize,
    info: *mut JxlExtraChannelInfo
) -> JxlDecoderStatus

Outputs information for extra channel at the given index. The index must be smaller than num_extra_channels in the associated JxlBasicInfo.

@param dec decoder object @param index index of the extra channel to query. @param info struct to copy the information into, or NULL to only check whether the information is available through the return value. @return JXL_DEC_SUCCESS if the value is available, JXL_DEC_NEED_MORE_INPUT if not yet available, JXL_DEC_ERROR in case of other error conditions.