MotionEstContext Struct Reference

#include <mpegvideo.h>

List of all members.


Detailed Description

Motion estimation context.

Definition at line 163 of file mpegvideo.h.


Public Attributes

AVCodecContextavctx
int skip
 set if ME is skipped for the current MB
int co_located_mv [4][2]
 mv from last P-frame for direct mode ME
int direct_basis_mv [4][2]
uint8_t * scratchpad
 data area for the ME algo, so that the ME does not need to malloc/free
uint8_t * best_mb
uint8_t * temp_mb [2]
uint8_t * temp
int best_bits
uint32_tmap
 map to avoid duplicate evaluations
uint32_tscore_map
 map to store the scores
int map_generation
int pre_penalty_factor
int penalty_factor
int sub_penalty_factor
int mb_penalty_factor
int flags
int sub_flags
int mb_flags
int pre_pass
 = 1 for the pre pass
int dia_size
int xmin
int xmax
int ymin
int ymax
int pred_x
int pred_y
uint8_t * src [4][4]
uint8_t * ref [4][4]
int stride
int uvstride
int mc_mb_var_sum_temp
int mb_var_sum_temp
int scene_change_score
op_pixels_func(* hpel_put )[4]
op_pixels_func(* hpel_avg )[4]
qpel_mc_func(* qpel_put )[16]
qpel_mc_func(* qpel_avg )[16]
uint8_t(* mv_penalty )[MAX_MV *2+1]
 amount of bits needed to encode a MV
uint8_t * current_mv_penalty
int(* sub_motion_search )(struct MpegEncContext *s, int *mx_ptr, int *my_ptr, int dmin, int src_index, int ref_index, int size, int h)

Member Data Documentation

mv from last P-frame for direct mode ME

Definition at line 166 of file mpegvideo.h.

Referenced by cmp(), and direct_search().

Definition at line 167 of file mpegvideo.h.

Referenced by cmp(), and direct_search().

Definition at line 169 of file mpegvideo.h.

Definition at line 170 of file mpegvideo.h.

Definition at line 171 of file mpegvideo.h.

Referenced by cmp(), and ff_init_me().

Definition at line 172 of file mpegvideo.h.

map to store the scores

Definition at line 174 of file mpegvideo.h.

Referenced by common_end(), encode_init(), free_duplicate_context(), init_duplicate_context(), svq1_encode_end(), and svq1_encode_init().

Definition at line 176 of file mpegvideo.h.

Referenced by epzs_motion_search_internal(), and ff_pre_estimate_p_frame_motion().

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.

Definition at line 177 of file mpegvideo.h.

Referenced by cmp(), encode_q_branch(), epzs_motion_search2(), epzs_motion_search4(), epzs_motion_search_internal(), ff_estimate_motion_b(), ff_estimate_p_frame_motion(), and hpel_motion_search().

Definition at line 186 of file mpegvideo.h.

Referenced by ff_get_mb_score(), and ff_init_me().

= 1 for the pre pass

Definition at line 187 of file mpegvideo.h.

Referenced by epzs_motion_search_internal(), and pre_estimate_motion_thread().

uint8_t* MotionEstContext::src[4][4]

uint8_t* MotionEstContext::ref[4][4]

Definition at line 204 of file mpegvideo.h.

Referenced by cmp(), and ff_init_me().

Definition at line 205 of file mpegvideo.h.

Referenced by cmp(), and ff_init_me().

uint8_t(* MotionEstContext::mv_penalty)[MAX_MV *2+1]

int(* MotionEstContext::sub_motion_search)(struct MpegEncContext *s, int *mx_ptr, int *my_ptr, int dmin, int src_index, int ref_index, int size, int h)


The documentation for this struct was generated from the following file:

Generated on Sat Dec 18 05:16:06 2010 for MythTV by  doxygen 1.5.5