[][src]Enum stainless_ffmpeg_sys::_bindgen_ty_4

#[repr(u32)]pub enum _bindgen_ty_4 {
    AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX,
    AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX,
    AV_CODEC_HW_CONFIG_METHOD_INTERNAL,
    AV_CODEC_HW_CONFIG_METHOD_AD_HOC,
}

Variants

AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX

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

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.

AV_CODEC_HW_CONFIG_METHOD_INTERNAL

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

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

impl Clone for _bindgen_ty_4[src]

impl Copy for _bindgen_ty_4[src]

impl Debug for _bindgen_ty_4[src]

impl Eq for _bindgen_ty_4[src]

impl Hash for _bindgen_ty_4[src]

impl PartialEq<_bindgen_ty_4> for _bindgen_ty_4[src]

impl StructuralEq for _bindgen_ty_4[src]

impl StructuralPartialEq for _bindgen_ty_4[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.