Function libheif_sys::heif_get_decoder_descriptors
source · pub unsafe extern "C" fn heif_get_decoder_descriptors(
format_filter: heif_compression_format,
out_decoders: *mut *const heif_decoder_descriptor,
count: c_int
) -> c_int
Expand description
Get a list of available decoders. You can filter the encoders by compression format. Use format_filter==heif_compression_undefined to get all available decoders. The returned list of decoders is sorted by their priority (which is a plugin property). The number of decoders is returned, which are not more than ‘count’ if (out_decoders != nullptr). By setting out_decoders==nullptr, you can query the number of decoders, ‘count’ is ignored.