comparison mpeg12.c @ 345:e05b357a398a libavcodec

export mbskip_table for direct rendering add hurry_up support
author michaelni
date Sat, 27 Apr 2002 13:12:57 +0000
parents 9f6071a87e17
children abbed9f28d75
comparison
equal deleted inserted replaced
344:9f6071a87e17 345:e05b357a398a
1185 s->start_code = -1; 1185 s->start_code = -1;
1186 s->buf_ptr = s->buffer; 1186 s->buf_ptr = s->buffer;
1187 s->mpeg_enc_ctx.picture_number = 0; 1187 s->mpeg_enc_ctx.picture_number = 0;
1188 s->repeat_field = 0; 1188 s->repeat_field = 0;
1189 s->mpeg_enc_ctx.codec_id= avctx->codec->id; 1189 s->mpeg_enc_ctx.codec_id= avctx->codec->id;
1190 avctx->mbskip_table= s->mpeg_enc_ctx.mbskip_table;
1190 return 0; 1191 return 0;
1191 } 1192 }
1192 1193
1193 /* return the 8 bit start code value and update the search 1194 /* return the 8 bit start code value and update the search
1194 state. Return -1 if no start code found */ 1195 state. Return -1 if no start code found */