#[repr(u8)]pub enum OutCtrlFormat {
Show 32 variants
ARGB8888 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
RGB888 = 4,
RGB888P = 5,
_RESERVED_6 = 6,
_RESERVED_7 = 7,
ARGB1555 = 8,
ARGB4444 = 9,
_RESERVED_a = 10,
_RESERVED_b = 11,
RGB555 = 12,
RGB444 = 13,
RGB565 = 14,
_RESERVED_f = 15,
YUV1P444 = 16,
_RESERVED_11 = 17,
UYVY1P422 = 18,
VYUY1P422 = 19,
Y8 = 20,
Y4 = 21,
_RESERVED_16 = 22,
_RESERVED_17 = 23,
YUV2P422 = 24,
YUV2P420 = 25,
YVU2P422 = 26,
YVU2P420 = 27,
_RESERVED_1c = 28,
_RESERVED_1d = 29,
_RESERVED_1e = 30,
_RESERVED_1f = 31,
}Variants§
ARGB8888 = 0
32-bit pixels
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
RGB888 = 4
32-bit pixels (unpacked 24-bit pixel in 32 bit DWORD.)
RGB888P = 5
24-bit pixels (packed 24-bit format)
_RESERVED_6 = 6
_RESERVED_7 = 7
ARGB1555 = 8
16-bit pixels
ARGB4444 = 9
16-bit pixels
_RESERVED_a = 10
_RESERVED_b = 11
RGB555 = 12
16-bit pixels
RGB444 = 13
16-bit pixels
RGB565 = 14
16-bit pixels
_RESERVED_f = 15
YUV1P444 = 16
32-bit pixels (1-plane XYUV unpacked)
_RESERVED_11 = 17
UYVY1P422 = 18
16-bit pixels (1-plane U0,Y0,V0,Y1 interleaved bytes)
VYUY1P422 = 19
16-bit pixels (1-plane V0,Y0,U0,Y1 interleaved bytes)
Y8 = 20
8-bit monochrome pixels (1-plane Y luma output)
Y4 = 21
4-bit monochrome pixels (1-plane Y luma, 4 bit truncation)
_RESERVED_16 = 22
_RESERVED_17 = 23
YUV2P422 = 24
16-bit pixels (2-plane UV interleaved bytes)
YUV2P420 = 25
16-bit pixels (2-plane UV)
YVU2P422 = 26
16-bit pixels (2-plane VU interleaved bytes)
YVU2P420 = 27
16-bit pixels (2-plane VU)
_RESERVED_1c = 28
_RESERVED_1d = 29
_RESERVED_1e = 30
_RESERVED_1f = 31
Implementations§
Source§impl OutCtrlFormat
impl OutCtrlFormat
Trait Implementations§
Source§impl Clone for OutCtrlFormat
impl Clone for OutCtrlFormat
Source§fn clone(&self) -> OutCtrlFormat
fn clone(&self) -> OutCtrlFormat
Returns a duplicate 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 OutCtrlFormat
impl Debug for OutCtrlFormat
Source§impl From<OutCtrlFormat> for u8
impl From<OutCtrlFormat> for u8
Source§fn from(val: OutCtrlFormat) -> u8
fn from(val: OutCtrlFormat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for OutCtrlFormat
impl From<u8> for OutCtrlFormat
Source§fn from(val: u8) -> OutCtrlFormat
fn from(val: u8) -> OutCtrlFormat
Converts to this type from the input type.
Source§impl Ord for OutCtrlFormat
impl Ord for OutCtrlFormat
Source§fn cmp(&self, other: &OutCtrlFormat) -> Ordering
fn cmp(&self, other: &OutCtrlFormat) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OutCtrlFormat
impl PartialEq for OutCtrlFormat
Source§impl PartialOrd for OutCtrlFormat
impl PartialOrd for OutCtrlFormat
impl Copy for OutCtrlFormat
impl Eq for OutCtrlFormat
impl StructuralPartialEq for OutCtrlFormat
Auto Trait Implementations§
impl Freeze for OutCtrlFormat
impl RefUnwindSafe for OutCtrlFormat
impl Send for OutCtrlFormat
impl Sync for OutCtrlFormat
impl Unpin for OutCtrlFormat
impl UnwindSafe for OutCtrlFormat
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