comparison mpegvideo.h @ 7:1d3ac9654178 libavcodec

added skip macroblock optimization (big perf win on black regions for example)
author glantau
date Tue, 24 Jul 2001 20:43:41 +0000
parents 986e461dc072
children 174ef88f619a
comparison
equal deleted inserted replaced
6:ec4642daa6fe 7:1d3ac9654178
42 int h263_rv10; /* use RV10 variation for H263 */ 42 int h263_rv10; /* use RV10 variation for H263 */
43 int h263_pred; /* use OpenDIVX (aka mpeg4) ac/dc predictions */ 43 int h263_pred; /* use OpenDIVX (aka mpeg4) ac/dc predictions */
44 int h263_msmpeg4; /* generate MSMPEG4 compatible stream */ 44 int h263_msmpeg4; /* generate MSMPEG4 compatible stream */
45 int h263_intel; /* use I263 intel h263 header */ 45 int h263_intel; /* use I263 intel h263 header */
46 int fixed_qscale; /* fixed qscale if non zero */ 46 int fixed_qscale; /* fixed qscale if non zero */
47 int encoding; /* true if we are encoding (vs decoding) */
47 /* the following fields are managed internally by the encoder */ 48 /* the following fields are managed internally by the encoder */
48 49
49 /* bit output */ 50 /* bit output */
50 PutBitContext pb; 51 PutBitContext pb;
51 52
68 INT16 *dc_val[3]; /* used for mpeg4 DC prediction */ 69 INT16 *dc_val[3]; /* used for mpeg4 DC prediction */
69 int y_dc_scale, c_dc_scale; 70 int y_dc_scale, c_dc_scale;
70 UINT8 *coded_block; /* used for coded block pattern prediction */ 71 UINT8 *coded_block; /* used for coded block pattern prediction */
71 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction */ 72 INT16 (*ac_val[3])[16]; /* used for for mpeg4 AC prediction */
72 int ac_pred; 73 int ac_pred;
74 int mb_skiped; /* MUST BE SET only during DECODING */
75 UINT8 *mbskip_table; /* used to avoid copy if macroblock
76 skipped (for black regions for example) */
73 77
74 int qscale; 78 int qscale;
75 int pict_type; 79 int pict_type;
76 int frame_rate_index; 80 int frame_rate_index;
77 /* motion compensation */ 81 /* motion compensation */