comparison mpegvideo.h @ 952:f348d302a51e libavcodec

pre motion estimation cleanup/bugfix
author michaelni
date Thu, 02 Jan 2003 12:48:09 +0000
parents ad264a7d4f94
children 9eb066d6e0db
comparison
equal deleted inserted replaced
951:ad264a7d4f94 952:f348d302a51e
139 uint32_t *map; /* map to avoid duplicate evaluations */ 139 uint32_t *map; /* map to avoid duplicate evaluations */
140 uint32_t *score_map; /* map to store the scores */ 140 uint32_t *score_map; /* map to store the scores */
141 int map_generation; 141 int map_generation;
142 int penalty_factor; 142 int penalty_factor;
143 int sub_penalty_factor; 143 int sub_penalty_factor;
144 int pre_pass; /* = 1 for the pre pass */
144 UINT16 (*mv_penalty)[MAX_MV*2+1]; /* amount of bits needed to encode a MV */ 145 UINT16 (*mv_penalty)[MAX_MV*2+1]; /* amount of bits needed to encode a MV */
145 int (*sub_motion_search)(struct MpegEncContext * s, 146 int (*sub_motion_search)(struct MpegEncContext * s,
146 int *mx_ptr, int *my_ptr, int dmin, 147 int *mx_ptr, int *my_ptr, int dmin,
147 int xmin, int ymin, int xmax, int ymax, 148 int xmin, int ymin, int xmax, int ymax,
148 int pred_x, int pred_y, Picture *ref_picture, 149 int pred_x, int pred_y, Picture *ref_picture,