Struct av_metrics::video::Frame [−][src]
Fields
planes: [Plane<T>; 3]
Planes constituting the frame.
Implementations
pub fn new_with_padding(
width: usize,
height: usize,
chroma_sampling: ChromaSampling,
luma_padding: usize
) -> Frame<T>
pub fn new_with_padding(
width: usize,
height: usize,
chroma_sampling: ChromaSampling,
luma_padding: usize
) -> Frame<T>
Creates a new frame with the given parameters.
Allocates data for the planes.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Frame<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Frame<T> where
T: UnwindSafe + RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more