Struct libaom_sys::aom_partition_stats
source · #[repr(C)]pub struct aom_partition_stats {
pub rate: c_int,
pub dist: i64,
pub rdcost: i64,
}
Expand description
Encoding stats for the given partition decision.
The encoding stats collected by encoding the superblock with the given partition types. The encoder sends the stats to the external model for training or inference through “func()” defined in ….
Fields§
§rate: c_int
Rate cost of the block
dist: i64
Distortion of the block
rdcost: i64
Rate-distortion cost of the block
Trait Implementations§
source§impl Clone for aom_partition_stats
impl Clone for aom_partition_stats
source§fn clone(&self) -> aom_partition_stats
fn clone(&self) -> aom_partition_stats
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 aom_partition_stats
impl Debug for aom_partition_stats
impl Copy for aom_partition_stats
Auto Trait Implementations§
impl RefUnwindSafe for aom_partition_stats
impl Send for aom_partition_stats
impl Sync for aom_partition_stats
impl Unpin for aom_partition_stats
impl UnwindSafe for aom_partition_stats
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