Struct libaom_sys::aom_partition_features
source · [−]#[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_IDFeature ID to indicate active features
before_part_none: aom_partition_features_before_none_tFeatures collected before NONE partition
after_part_none: aom_partition_features_none_tFeatures collected after NONE partition
after_part_split: aom_partition_features_split_tFeatures collected after SPLIT partition
after_part_rect: aom_partition_features_rect_tFeatures collected after RECTANGULAR partition
after_part_ab: aom_partition_features_ab_tFeatures collected after AB partition
sb_features: aom_sb_features_tFeatures collected for the super block
mi_row: c_intMi_row position of the block
mi_col: c_intMi_col position of the block
frame_width: c_intFrame width
frame_height: c_intFrame height
block_size: c_intAs “BLOCK_SIZE” in av1/common/enums.h
Trait Implementations
sourceimpl Clone for aom_partition_features
impl Clone for aom_partition_features
sourcefn clone(&self) -> aom_partition_features
fn clone(&self) -> aom_partition_features
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for aom_partition_features
impl Debug for aom_partition_features
impl Copy for aom_partition_features
Auto Trait Implementations
impl RefUnwindSafe for aom_partition_features
impl Send for aom_partition_features
impl Sync for aom_partition_features
impl Unpin for aom_partition_features
impl UnwindSafe for aom_partition_features
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more