Type Alias libaom_sys::aom_partition_decision_t
source · pub type aom_partition_decision_t = aom_partition_decision;
Expand description
Partition decisions received from the external model.
The encoder receives partition decisions and encodes the superblock with the given partition type. The encoder receives it from “func()” define 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.
Aliased Type§
struct aom_partition_decision_t {Show 16 fields
pub is_final_decision: i32,
pub num_nodes: i32,
pub partition_decision: [i32; 2048],
pub current_decision: i32,
pub terminate_partition_search: i32,
pub partition_none_allowed: i32,
pub partition_rect_allowed: [i32; 2],
pub do_rectangular_split: i32,
pub do_square_split: i32,
pub prune_rect_part: [i32; 2],
pub horza_partition_allowed: i32,
pub horzb_partition_allowed: i32,
pub verta_partition_allowed: i32,
pub vertb_partition_allowed: i32,
pub partition_horz4_allowed: i32,
pub partition_vert4_allowed: i32,
}
Fields§
§is_final_decision: i32
The flag whether it’s the final decision
num_nodes: i32
The number of leaf nodes
partition_decision: [i32; 2048]
Partition decisions
current_decision: i32
Partition decision for the current block
terminate_partition_search: i32
Terminate further partition search
partition_none_allowed: i32
Allow partition none type
partition_rect_allowed: [i32; 2]
Allow rectangular partitions
do_rectangular_split: i32
Try rectangular split partition
do_square_split: i32
Try square split partition
prune_rect_part: [i32; 2]
Prune rectangular partition
horza_partition_allowed: i32
Allow HORZ_A partition
horzb_partition_allowed: i32
Allow HORZ_B partition
verta_partition_allowed: i32
Allow VERT_A partition
vertb_partition_allowed: i32
Allow VERT_B partition
partition_horz4_allowed: i32
Allow HORZ4 partition
partition_vert4_allowed: i32
Allow VERT4 partition