summaryrefslogtreecommitdiff
path: root/src/libspudec/spu_decoder_api.h
diff options
context:
space:
mode:
authorEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-08-13 12:52:33 +0000
committerEduard Hasenleithner <ehasenle@users.sourceforge.net>2001-08-13 12:52:33 +0000
commitda711d47f121b937d2ec4a15a7e607af9f528ce5 (patch)
tree5857b0175ab090206ca629bd34a8be6d4f6a50fc /src/libspudec/spu_decoder_api.h
parent9c7fc92c6c391b037393721dbe8742ddd260b1d1 (diff)
downloadxine-lib-da711d47f121b937d2ec4a15a7e607af9f528ce5.tar.gz
xine-lib-da711d47f121b937d2ec4a15a7e607af9f528ce5.tar.bz2
major rewrite of the subpicture mechanism in order to support menus.
CVS patchset: 416 CVS date: 2001/08/13 12:52:33
Diffstat (limited to 'src/libspudec/spu_decoder_api.h')
-rw-r--r--src/libspudec/spu_decoder_api.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/libspudec/spu_decoder_api.h b/src/libspudec/spu_decoder_api.h
index e30a4cd11..a7d75511a 100644
--- a/src/libspudec/spu_decoder_api.h
+++ b/src/libspudec/spu_decoder_api.h
@@ -44,6 +44,8 @@ struct spu_decoder_s {
void (*decode_data) (spu_decoder_t *this, buf_element_t *buf);
+ void (*event) (spu_decoder_t *this, spu_event_t *event);
+
void (*close) (spu_decoder_t *this);
char* (*get_identifier) (void);
@@ -70,4 +72,20 @@ struct spudec_s {
};
+#define SPU_EVENT_BUTTON 0x100
+typedef struct spu_button_s spu_button_t;
+struct spu_button_s {
+ int show;
+ uint8_t color[4];
+ uint8_t trans[4];
+ int left, right;
+ int top, bottom;
+};
+
+#define SPU_EVENT_CLUT 0x101
+typedef struct spu_cltbl_s spu_cltbl_t;
+struct spu_cltbl_s {
+ uint32_t clut[16];
+};
+
#endif /* HAVE_SPUDEC_H */