#[repr(u8)]pub enum OutCtrlSetFormat {
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§
Trait Implementations§
Source§impl Clone for OutCtrlSetFormat
impl Clone for OutCtrlSetFormat
Source§fn clone(&self) -> OutCtrlSetFormat
fn clone(&self) -> OutCtrlSetFormat
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 OutCtrlSetFormat
impl Debug for OutCtrlSetFormat
Source§impl From<OutCtrlSetFormat> for u8
impl From<OutCtrlSetFormat> for u8
Source§fn from(val: OutCtrlSetFormat) -> u8
fn from(val: OutCtrlSetFormat) -> u8
Converts to this type from the input type.
Source§impl From<u8> for OutCtrlSetFormat
impl From<u8> for OutCtrlSetFormat
Source§fn from(val: u8) -> OutCtrlSetFormat
fn from(val: u8) -> OutCtrlSetFormat
Converts to this type from the input type.
Source§impl Ord for OutCtrlSetFormat
impl Ord for OutCtrlSetFormat
Source§fn cmp(&self, other: &OutCtrlSetFormat) -> Ordering
fn cmp(&self, other: &OutCtrlSetFormat) -> 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 OutCtrlSetFormat
impl PartialEq for OutCtrlSetFormat
Source§impl PartialOrd for OutCtrlSetFormat
impl PartialOrd for OutCtrlSetFormat
impl Copy for OutCtrlSetFormat
impl Eq for OutCtrlSetFormat
impl StructuralPartialEq for OutCtrlSetFormat
Auto Trait Implementations§
impl Freeze for OutCtrlSetFormat
impl RefUnwindSafe for OutCtrlSetFormat
impl Send for OutCtrlSetFormat
impl Sync for OutCtrlSetFormat
impl Unpin for OutCtrlSetFormat
impl UnwindSafe for OutCtrlSetFormat
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