summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg2.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg2.h')
-rw-r--r--apps/plugins/mpegplayer/mpeg2.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/mpegplayer/mpeg2.h b/apps/plugins/mpegplayer/mpeg2.h
index 2a63f399f9..bd14ead96e 100644
--- a/apps/plugins/mpegplayer/mpeg2.h
+++ b/apps/plugins/mpegplayer/mpeg2.h
@@ -130,6 +130,7 @@ typedef struct mpeg2_decoder_s mpeg2_decoder_t;
130 130
131typedef enum 131typedef enum
132{ 132{
133 STATE_INTERNAL_NORETURN = -1,
133 STATE_BUFFER = 0, 134 STATE_BUFFER = 0,
134 STATE_SEQUENCE = 1, 135 STATE_SEQUENCE = 1,
135 STATE_SEQUENCE_REPEATED = 2, 136 STATE_SEQUENCE_REPEATED = 2,
@@ -199,7 +200,14 @@ typedef enum
199 MPEG2_ALLOC_CHUNK = 1, 200 MPEG2_ALLOC_CHUNK = 1,
200 MPEG2_ALLOC_YUV = 2, 201 MPEG2_ALLOC_YUV = 2,
201 MPEG2_ALLOC_CONVERT_ID = 3, 202 MPEG2_ALLOC_CONVERT_ID = 3,
202 MPEG2_ALLOC_CONVERTED = 4 203 MPEG2_ALLOC_CONVERTED = 4,
204 MPEG_ALLOC_CODEC_MALLOC,
205 MPEG_ALLOC_CODEC_CALLOC,
206 MPEG_ALLOC_MPEG2_BUFFER,
207 MPEG_ALLOC_AUDIOBUF,
208 MPEG_ALLOC_PCMOUT,
209 MPEG_ALLOC_DISKBUF,
210 __MPEG_ALLOC_FIRST = -256,
203} mpeg2_alloc_t; 211} mpeg2_alloc_t;
204 212
205void * mpeg2_malloc (unsigned size, mpeg2_alloc_t reason); 213void * mpeg2_malloc (unsigned size, mpeg2_alloc_t reason);