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 Forget for VideoFrame
impl Freeze for VideoFrame
impl Move for VideoFrame
impl RefUnwindSafe for VideoFrame
impl Send for VideoFramewhere
RawVecInner: Send,
impl Sync for VideoFramewhere
RawVecInner: Sync,
impl Unpin for VideoFrame
impl UnsafeUnpin for VideoFrame
impl UnwindSafe for VideoFramewhere
RawVecInner: UnwindSafe,
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