Function ffmpeg_sys_next::avcodec_get_hw_config
source · pub unsafe extern "C" fn avcodec_get_hw_config(
codec: *const AVCodec,
index: c_int
) -> *const AVCodecHWConfig
Expand description
Retrieve supported hardware configurations for a codec.
Values of index from zero to some maximum return the indexed configuration descriptor; all other values return NULL. If the codec does not support any hardware configurations then it will always return NULL.