Struct EncoderStats

struct EncoderStats { ... }

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

Implementations

impl Add for EncoderStats

fn add(self: Self, rhs: &EncoderStats) -> <Self as >::Output

impl AddAssign for EncoderStats

fn add_assign(self: &mut Self, rhs: &EncoderStats)

impl Clone for EncoderStats

fn clone(self: &Self) -> EncoderStats

impl Debug for EncoderStats

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Default for EncoderStats

fn default() -> Self

impl Eq for EncoderStats

impl Freeze for EncoderStats

impl PartialEq for EncoderStats

fn eq(self: &Self, other: &EncoderStats) -> bool

impl RefUnwindSafe for EncoderStats

impl Send for EncoderStats

impl StructuralPartialEq for EncoderStats

impl Sync for EncoderStats

impl Unpin for EncoderStats

impl UnsafeUnpin for EncoderStats

impl UnwindSafe for EncoderStats

impl<T> Any for EncoderStats

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for EncoderStats

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for EncoderStats

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for EncoderStats

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for EncoderStats

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for EncoderStats

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for EncoderStats

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for EncoderStats

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for EncoderStats

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>