pub struct MotionEstimationConfig {
pub codec: TargetCodec,
pub partition: BlockPartition,
pub search_radius: u32,
pub subpixel_refinement: bool,
pub metric: MotionMetric,
pub pyramid_levels: u32,
}Expand description
Configuration for a motion-estimation pass.
Fields§
§codec: TargetCodecTarget codec (affects block sizes and allowed partition modes).
partition: BlockPartitionBlock partitioning strategy.
search_radius: u32Search window half-size in pixels (e.g. 32 means ±32 px search).
subpixel_refinement: boolWhether to perform sub-pixel (half-pixel) refinement.
metric: MotionMetricCost metric used to rank candidate motion vectors.
pyramid_levels: u32Number of Gaussian pyramid levels for hierarchical search.
Trait Implementations§
Source§impl Clone for MotionEstimationConfig
impl Clone for MotionEstimationConfig
Source§fn clone(&self) -> MotionEstimationConfig
fn clone(&self) -> MotionEstimationConfig
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 MotionEstimationConfig
impl Debug for MotionEstimationConfig
Auto Trait Implementations§
impl Freeze for MotionEstimationConfig
impl RefUnwindSafe for MotionEstimationConfig
impl Send for MotionEstimationConfig
impl Sync for MotionEstimationConfig
impl Unpin for MotionEstimationConfig
impl UnsafeUnpin for MotionEstimationConfig
impl UnwindSafe for MotionEstimationConfig
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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