#[repr(C)]
pub struct aom_partition_features { pub id: AOM_EXT_PART_FEATURE_ID, pub before_part_none: aom_partition_features_before_none_t, pub after_part_none: aom_partition_features_none_t, pub after_part_split: aom_partition_features_split_t, pub after_part_rect: aom_partition_features_rect_t, pub after_part_ab: aom_partition_features_ab_t, pub sb_features: aom_sb_features_t, pub mi_row: c_int, pub mi_col: c_int, pub frame_width: c_int, pub frame_height: c_int, pub block_size: c_int, }
Expand description

Features pass to the external model to make partition decisions.

The encoder sends these features to the external model through “func()” defined in …..

NOTE: new member variables may be added to this structure in the future. Once new features are finalized, bump the major version of libaom.

Fields

id: AOM_EXT_PART_FEATURE_ID

Feature ID to indicate active features

before_part_none: aom_partition_features_before_none_t

Features collected before NONE partition

after_part_none: aom_partition_features_none_t

Features collected after NONE partition

after_part_split: aom_partition_features_split_t

Features collected after SPLIT partition

after_part_rect: aom_partition_features_rect_t

Features collected after RECTANGULAR partition

after_part_ab: aom_partition_features_ab_t

Features collected after AB partition

sb_features: aom_sb_features_t

Features collected for the super block

mi_row: c_int

Mi_row position of the block

mi_col: c_int

Mi_col position of the block

frame_width: c_int

Frame width

frame_height: c_int

Frame height

block_size: c_int

As “BLOCK_SIZE” in av1/common/enums.h

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.