Struct av_metrics_decoders::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
sourceimpl Clone for VideoDetails
impl Clone for VideoDetails
sourcefn clone(&self) -> VideoDetails
fn clone(&self) -> VideoDetails
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for VideoDetails
impl Debug for VideoDetails
sourceimpl Default for VideoDetails
impl Default for VideoDetails
sourcefn default() -> VideoDetails
fn default() -> VideoDetails
Returns the “default value” for a type. Read more
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more