Struct av_metrics::video::PlanarMetrics
source · [−]Expand description
Certain metrics return a value per plane. This struct contains the output for those metrics per plane, as well as a weighted average of the planes.
Fields
y: f64
Metric value for the Y plane.
u: f64
Metric value for the U/Cb plane.
v: f64
Metric value for the V/Cb plane.
avg: f64
Weighted average of the three planes.
Trait Implementations
sourceimpl Clone for PlanarMetrics
impl Clone for PlanarMetrics
sourcefn clone(&self) -> PlanarMetrics
fn clone(&self) -> PlanarMetrics
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PlanarMetrics
impl Debug for PlanarMetrics
sourceimpl Default for PlanarMetrics
impl Default for PlanarMetrics
sourcefn default() -> PlanarMetrics
fn default() -> PlanarMetrics
Returns the “default value” for a type. Read more
sourceimpl PartialEq<PlanarMetrics> for PlanarMetrics
impl PartialEq<PlanarMetrics> for PlanarMetrics
sourcefn eq(&self, other: &PlanarMetrics) -> bool
fn eq(&self, other: &PlanarMetrics) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PlanarMetrics) -> bool
fn ne(&self, other: &PlanarMetrics) -> bool
This method tests for !=
.
impl Copy for PlanarMetrics
impl StructuralPartialEq for PlanarMetrics
Auto Trait Implementations
impl RefUnwindSafe for PlanarMetrics
impl Send for PlanarMetrics
impl Sync for PlanarMetrics
impl Unpin for PlanarMetrics
impl UnwindSafe for PlanarMetrics
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more