Struct ffmpeg_sys_next::AVCodecHWConfig
source · [−]#[repr(C)]pub struct AVCodecHWConfig {
pub pix_fmt: AVPixelFormat,
pub methods: c_int,
pub device_type: AVHWDeviceType,
}Fields
pix_fmt: AVPixelFormatA hardware pixel format which the codec can use.
methods: c_intBit set of AV_CODEC_HW_CONFIG_METHOD_* flags, describing the possible setup methods which can be used with this configuration.
device_type: AVHWDeviceTypeThe device type associated with the configuration.
Must be set for AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX and AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX, otherwise unused.
Trait Implementations
sourceimpl Clone for AVCodecHWConfig
impl Clone for AVCodecHWConfig
sourcefn clone(&self) -> AVCodecHWConfig
fn clone(&self) -> AVCodecHWConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AVCodecHWConfig
impl Debug for AVCodecHWConfig
sourceimpl PartialEq<AVCodecHWConfig> for AVCodecHWConfig
impl PartialEq<AVCodecHWConfig> for AVCodecHWConfig
sourcefn eq(&self, other: &AVCodecHWConfig) -> bool
fn eq(&self, other: &AVCodecHWConfig) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AVCodecHWConfig) -> bool
fn ne(&self, other: &AVCodecHWConfig) -> bool
This method tests for !=.
impl Copy for AVCodecHWConfig
impl Eq for AVCodecHWConfig
impl StructuralEq for AVCodecHWConfig
impl StructuralPartialEq for AVCodecHWConfig
Auto Trait Implementations
impl RefUnwindSafe for AVCodecHWConfig
impl Send for AVCodecHWConfig
impl Sync for AVCodecHWConfig
impl Unpin for AVCodecHWConfig
impl UnwindSafe for AVCodecHWConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more