pub struct NativeEncoderHardwareConfig {
pub pixel_format: String,
pub device_type: String,
pub methods: i32,
pub needs_hardware_frames: bool,
}Expand description
One hardware configuration a video encoder declares.
Fields§
§pixel_format: StringHardware pixel format this configuration carries frames in.
device_type: StringFFmpeg hardware device type backing it.
methods: i32AV_CODEC_HW_CONFIG_METHOD_* bits.
needs_hardware_frames: boolWhether the encoder takes its frames through an AVHWFramesContext.
Trait Implementations§
Source§impl Clone for NativeEncoderHardwareConfig
impl Clone for NativeEncoderHardwareConfig
Source§impl Debug for NativeEncoderHardwareConfig
impl Debug for NativeEncoderHardwareConfig
impl Eq for NativeEncoderHardwareConfig
impl StructuralPartialEq for NativeEncoderHardwareConfig
Auto Trait Implementations§
impl Freeze for NativeEncoderHardwareConfig
impl RefUnwindSafe for NativeEncoderHardwareConfig
impl Send for NativeEncoderHardwareConfig
impl Sync for NativeEncoderHardwareConfig
impl Unpin for NativeEncoderHardwareConfig
impl UnsafeUnpin for NativeEncoderHardwareConfig
impl UnwindSafe for NativeEncoderHardwareConfig
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
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.