pub struct VideoFrame {
pub dimensions: VideoDimensions,
pub pixel_format: PixelFormat,
pub color_range: ColorRange,
pub planes: Vec<Plane>,
}Expand description
A validated, owned CPU video frame.
Fields§
§dimensions: VideoDimensions§pixel_format: PixelFormat§color_range: ColorRange§planes: Vec<Plane>Implementations§
Source§impl VideoFrame
impl VideoFrame
pub fn new( dimensions: VideoDimensions, pixel_format: PixelFormat, color_range: ColorRange, planes: Vec<Plane>, limits: &Limits, ) -> Result<Self>
Trait Implementations§
Source§impl Clone for VideoFrame
impl Clone for VideoFrame
Source§impl Debug for VideoFrame
impl Debug for VideoFrame
impl Eq for VideoFrame
Source§impl PartialEq for VideoFrame
impl PartialEq for VideoFrame
impl StructuralPartialEq for VideoFrame
Auto Trait Implementations§
impl Freeze for VideoFrame
impl RefUnwindSafe for VideoFrame
impl Send for VideoFrame
impl Sync for VideoFrame
impl Unpin for VideoFrame
impl UnsafeUnpin for VideoFrame
impl UnwindSafe for VideoFrame
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