From 826f429ae9990632a04b06bd375afa54ffe54b76 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 5 Jan 2003 15:57:10 +0000 Subject: qpel in mmx2/3dnow qpel refinement quality parameter Originally committed as revision 1393 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libavcodec/mpegvideo.h') diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 1bd9bf6628..6d794d8626 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -139,9 +139,11 @@ typedef struct MotionEstContext{ uint32_t *map; /* map to avoid duplicate evaluations */ uint32_t *score_map; /* map to store the scores */ int map_generation; + int pre_penalty_factor; int penalty_factor; int sub_penalty_factor; int pre_pass; /* = 1 for the pre pass */ + int dia_size; UINT16 (*mv_penalty)[MAX_MV*2+1]; /* amount of bits needed to encode a MV */ int (*sub_motion_search)(struct MpegEncContext * s, int *mx_ptr, int *my_ptr, int dmin, @@ -153,6 +155,11 @@ typedef struct MotionEstContext{ int P[10][2], int pred_x, int pred_y, int xmin, int ymin, int xmax, int ymax, Picture *ref_picture, int16_t (*last_mv)[2], int ref_mv_scale, uint16_t * const mv_penalty); + int (*pre_motion_search)(struct MpegEncContext * s, int block, + int *mx_ptr, int *my_ptr, + int P[10][2], int pred_x, int pred_y, + int xmin, int ymin, int xmax, int ymax, Picture *ref_picture, int16_t (*last_mv)[2], + int ref_mv_scale, uint16_t * const mv_penalty); }MotionEstContext; typedef struct MpegEncContext { -- cgit v1.2.3