pub struct FramePassStats {
pub frame_index: u64,
pub frame_type: FrameType,
pub spatial_complexity: f32,
pub temporal_complexity: f32,
pub combined_complexity: f32,
pub is_scene_change: bool,
pub intra_blocks: u32,
pub inter_blocks: u32,
pub avg_motion: f32,
pub predicted_bits: u64,
pub allocated_bits: u64,
}Expand description
Per-frame statistics from first pass.
Fields§
§frame_index: u64Frame index.
frame_type: FrameTypeFrame type.
spatial_complexity: f32Spatial complexity.
temporal_complexity: f32Temporal complexity.
combined_complexity: f32Combined complexity.
is_scene_change: boolIs scene change.
intra_blocks: u32Number of intra-coded blocks.
inter_blocks: u32Number of inter-coded blocks.
avg_motion: f32Average motion vector magnitude.
predicted_bits: u64Predicted bits needed.
allocated_bits: u64Allocated bits (filled in second pass).
Trait Implementations§
Source§impl Clone for FramePassStats
impl Clone for FramePassStats
Source§fn clone(&self) -> FramePassStats
fn clone(&self) -> FramePassStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FramePassStats
impl Debug for FramePassStats
Source§impl Default for FramePassStats
impl Default for FramePassStats
Source§fn default() -> FramePassStats
fn default() -> FramePassStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FramePassStats
impl RefUnwindSafe for FramePassStats
impl Send for FramePassStats
impl Sync for FramePassStats
impl Unpin for FramePassStats
impl UnsafeUnpin for FramePassStats
impl UnwindSafe for FramePassStats
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