From d7425f59d5fc01bccde90cccd42ba592961b2d03 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 8 Nov 2002 18:35:39 +0000 Subject: 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 Originally committed as revision 1175 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegvideo.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libavcodec/mpegvideo.h') diff --git a/libavcodec/mpegvideo.h b/libavcodec/mpegvideo.h index 631db8973a..a61ae62a40 100644 --- a/libavcodec/mpegvideo.h +++ b/libavcodec/mpegvideo.h @@ -109,6 +109,15 @@ typedef struct ScanTable{ #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 @@ typedef struct MpegEncContext { 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; -- cgit v1.2.3