summaryrefslogtreecommitdiff
path: root/src/libffmpeg/libavcodec/mpegvideo.h
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2003-05-09 00:25:49 +0000
committerMike Melanson <mike@multimedia.cx>2003-05-09 00:25:49 +0000
commit1cc910726e54d912f7aaa8e9b8bf2cbfb4c16fff (patch)
treee4a1118306b795a660107d1ffb625734a62ed37b /src/libffmpeg/libavcodec/mpegvideo.h
parent4b55f2a805638a3d817a6df37c5540243887274a (diff)
downloadxine-lib-1cc910726e54d912f7aaa8e9b8bf2cbfb4c16fff.tar.gz
xine-lib-1cc910726e54d912f7aaa8e9b8bf2cbfb4c16fff.tar.bz2
routine ffmpeg tree sync; also, remove motion_est.c and ratecontrol.c
from the Makefile CVS patchset: 4803 CVS date: 2003/05/09 00:25:49
Diffstat (limited to 'src/libffmpeg/libavcodec/mpegvideo.h')
-rw-r--r--src/libffmpeg/libavcodec/mpegvideo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libffmpeg/libavcodec/mpegvideo.h b/src/libffmpeg/libavcodec/mpegvideo.h
index dc15a51f8..2cbc0ef19 100644
--- a/src/libffmpeg/libavcodec/mpegvideo.h
+++ b/src/libffmpeg/libavcodec/mpegvideo.h
@@ -205,8 +205,10 @@ typedef struct ParseContext{
int index;
int last_index;
int buffer_size;
- int state;
+ uint32_t state; ///< contains the last few bytes in MSB order
int frame_start_found;
+ int overread; ///< the number of bytes which where irreversibly read from the next frame
+ int overread_index; ///< the index into ParseContext.buffer of the overreaded bytes
} ParseContext;
struct MpegEncContext;
@@ -709,6 +711,7 @@ void ff_draw_horiz_band(MpegEncContext *s, int y, int h);
void ff_emulated_edge_mc(MpegEncContext *s, uint8_t *src, int linesize, int block_w, int block_h,
int src_x, int src_y, int w, int h);
char ff_get_pict_type_char(int pict_type);
+#define END_NOT_FOUND -100
int ff_combine_frame( MpegEncContext *s, int next, uint8_t **buf, int *buf_size);
void ff_print_debug_info(MpegEncContext *s, Picture *pict);