diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-09-28 18:49:38 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2004-09-28 18:49:38 +0000 |
commit | fe2a390351727cb5ae264588293f8bd7d6d5198e (patch) | |
tree | 20c91e59d361585dd0d8d45440a96c807ea7dddb /src/libmpeg2/mpeg2.h | |
parent | f42eccd3e7c5a717f668f0b832ace09f161dbfbc (diff) | |
download | xine-lib-fe2a390351727cb5ae264588293f8bd7d6d5198e.tar.gz xine-lib-fe2a390351727cb5ae264588293f8bd7d6d5198e.tar.bz2 |
xxmc patch by Thomas Hellstrom (with some changes)
there is still some work to do, please report any breakages.
note: new xxmc driver tested with both nvidia and via libraries.
CVS patchset: 7007
CVS date: 2004/09/28 18:49:38
Diffstat (limited to 'src/libmpeg2/mpeg2.h')
-rw-r--r-- | src/libmpeg2/mpeg2.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libmpeg2/mpeg2.h b/src/libmpeg2/mpeg2.h index b6500d1ef..b2ecf669e 100644 --- a/src/libmpeg2/mpeg2.h +++ b/src/libmpeg2/mpeg2.h @@ -21,6 +21,9 @@ /* Structure for the mpeg2dec decoder */ +#ifndef MPEG2_H +#define MPEG2_H + typedef struct mpeg2dec_s { xine_video_port_t * output; uint32_t frame_format; @@ -45,6 +48,7 @@ typedef struct mpeg2dec_s { uint8_t * chunk_ptr; /* last start code ? */ uint8_t code; + uint32_t chunk_size; int64_t pts; uint32_t rff_pattern; @@ -55,7 +59,8 @@ typedef struct mpeg2dec_s { /* a spu decoder for possible closed captions */ spu_decoder_t *cc_dec; - + int xxmc_last_slice_code; + unsigned xxmc_mb_pic_height; } mpeg2dec_t ; @@ -81,3 +86,5 @@ void mpeg2_discontinuity (mpeg2dec_t * mpeg2dec); * currently */ /* void process_userdata(mpeg2dec_t *mpeg2dec, uint8_t *buffer); */ + +#endif |