diff 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
line wrap: on
line diff
--- a/mpegvideo.h	Fri Jan 03 23:21:52 2003 +0000
+++ b/mpegvideo.h	Sun Jan 05 15:57:10 2003 +0000
@@ -139,9 +139,11 @@
     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 @@
                              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 {