Struct AVHWAccel
#[repr(C)]pub struct AVHWAccel {
pub name: *const i8,
pub type_: i32,
pub id: u32,
pub pix_fmt: i32,
pub capabilities: i32,
}
Expand description
@defgroup lavc_hwaccel AVHWAccel
@note Nothing in this structure should be accessed by the user. At some point in future it will not be externally visible at all.
@{
Fields§
§name: *const i8
Name of the hardware accelerated codec. The name is globally unique among encoders and among decoders (but an encoder and a decoder can share the same name).
type_: i32
Type of codec implemented by the hardware accelerator.
See AVMEDIA_TYPE_xxx
id: u32
Codec implemented by the hardware accelerator.
See AV_CODEC_ID_xxx
pix_fmt: i32
Supported pixel format.
Only hardware accelerated formats are supported here.
capabilities: i32
Hardware accelerated codec capabilities. see AV_HWACCEL_CODEC_CAP_*
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AVHWAccel
impl RefUnwindSafe for AVHWAccel
impl !Send for AVHWAccel
impl !Sync for AVHWAccel
impl Unpin for AVHWAccel
impl UnwindSafe for AVHWAccel
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