Struct rsmpeg::ffi::AVCodecHWConfig [−][src]
Fields
pix_fmt: i32
Expand description
For decoders, a hardware pixel format which that decoder may be able to decode to if suitable hardware is available.
For encoders, a pixel format which the encoder may be able to accept. If set to AV_PIX_FMT_NONE, this applies to all pixel formats supported by the codec.
methods: i32
Expand description
Bit set of AV_CODEC_HW_CONFIG_METHOD_* flags, describing the possible setup methods which can be used with this configuration.
device_type: u32
Expand description
The 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
impl Clone for AVCodecHWConfig
[src]
impl Clone for AVCodecHWConfig
[src]pub fn clone(&self) -> AVCodecHWConfig
[src]
pub fn clone(&self) -> AVCodecHWConfig
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for AVCodecHWConfig
[src]
impl Debug for AVCodecHWConfig
[src]impl Copy for AVCodecHWConfig
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more