pub struct PartitionSpeedSettings {
pub encode_bottomup: bool,
pub non_square_partition_max_threshold: BlockSize,
pub partition_range: PartitionRange,
}Expand description
Speed settings related to partition decision
Fields§
§encode_bottomup: boolEnables bottom-up encoding, rather than top-down.
Enabled is slower.
non_square_partition_max_threshold: BlockSizeAllow non-square partition type outside of frame borders on any blocks at or below this size.
partition_range: PartitionRangeRange of partition sizes that can be used. Larger ranges are slower.
Must be based on square block sizes, so e.g. 8×4 isn’t allowed here.
Trait Implementations§
Source§impl Clone for PartitionSpeedSettings
impl Clone for PartitionSpeedSettings
Source§fn clone(&self) -> PartitionSpeedSettings
fn clone(&self) -> PartitionSpeedSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PartitionSpeedSettings
impl Debug for PartitionSpeedSettings
impl Copy for PartitionSpeedSettings
Auto Trait Implementations§
impl Freeze for PartitionSpeedSettings
impl RefUnwindSafe for PartitionSpeedSettings
impl Send for PartitionSpeedSettings
impl Sync for PartitionSpeedSettings
impl Unpin for PartitionSpeedSettings
impl UnwindSafe for PartitionSpeedSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more