#[repr(C)]
pub struct aom_sb_tpl_features { pub available: c_int, pub tpl_unit_length: c_int, pub num_units: c_int, pub intra_cost: [i64; 64], pub inter_cost: [i64; 64], pub mc_dep_cost: [i64; 64], }
Expand description

Features collected from the tpl process.

The tpl process collects information that help measure the inter-frame dependency. The tpl process is computed in the unit of tpl_bsize_1d (16x16). Therefore, the max number of units inside a superblock is 128x128 / (16x16) = 64. Change it if the tpl process changes.

Fields

available: c_int

If tpl stats are available

tpl_unit_length: c_int

The block length of tpl process

num_units: c_int

The number of units inside the current superblock

intra_cost: [i64; 64]

The intra cost of each unit

inter_cost: [i64; 64]

The inter cost of each unit

mc_dep_cost: [i64; 64]

The motion compensated dependency cost

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.