[−][src]Struct ffmpeg_dev::sys::MotionEstContext
Motion estimation context.
Fields
avctx: *mut AVCodecContextskip: c_int< set if ME is skipped for the current MB
co_located_mv: [[c_int; 2]; 4]< mv from last P-frame for direct mode ME
direct_basis_mv: [[c_int; 2]; 4]scratchpad: *mut u8< data area for the ME algo, so that the ME does not need to malloc/free.
best_mb: *mut u8temp_mb: [*mut u8; 2]temp: *mut u8best_bits: c_intmap: *mut u32< map to avoid duplicate evaluations
score_map: *mut u32< map to store the scores
map_generation: c_uintpre_penalty_factor: c_intpenalty_factor: c_int< an estimate of the bits required to code a given mv value, e.g. (1,0) takes more bits than (0,0). We have to estimate whether any reduction in residual is worth the extra bits.
sub_penalty_factor: c_intmb_penalty_factor: c_intflags: c_intsub_flags: c_intmb_flags: c_intpre_pass: c_int< = 1 for the pre pass
dia_size: c_intxmin: c_intxmax: c_intymin: c_intymax: c_intpred_x: c_intpred_y: c_intsrc: [[*mut u8; 4]; 4]ref_: [[*mut u8; 4]; 4]stride: c_intuvstride: c_intmc_mb_var_sum_temp: i64mb_var_sum_temp: i64scene_change_score: c_inthpel_put: *mut [Option<unsafe extern "C" fn()>; 4]hpel_avg: *mut [Option<unsafe extern "C" fn()>; 4]qpel_put: *mut [Option<unsafe extern "C" fn()>; 16]qpel_avg: *mut [Option<unsafe extern "C" fn()>; 16]mv_penalty: *mut [c_uchar; 16385]< bit amount needed to encode a MV
current_mv_penalty: *mut u8sub_motion_search: Option<unsafe extern "C" fn(s: *mut MpegEncContext, mx_ptr: *mut c_int, my_ptr: *mut c_int, dmin: c_int, src_index: c_int, ref_index: c_int, size: c_int, h: c_int) -> c_int>Trait Implementations
impl Clone for MotionEstContext[src]
fn clone(&self) -> MotionEstContext[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MotionEstContext[src]
impl Debug for MotionEstContext[src]
Auto Trait Implementations
impl !Send for MotionEstContext
impl !Sync for MotionEstContext
impl Unpin for MotionEstContext
impl UnwindSafe for MotionEstContext
impl RefUnwindSafe for MotionEstContext
Blanket Implementations
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,