diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-04-23 00:34:59 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-04-23 00:34:59 +0000 |
commit | 2d61e7f5cd4f5add1aaab63fe54a17a416fe275a (patch) | |
tree | b3348bc8a5d92ef84e4433bad8d897716c0c31d9 /src/libmpeg2/mpeg2.h | |
parent | 6f114fb0e414ba8fab9627558d7b299436fece19 (diff) | |
download | xine-lib-2d61e7f5cd4f5add1aaab63fe54a17a416fe275a.tar.gz xine-lib-2d61e7f5cd4f5add1aaab63fe54a17a416fe275a.tar.bz2 |
further decoder plugin fixes (mpeg2)
CVS patchset: 16
CVS date: 2001/04/23 00:34:59
Diffstat (limited to 'src/libmpeg2/mpeg2.h')
-rw-r--r-- | src/libmpeg2/mpeg2.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libmpeg2/mpeg2.h b/src/libmpeg2/mpeg2.h index c83a61e7e..3b51fba22 100644 --- a/src/libmpeg2/mpeg2.h +++ b/src/libmpeg2/mpeg2.h @@ -30,8 +30,8 @@ typedef struct mpeg2dec_s { uint32_t shift; int is_display_initialized; int is_sequence_needed; - int drop_flag; - int drop_frame; + int frames_to_drop, drop_frame; + int skip_slices; int in_slice; /* the maximum chunk size is determined by vbv_buffer_size */ @@ -46,8 +46,6 @@ typedef struct mpeg2dec_s { uint32_t pts; - /* ONLY for 0.2.0 release - will not stay there later */ - int frame_rate_code; } mpeg2dec_t ; @@ -55,7 +53,7 @@ typedef struct mpeg2dec_s { /* initialize mpegdec with a opaque user pointer */ -void mpeg2_init (mpeg2dec_t * mpeg2dec, uint32_t mm_accel, +void mpeg2_init (mpeg2dec_t * mpeg2dec, vo_instance_t * output); /* destroy everything which was allocated, shutdown the output */ @@ -64,4 +62,6 @@ void mpeg2_close (mpeg2dec_t * mpeg2dec); int mpeg2_decode_data (mpeg2dec_t * mpeg2dec, uint8_t * data_start, uint8_t * data_end, uint32_t pts); +void decode_free_image_buffers (mpeg2dec_t * mpeg2dec) ; + void mpeg2_drop (mpeg2dec_t * mpeg2dec, int flag); |