Mercurial > libavcodec.hg
diff mpegvideo.h @ 842:e460775adb38 libavcodec
cleanup (breaks compatibility, requested by fabrice)
remove CODEC_FLAG_NOT_TRUNCATED & add CODEC_FLAG_TRUNCATED
add CODEC_CAP_TRUNCATED
add alpha plane to AVPicture
remove CODEC_ID_MSMPEG4
remove various unused stuff
support "truncated" mpeg4 streams
author | michaelni |
---|---|
date | Fri, 08 Nov 2002 18:35:39 +0000 |
parents | ace3ccd18dd2 |
children | eacc2dd8fd9d |
line wrap: on
line diff
--- a/mpegvideo.h Wed Nov 06 11:59:17 2002 +0000 +++ b/mpegvideo.h Fri Nov 08 18:35:39 2002 +0000 @@ -109,6 +109,15 @@ #endif } ScanTable; +typedef struct ParseContext{ + UINT8 *buffer; + int index; + int last_index; + int buffer_size; + int state; + int frame_start_found; +} ParseContext; + typedef struct MpegEncContext { struct AVCodecContext *avctx; /* the following parameters must be initialized before encoding */ @@ -351,6 +360,8 @@ int mb_num_left; /* number of MBs left in this video packet (for partitioned Slices only)*/ int next_p_frame_damaged; /* set if the next p frame is damaged, to avoid showing trashed b frames */ int error_resilience; + + ParseContext parse_context; /* H.263 specific */ int gob_number;