[−][src]Struct ffmpeg_dev::sys::MotionEstContext
Motion estimation context.
Fields
avctx: *mut AVCodecContext
skip: 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 u8
temp_mb: [*mut u8; 2]
temp: *mut u8
best_bits: c_int
map: *mut u32
< map to avoid duplicate evaluations
score_map: *mut u32
< map to store the scores
map_generation: c_uint
pre_penalty_factor: c_int
penalty_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_int
mb_penalty_factor: c_int
flags: c_int
sub_flags: c_int
mb_flags: c_int
pre_pass: c_int
< = 1 for the pre pass
dia_size: c_int
xmin: c_int
xmax: c_int
ymin: c_int
ymax: c_int
pred_x: c_int
pred_y: c_int
src: [[*mut u8; 4]; 4]
ref_: [[*mut u8; 4]; 4]
stride: c_int
uvstride: c_int
mc_mb_var_sum_temp: i64
mb_var_sum_temp: i64
scene_change_score: c_int
hpel_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 u8
sub_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,