pub struct EncoderStats {
pub block_size_counts: [usize; 22],
pub skip_block_count: usize,
pub tx_type_counts: [usize; 16],
pub luma_pred_mode_counts: [usize; 34],
pub chroma_pred_mode_counts: [usize; 34],
}
Fields§
§block_size_counts: [usize; 22]
Stores count of pixels belonging to each block size in this frame
skip_block_count: usize
Stores count of pixels belonging to skip blocks in this frame
tx_type_counts: [usize; 16]
Stores count of pixels belonging to each transform type in this frame
luma_pred_mode_counts: [usize; 34]
Stores count of pixels belonging to each luma prediction mode in this frame
chroma_pred_mode_counts: [usize; 34]
Stores count of pixels belonging to each chroma prediction mode in this frame
Trait Implementations§
Source§impl Add<&EncoderStats> for EncoderStats
impl Add<&EncoderStats> for EncoderStats
Source§type Output = EncoderStats
type Output = EncoderStats
The resulting type after applying the
+
operator.Source§impl AddAssign<&EncoderStats> for EncoderStats
impl AddAssign<&EncoderStats> for EncoderStats
Source§fn add_assign(&mut self, rhs: &EncoderStats)
fn add_assign(&mut self, rhs: &EncoderStats)
Performs the
+=
operation. Read moreSource§impl Clone for EncoderStats
impl Clone for EncoderStats
Source§fn clone(&self) -> EncoderStats
fn clone(&self) -> EncoderStats
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 moreSource§impl Debug for EncoderStats
impl Debug for EncoderStats
Source§impl Default for EncoderStats
impl Default for EncoderStats
Source§impl PartialEq for EncoderStats
impl PartialEq for EncoderStats
impl Eq for EncoderStats
impl StructuralPartialEq for EncoderStats
Auto Trait Implementations§
impl Freeze for EncoderStats
impl RefUnwindSafe for EncoderStats
impl Send for EncoderStats
impl Sync for EncoderStats
impl Unpin for EncoderStats
impl UnwindSafe for EncoderStats
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