Struct av_metrics::video::decode::VideoDetails
source · pub struct VideoDetails {
pub width: usize,
pub height: usize,
pub bit_depth: usize,
pub chroma_sampling: ChromaSampling,
pub chroma_sample_position: ChromaSamplePosition,
pub time_base: Rational,
pub luma_padding: usize,
}
Expand description
A Structure containing Video Details as per Plane’s Config
Fields§
§width: usize
Width in pixels.
height: usize
Height in pixels.
bit_depth: usize
Bit-depth of the Video
chroma_sampling: ChromaSampling
ChromaSampling of the Video.
chroma_sample_position: ChromaSamplePosition
Chroma Sampling Position of the Video.
time_base: Rational
Add Time base of the Video.
luma_padding: usize
Padding Constant
Trait Implementations§
source§impl Clone for VideoDetails
impl Clone for VideoDetails
source§fn clone(&self) -> VideoDetails
fn clone(&self) -> VideoDetails
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VideoDetails
impl Debug for VideoDetails
source§impl Default for VideoDetails
impl Default for VideoDetails
impl Copy for VideoDetails
Auto Trait Implementations§
impl RefUnwindSafe for VideoDetails
impl Send for VideoDetails
impl Sync for VideoDetails
impl Unpin for VideoDetails
impl UnwindSafe for VideoDetails
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