Revision 6f91bcd1 libavcodec/mpegvideo.h

View differences:

libavcodec/mpegvideo.h
84 84

  
85 85
    int qscale;
86 86
    int pict_type;
87
    int last_non_b_pict_type; /* used for mpeg4 gmc b-frames */
87 88
    int frame_rate_index;
88 89
    /* motion compensation */
89 90
    int unrestricted_mv;
90 91
    int h263_long_vectors; /* use horrible h263v1 long vector mode */
91 92

  
92 93
    int f_code; /* resolution */
93
    int b_code; /* resolution for B Frames*/
94
    INT16 *mv_table[2];    /* MV table */
95
    INT16 (*motion_val)[2]; /* used for MV prediction */
94
    int b_code; /* backward resolution for B Frames (mpeg4) */
95
    INT16 *mv_table[2];    /* MV table (1MV per MB)*/
96
    INT16 (*motion_val)[2]; /* used for MV prediction (4MV per MB)*/
96 97
    int full_search;
97 98
    int mv_dir;
98 99
#define MV_DIR_BACKWARD  1
99 100
#define MV_DIR_FORWARD   2
101
#define MV_DIRECT        4 // bidirectional mode where the difference equals the MV of the last P/S/I-Frame (mpeg4)
100 102
    int mv_type;
101 103
#define MV_TYPE_16X16       0   /* 1 vector for the whole mb */
102 104
#define MV_TYPE_8X8         1   /* 4 vectors (h263) */
......
156 158
    int h263_aic_dir; /* AIC direction: 0 = left, 1 = top */
157 159
    
158 160
    /* mpeg4 specific */
161
    int time_increment_resolution;
159 162
    int time_increment_bits;
163
    int time_increment;
164
    int time_base;
165
    int time;
166
    int last_non_b_time[2];
160 167
    int shape;
161 168
    int vol_sprite_usage;
162 169
    int sprite_width;

Also available in: Unified diff