comparison mpegvideo.h @ 232:b640ec5948b0 libavcodec

- Now the ME is done for the entire picture when enconding, the DCT/Quantization is done after we have calculated all the MV of the picture. - This is the preamble for a better bit rate control.
author pulento
date Sun, 10 Feb 2002 01:56:50 +0000
parents 840cd25bf259
children 3f5b72726118
comparison
equal deleted inserted replaced
231:840cd25bf259 232:b640ec5948b0
86 /* motion compensation */ 86 /* motion compensation */
87 int unrestricted_mv; 87 int unrestricted_mv;
88 int h263_long_vectors; /* use horrible h263v1 long vector mode */ 88 int h263_long_vectors; /* use horrible h263v1 long vector mode */
89 89
90 int f_code; /* resolution */ 90 int f_code; /* resolution */
91 INT16 *mv_table[2]; /* MV table */
91 INT16 (*motion_val)[2]; /* used for MV prediction */ 92 INT16 (*motion_val)[2]; /* used for MV prediction */
92 int full_search; 93 int full_search;
93 int mv_dir; 94 int mv_dir;
94 #define MV_DIR_BACKWARD 1 95 #define MV_DIR_BACKWARD 1
95 #define MV_DIR_FORWARD 2 96 #define MV_DIR_FORWARD 2
113 114
114 /* macroblock layer */ 115 /* macroblock layer */
115 int mb_x, mb_y; 116 int mb_x, mb_y;
116 int mb_incr; 117 int mb_incr;
117 int mb_intra; 118 int mb_intra;
119 char *mb_type; /* Table for MB type */
120
118 /* matrix transmitted in the bitstream */ 121 /* matrix transmitted in the bitstream */
119 UINT16 intra_matrix[64]; 122 UINT16 intra_matrix[64];
120 UINT16 chroma_intra_matrix[64]; 123 UINT16 chroma_intra_matrix[64];
121 UINT16 non_intra_matrix[64]; 124 UINT16 non_intra_matrix[64];
122 UINT16 chroma_non_intra_matrix[64]; 125 UINT16 chroma_non_intra_matrix[64];