Enum ffmpeg_sys_next::AVHWDeviceType
source · #[repr(u32)]pub enum AVHWDeviceType {
AV_HWDEVICE_TYPE_NONE = 0,
AV_HWDEVICE_TYPE_VDPAU = 1,
AV_HWDEVICE_TYPE_CUDA = 2,
AV_HWDEVICE_TYPE_VAAPI = 3,
AV_HWDEVICE_TYPE_DXVA2 = 4,
AV_HWDEVICE_TYPE_QSV = 5,
AV_HWDEVICE_TYPE_VIDEOTOOLBOX = 6,
AV_HWDEVICE_TYPE_D3D11VA = 7,
AV_HWDEVICE_TYPE_DRM = 8,
AV_HWDEVICE_TYPE_OPENCL = 9,
AV_HWDEVICE_TYPE_MEDIACODEC = 10,
AV_HWDEVICE_TYPE_VULKAN = 11,
}
Variants§
AV_HWDEVICE_TYPE_NONE = 0
AV_HWDEVICE_TYPE_VDPAU = 1
AV_HWDEVICE_TYPE_CUDA = 2
AV_HWDEVICE_TYPE_VAAPI = 3
AV_HWDEVICE_TYPE_DXVA2 = 4
AV_HWDEVICE_TYPE_QSV = 5
AV_HWDEVICE_TYPE_VIDEOTOOLBOX = 6
AV_HWDEVICE_TYPE_D3D11VA = 7
AV_HWDEVICE_TYPE_DRM = 8
AV_HWDEVICE_TYPE_OPENCL = 9
AV_HWDEVICE_TYPE_MEDIACODEC = 10
AV_HWDEVICE_TYPE_VULKAN = 11
Trait Implementations§
source§impl Clone for AVHWDeviceType
impl Clone for AVHWDeviceType
source§fn clone(&self) -> AVHWDeviceType
fn clone(&self) -> AVHWDeviceType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AVHWDeviceType
impl Debug for AVHWDeviceType
source§impl Hash for AVHWDeviceType
impl Hash for AVHWDeviceType
source§impl PartialEq for AVHWDeviceType
impl PartialEq for AVHWDeviceType
source§fn eq(&self, other: &AVHWDeviceType) -> bool
fn eq(&self, other: &AVHWDeviceType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AVHWDeviceType
impl Eq for AVHWDeviceType
impl StructuralPartialEq for AVHWDeviceType
Auto Trait Implementations§
impl Freeze for AVHWDeviceType
impl RefUnwindSafe for AVHWDeviceType
impl Send for AVHWDeviceType
impl Sync for AVHWDeviceType
impl Unpin for AVHWDeviceType
impl UnwindSafe for AVHWDeviceType
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