pub struct SceneMetrics {
pub scene_index: u32,
pub start_frame: u64,
pub end_frame: u64,
pub spatial_complexity: f64,
pub temporal_complexity: f64,
pub avg_luminance: f64,
pub luminance_variance: f64,
pub texture_density: f64,
pub scene_type: SceneType,
}Expand description
Metrics describing a scene’s visual characteristics.
Fields§
§scene_index: u32Scene index in the stream.
start_frame: u64Frame index where the scene starts.
end_frame: u64Frame index where the scene ends (exclusive).
spatial_complexity: f64Average spatial complexity (0.0 - 1.0).
temporal_complexity: f64Average temporal complexity / motion (0.0 - 1.0).
avg_luminance: f64Average luminance (0.0 - 1.0).
luminance_variance: f64Luminance variance.
texture_density: f64Texture density (0.0 - 1.0).
scene_type: SceneTypeClassified scene type.
Implementations§
Source§impl SceneMetrics
impl SceneMetrics
Trait Implementations§
Source§impl Clone for SceneMetrics
impl Clone for SceneMetrics
Source§fn clone(&self) -> SceneMetrics
fn clone(&self) -> SceneMetrics
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SceneMetrics
impl RefUnwindSafe for SceneMetrics
impl Send for SceneMetrics
impl Sync for SceneMetrics
impl Unpin for SceneMetrics
impl UnsafeUnpin for SceneMetrics
impl UnwindSafe for SceneMetrics
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more