#[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 though “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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

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

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.