Enum dynlink_nvidia_encode::api::BufferFormat
source · #[repr(u32)]pub enum BufferFormat {
Undefined = 0,
NV12 = 1,
YV12 = 16,
IYUV = 256,
YUV444 = 4_096,
YUV444_10Bit = 1_048_576,
YUV420_10Bit = 65_536,
ARGB = 16_777_216,
ARGB10 = 33_554_432,
ABGR = 268_435_456,
AYUV = 67_108_864,
ABGR10 = 536_870_912,
}
Expand description
Data format of input and output buffer
Variants§
Undefined = 0
NV12 = 1
YV12 = 16
IYUV = 256
YUV444 = 4_096
YUV444_10Bit = 1_048_576
YUV420_10Bit = 65_536
ARGB = 16_777_216
ARGB10 = 33_554_432
ABGR = 268_435_456
AYUV = 67_108_864
ABGR10 = 536_870_912
Trait Implementations§
source§impl Clone for BufferFormat
impl Clone for BufferFormat
source§fn clone(&self) -> BufferFormat
fn clone(&self) -> BufferFormat
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 BufferFormat
impl Debug for BufferFormat
impl Copy for BufferFormat
Auto Trait Implementations§
impl Freeze for BufferFormat
impl RefUnwindSafe for BufferFormat
impl Send for BufferFormat
impl Sync for BufferFormat
impl Unpin for BufferFormat
impl UnwindSafe for BufferFormat
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