summaryrefslogtreecommitdiffstats
path: root/vobsub.h
diff options
context:
space:
mode:
Diffstat (limited to 'vobsub.h')
-rw-r--r--vobsub.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/vobsub.h b/vobsub.h
index ebf6bd737e..ddcfa55741 100644
--- a/vobsub.h
+++ b/vobsub.h
@@ -15,6 +15,9 @@ extern int vobsub_get_id_by_index(void *vobhandle, unsigned int index);
/// Get index in the valid streams by vobsub id.
extern int vobsub_get_index_by_id(void *vobhandle, int id);
+/// Convert palette value in idx file to yuv.
+unsigned int vobsub_palette_to_yuv(unsigned int pal);
+
extern void *vobsub_out_open(const char *basename, const unsigned int *palette, unsigned int orig_width, unsigned int orig_height, const char *id, unsigned int index);
extern void vobsub_out_output(void *me, const unsigned char *packet, int len, double pts);
extern void vobsub_out_close(void *me);