comparison mpegvideo.h @ 1021:2d7c9f5738de libavcodec

trying to fix mb skip bug in mpeg1/2 if slices are not used
author michaelni
date Mon, 20 Jan 2003 20:37:24 +0000
parents 5d4c95f323d0
children d6ba0641cc36
comparison
equal deleted inserted replaced
1020:617e3531d3fb 1021:2d7c9f5738de
227 UINT8 *y_dc_scale_table; /* qscale -> y_dc_scale table */ 227 UINT8 *y_dc_scale_table; /* qscale -> y_dc_scale table */
228 UINT8 *c_dc_scale_table; /* qscale -> c_dc_scale table */ 228 UINT8 *c_dc_scale_table; /* qscale -> c_dc_scale table */
229 UINT8 *coded_block; /* used for coded block pattern prediction (msmpeg4v3, wmv1)*/ 229 UINT8 *coded_block; /* used for coded block pattern prediction (msmpeg4v3, wmv1)*/
230 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction, all 3 arrays must be continuous */ 230 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction, all 3 arrays must be continuous */
231 int ac_pred; 231 int ac_pred;
232 uint8_t *prev_pict_types; /* previous picture types in bitstream order, used for mb skip */
233 #define PREV_PICT_TYPES_BUFFER_SIZE 256
232 int mb_skiped; /* MUST BE SET only during DECODING */ 234 int mb_skiped; /* MUST BE SET only during DECODING */
233 UINT8 *mbskip_table; /* used to avoid copy if macroblock skipped (for black regions for example) 235 UINT8 *mbskip_table; /* used to avoid copy if macroblock skipped (for black regions for example)
234 and used for b-frame encoding & decoding (contains skip table of next P Frame) */ 236 and used for b-frame encoding & decoding (contains skip table of next P Frame) */
235 UINT8 *mbintra_table; /* used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding */ 237 UINT8 *mbintra_table; /* used to avoid setting {ac, dc, cbp}-pred stuff to zero on inter MB decoding */
236 UINT8 *cbp_table; /* used to store cbp, ac_pred for partitioned decoding */ 238 UINT8 *cbp_table; /* used to store cbp, ac_pred for partitioned decoding */