Constant rsmpeg::ffi::AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX[][src]

pub const AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX: u32 = 1; // 0x0000_0001u32
Expand description

The codec supports this format via the hw_device_ctx interface.

When selecting this format, AVCodecContext.hw_device_ctx should have been set to a device of the specified type before calling avcodec_open2().