#[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 partitioin

§horzb_partition_allowed: c_int

Allow HORZ_B partitioin

§verta_partition_allowed: c_int

Allow VERT_A partitioin

§vertb_partition_allowed: c_int

Allow VERT_B partitioin

§partition_horz4_allowed: c_int

Allow HORZ4 partition

§partition_vert4_allowed: c_int

Allow VERT4 partition

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
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.