comparison mpegvideo.h @ 266:252444e5259b libavcodec

optimization
author michaelni
date Fri, 15 Mar 2002 14:57:17 +0000
parents 4e9e728021d8
children 09ae29b27ed9
comparison
equal deleted inserted replaced
265:4e9e728021d8 266:252444e5259b
70 UINT8 *next_picture_base[3]; /* real start of the picture */ 70 UINT8 *next_picture_base[3]; /* real start of the picture */
71 UINT8 *aux_picture[3]; /* aux picture (for B frames only) */ 71 UINT8 *aux_picture[3]; /* aux picture (for B frames only) */
72 UINT8 *aux_picture_base[3]; /* real start of the picture */ 72 UINT8 *aux_picture_base[3]; /* real start of the picture */
73 UINT8 *current_picture[3]; /* buffer to store the decompressed current picture */ 73 UINT8 *current_picture[3]; /* buffer to store the decompressed current picture */
74 int last_dc[3]; /* last DC values for MPEG1 */ 74 int last_dc[3]; /* last DC values for MPEG1 */
75 INT16 *dc_val[3]; /* used for mpeg4 DC prediction */ 75 INT16 *dc_val[3]; /* used for mpeg4 DC prediction, all 3 arrays must be continuous */
76 int y_dc_scale, c_dc_scale; 76 int y_dc_scale, c_dc_scale;
77 UINT8 *coded_block; /* used for coded block pattern prediction */ 77 UINT8 *coded_block; /* used for coded block pattern prediction */
78 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction */ 78 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction, all 3 arrays must be continuous */
79 int ac_pred; 79 int ac_pred;
80 int mb_skiped; /* MUST BE SET only during DECODING */ 80 int mb_skiped; /* MUST BE SET only during DECODING */
81 UINT8 *mbskip_table; /* used to avoid copy if macroblock 81 UINT8 *mbskip_table; /* used to avoid copy if macroblock
82 skipped (for black regions for example) */ 82 skipped (for black regions for example) */
83 UINT8 *mbintra_table; /* used to kill a few memsets */ 83 UINT8 *mbintra_table; /* used to kill a few memsets */
121 int mb_x, mb_y; 121 int mb_x, mb_y;
122 int mb_incr; 122 int mb_incr;
123 int mb_intra; 123 int mb_intra;
124 INT16 *mb_var; /* Table for MB variances */ 124 INT16 *mb_var; /* Table for MB variances */
125 char *mb_type; /* Table for MB type */ 125 char *mb_type; /* Table for MB type */
126 126
127 int block_index[6];
128 int block_wrap[6];
129
127 /* matrix transmitted in the bitstream */ 130 /* matrix transmitted in the bitstream */
128 UINT16 intra_matrix[64]; 131 UINT16 intra_matrix[64];
129 UINT16 chroma_intra_matrix[64]; 132 UINT16 chroma_intra_matrix[64];
130 UINT16 non_intra_matrix[64]; 133 UINT16 non_intra_matrix[64];
131 UINT16 chroma_non_intra_matrix[64]; 134 UINT16 chroma_non_intra_matrix[64];