[−][src]Struct av_metrics::video::FrameInfo
A container holding the data for one video frame. This includes all planes of the video. Currently, only YUV/YCbCr format is supported. Bit depths up to 16-bit are supported.
Fields
planes: [Plane<T>; 3]
A container holding three planes worth of video data. The indices in the array correspond to the following planes:
- 0 - Y/Luma plane
- 1 - U/Cb plane
- 2 - V/Cr plane
bit_depth: usize
The number of bits per pixel.
chroma_sampling: ChromaSampling
The chroma sampling format of the video. Most videos are in 4:2:0 format.
Trait Implementations
impl<T: Clone + Pixel> Clone for FrameInfo<T>
[src]
impl<T: Debug + Pixel> Debug for FrameInfo<T>
[src]
Auto Trait Implementations
impl<T> RefUnwindSafe for FrameInfo<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for FrameInfo<T>
impl<T> Sync for FrameInfo<T>
impl<T> Unpin for FrameInfo<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for FrameInfo<T> where
T: RefUnwindSafe + UnwindSafe,
T: RefUnwindSafe + UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,