Struct libaom_sys::aom_partition_decision
source · #[repr(C)]pub struct aom_partition_decision {Show 16 fields
pub is_final_decision: c_int,
pub num_nodes: c_int,
pub partition_decision: [c_int; 2048],
pub current_decision: c_int,
pub terminate_partition_search: c_int,
pub partition_none_allowed: c_int,
pub partition_rect_allowed: [c_int; 2],
pub do_rectangular_split: c_int,
pub do_square_split: c_int,
pub prune_rect_part: [c_int; 2],
pub horza_partition_allowed: c_int,
pub horzb_partition_allowed: c_int,
pub verta_partition_allowed: c_int,
pub vertb_partition_allowed: c_int,
pub partition_horz4_allowed: c_int,
pub partition_vert4_allowed: c_int,
}
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.
Fields§
§is_final_decision: c_int
The flag whether it’s the final decision
num_nodes: c_int
The number of leaf nodes
partition_decision: [c_int; 2048]
Partition decisions
current_decision: c_int
Partition decision for the current block
terminate_partition_search: c_int
Terminate further partition search
partition_none_allowed: c_int
Allow partition none type
partition_rect_allowed: [c_int; 2]
Allow rectangular partitions
do_rectangular_split: c_int
Try rectangular split partition
do_square_split: c_int
Try square split partition
prune_rect_part: [c_int; 2]
Prune rectangular partition
horza_partition_allowed: c_int
Allow HORZ_A partition
horzb_partition_allowed: c_int
Allow HORZ_B partition
verta_partition_allowed: c_int
Allow VERT_A partition
vertb_partition_allowed: c_int
Allow VERT_B partition
partition_horz4_allowed: c_int
Allow HORZ4 partition
partition_vert4_allowed: c_int
Allow VERT4 partition
Trait Implementations§
source§impl Clone for aom_partition_decision
impl Clone for aom_partition_decision
source§fn clone(&self) -> aom_partition_decision
fn clone(&self) -> aom_partition_decision
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more