pub struct DecodedYuvImage {
pub width: usize,
pub height: usize,
pub y_stride: usize,
pub uv_stride: usize,
pub y: Vec<u8>,
pub u: Vec<u8>,
pub v: Vec<u8>,
}Expand description
Decoded YUV420 image.
Fields§
§width: usizeImage width in pixels.
height: usizeImage height in pixels.
y_stride: usizeY plane stride in bytes.
uv_stride: usizeU and V plane stride in bytes.
y: Vec<u8>Y plane data.
u: Vec<u8>U plane data.
v: Vec<u8>V plane data.
Trait Implementations§
Source§impl Clone for DecodedYuvImage
impl Clone for DecodedYuvImage
Source§fn clone(&self) -> DecodedYuvImage
fn clone(&self) -> DecodedYuvImage
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 DecodedYuvImage
impl Debug for DecodedYuvImage
Source§impl PartialEq for DecodedYuvImage
impl PartialEq for DecodedYuvImage
impl Eq for DecodedYuvImage
impl StructuralPartialEq for DecodedYuvImage
Auto Trait Implementations§
impl Freeze for DecodedYuvImage
impl RefUnwindSafe for DecodedYuvImage
impl Send for DecodedYuvImage
impl Sync for DecodedYuvImage
impl Unpin for DecodedYuvImage
impl UnsafeUnpin for DecodedYuvImage
impl UnwindSafe for DecodedYuvImage
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