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 bytes, every one of them written: a view of the
frame’s own reference-counted buffer, or a tightly packed copy of its
samples.
stride: u32Bytes between rows, at least the row’s samples.
width: u32Sample positions per row; an interleaved chroma plane holds a U, V pair at each.
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