#[repr(u32)]pub enum _bindgen_ty_4 {
AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX = 1,
AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX = 2,
AV_CODEC_HW_CONFIG_METHOD_INTERNAL = 4,
AV_CODEC_HW_CONFIG_METHOD_AD_HOC = 8,
}Variants§
AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX = 1
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().
AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX = 2
The codec supports this format via the hw_frames_ctx interface.
When selecting this format for a decoder, AVCodecContext.hw_frames_ctx should be set to a suitable frames context inside the get_format() callback. The frames context must have been created on a device of the specified type.
When selecting this format for an encoder, AVCodecContext.hw_frames_ctx should be set to the context which will be used for the input frames before calling avcodec_open2().
AV_CODEC_HW_CONFIG_METHOD_INTERNAL = 4
The codec supports this format by some internal method.
This format can be selected without any additional configuration - no device or frames context is required.
AV_CODEC_HW_CONFIG_METHOD_AD_HOC = 8
The codec supports this format by some ad-hoc method.
Additional settings and/or function calls are required. See the codec-specific documentation for details. (Methods requiring this sort of configuration are deprecated and others should be used in preference.)
Trait Implementations§
source§impl Clone for _bindgen_ty_4
impl Clone for _bindgen_ty_4
source§fn clone(&self) -> _bindgen_ty_4
fn clone(&self) -> _bindgen_ty_4
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for _bindgen_ty_4
impl Debug for _bindgen_ty_4
source§impl Hash for _bindgen_ty_4
impl Hash for _bindgen_ty_4
source§impl PartialEq for _bindgen_ty_4
impl PartialEq for _bindgen_ty_4
impl Copy for _bindgen_ty_4
impl Eq for _bindgen_ty_4
impl StructuralPartialEq for _bindgen_ty_4
Auto Trait Implementations§
impl Freeze for _bindgen_ty_4
impl RefUnwindSafe for _bindgen_ty_4
impl Send for _bindgen_ty_4
impl Sync for _bindgen_ty_4
impl Unpin for _bindgen_ty_4
impl UnwindSafe for _bindgen_ty_4
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)