comparison mpegvideo.h @ 954:13aec7e50c52 libavcodec

qpel in mmx2/3dnow qpel refinement quality parameter
author michaelni
date Sun, 05 Jan 2003 15:57:10 +0000
parents 9eb066d6e0db
children 45bd748e305f
comparison
equal deleted inserted replaced
953:9eb066d6e0db 954:13aec7e50c52
137 int direct_basis_mv[4][2]; 137 int direct_basis_mv[4][2];
138 uint8_t *scratchpad; /* data area for the me algo, so that the ME doesnt need to malloc/free */ 138 uint8_t *scratchpad; /* data area for the me algo, so that the ME doesnt need to malloc/free */
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 pre_penalty_factor;
142 int penalty_factor; 143 int penalty_factor;
143 int sub_penalty_factor; 144 int sub_penalty_factor;
144 int pre_pass; /* = 1 for the pre pass */ 145 int pre_pass; /* = 1 for the pre pass */
146 int dia_size;
145 UINT16 (*mv_penalty)[MAX_MV*2+1]; /* amount of bits needed to encode a MV */ 147 UINT16 (*mv_penalty)[MAX_MV*2+1]; /* amount of bits needed to encode a MV */
146 int (*sub_motion_search)(struct MpegEncContext * s, 148 int (*sub_motion_search)(struct MpegEncContext * s,
147 int *mx_ptr, int *my_ptr, int dmin, 149 int *mx_ptr, int *my_ptr, int dmin,
148 int xmin, int ymin, int xmax, int ymax, 150 int xmin, int ymin, int xmax, int ymax,
149 int pred_x, int pred_y, Picture *ref_picture, 151 int pred_x, int pred_y, Picture *ref_picture,
150 int n, int size, uint16_t * const mv_penalty); 152 int n, int size, uint16_t * const mv_penalty);
151 int (*motion_search[7])(struct MpegEncContext * s, int block, 153 int (*motion_search[7])(struct MpegEncContext * s, int block,
154 int *mx_ptr, int *my_ptr,
155 int P[10][2], int pred_x, int pred_y,
156 int xmin, int ymin, int xmax, int ymax, Picture *ref_picture, int16_t (*last_mv)[2],
157 int ref_mv_scale, uint16_t * const mv_penalty);
158 int (*pre_motion_search)(struct MpegEncContext * s, int block,
152 int *mx_ptr, int *my_ptr, 159 int *mx_ptr, int *my_ptr,
153 int P[10][2], int pred_x, int pred_y, 160 int P[10][2], int pred_x, int pred_y,
154 int xmin, int ymin, int xmax, int ymax, Picture *ref_picture, int16_t (*last_mv)[2], 161 int xmin, int ymin, int xmax, int ymax, Picture *ref_picture, int16_t (*last_mv)[2],
155 int ref_mv_scale, uint16_t * const mv_penalty); 162 int ref_mv_scale, uint16_t * const mv_penalty);
156 }MotionEstContext; 163 }MotionEstContext;