pub enum InputVideoFrameFormat {
Rgb888 = 0,
}Expand description
The format of the input video frames accesed via read_video_frame.
Variants§
Rgb888 = 0
Each pixel is encoded using red, green, blue components, each component occupies 8 bits. The pixels are stored in row-major order.
Trait Implementations§
Source§impl Clone for InputVideoFrameFormat
impl Clone for InputVideoFrameFormat
Source§fn clone(&self) -> InputVideoFrameFormat
fn clone(&self) -> InputVideoFrameFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InputVideoFrameFormat
impl Debug for InputVideoFrameFormat
Source§impl Hash for InputVideoFrameFormat
impl Hash for InputVideoFrameFormat
Source§impl Ord for InputVideoFrameFormat
impl Ord for InputVideoFrameFormat
Source§fn cmp(&self, other: &InputVideoFrameFormat) -> Ordering
fn cmp(&self, other: &InputVideoFrameFormat) -> Ordering
1.21.0 (const: unstable) · 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 InputVideoFrameFormat
impl PartialEq for InputVideoFrameFormat
Source§fn eq(&self, other: &InputVideoFrameFormat) -> bool
fn eq(&self, other: &InputVideoFrameFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for InputVideoFrameFormat
impl PartialOrd for InputVideoFrameFormat
Source§impl TryFrom<u8> for InputVideoFrameFormat
impl TryFrom<u8> for InputVideoFrameFormat
impl Copy for InputVideoFrameFormat
impl Eq for InputVideoFrameFormat
impl StructuralPartialEq for InputVideoFrameFormat
Auto Trait Implementations§
impl Freeze for InputVideoFrameFormat
impl RefUnwindSafe for InputVideoFrameFormat
impl Send for InputVideoFrameFormat
impl Sync for InputVideoFrameFormat
impl Unpin for InputVideoFrameFormat
impl UnsafeUnpin for InputVideoFrameFormat
impl UnwindSafe for InputVideoFrameFormat
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