summaryrefslogtreecommitdiff
path: root/src/libmpeg2/mpeg2.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-10-06 21:52:42 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-10-06 21:52:42 +0000
commit2e29bd1fe0c87addc57755fb9812569e75cd4e39 (patch)
treeef23e232f9d63823f44bb6c4ffd604989cc222a0 /src/libmpeg2/mpeg2.h
parentc3a7991dd5e1b7a1013afd4e2c154fc870553c1c (diff)
downloadxine-lib-2e29bd1fe0c87addc57755fb9812569e75cd4e39.tar.gz
xine-lib-2e29bd1fe0c87addc57755fb9812569e75cd4e39.tar.bz2
- add XvMC support
- bump vo and post interface versions obs: video_out_xvmc.c needs some more work, see todo. CVS patchset: 5459 CVS date: 2003/10/06 21:52:42
Diffstat (limited to 'src/libmpeg2/mpeg2.h')
-rw-r--r--src/libmpeg2/mpeg2.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/libmpeg2/mpeg2.h b/src/libmpeg2/mpeg2.h
index 2fdbacdce..b6500d1ef 100644
--- a/src/libmpeg2/mpeg2.h
+++ b/src/libmpeg2/mpeg2.h
@@ -22,10 +22,14 @@
/* Structure for the mpeg2dec decoder */
typedef struct mpeg2dec_s {
+ xine_video_port_t * output;
+ uint32_t frame_format;
+
/* this is where we keep the state of the decoder */
struct picture_s * picture, *picture_base;
uint32_t shift;
+ int new_sequence;
int is_sequence_needed;
int is_wait_for_ip_frames;
int frames_to_drop, drop_frame;
@@ -56,7 +60,8 @@ typedef struct mpeg2dec_s {
/* initialize mpegdec with a opaque user pointer */
-void mpeg2_init (mpeg2dec_t * mpeg2dec);
+void mpeg2_init (mpeg2dec_t * mpeg2dec,
+ xine_video_port_t * output);
/* destroy everything which was allocated, shutdown the output */
void mpeg2_close (mpeg2dec_t * mpeg2dec);