Struct rav1e::data::EncoderStats
source · 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
§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 copy 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
source§fn eq(&self, other: &EncoderStats) -> bool
fn eq(&self, other: &EncoderStats) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for EncoderStats
impl StructuralEq for EncoderStats
impl StructuralPartialEq for EncoderStats
Auto Trait Implementations§
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