pub enum LookaheadMode {
FullRes,
Hybrid,
HalfRes,
}Expand description
Resolution the mb-tree lookahead motion search runs at (speed/quality lever). Measured on CIF (mb-tree BD-rate vs off / encode wall vs FullRes): FullRes mand −0.19% tsrc −1.80% (1.0×) · Hybrid −0.19% / −1.47% (~1.7×) · HalfRes +0.12% / −1.28% (~4×).
Variants§
FullRes
Search AND score intra/inter costs at full resolution. Best quality, slowest lookahead. The reference against which the others are measured.
Hybrid
Search the MV on 2×-downsampled planes (cheap), then REFINE + score the final intra/inter cost at FULL resolution — recovers full-res quality (the half-res loss was cost accuracy on blurred data, not the MV) at ~1.7× the speed. The no-regression speed option.
HalfRes
Default — search AND score at half resolution. Fastest lookahead (~4×), a small BD-rate cost on fine-detail content (downsampling blurs the cost estimates).
Trait Implementations§
Source§impl Clone for LookaheadMode
impl Clone for LookaheadMode
Source§fn clone(&self) -> LookaheadMode
fn clone(&self) -> LookaheadMode
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more