pub struct FramePlane {
pub bytes: Bytes,
pub stride: u32,
pub width: u32,
pub height: u32,
}Expand description
One plane of a decoded frame.
Fields§
§bytes: Bytesstride * height fully written bytes, either a view of the frame’s buffer or a packed copy.
stride: u32Bytes between rows, at least the row’s samples.
width: u32Sample positions per row (a U, V pair each for interleaved chroma).
height: u32Rows.
Trait Implementations§
Source§impl Clone for FramePlane
impl Clone for FramePlane
Source§impl Debug for FramePlane
impl Debug for FramePlane
impl Eq for FramePlane
Source§impl PartialEq for FramePlane
impl PartialEq for FramePlane
impl StructuralPartialEq for FramePlane
Auto Trait Implementations§
impl !Freeze for FramePlane
impl RefUnwindSafe for FramePlane
impl Send for FramePlane
impl Sync for FramePlane
impl Unpin for FramePlane
impl UnsafeUnpin for FramePlane
impl UnwindSafe for FramePlane
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