summaryrefslogtreecommitdiffstats
path: root/vobsub.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-08 12:15:03 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-08 12:15:03 +0000
commit151e8cceec6bc6803fb29685b4f95b2ed0e0ca8c (patch)
tree7014fb277df4900c30cf083e1b5cdae6c0d50509 /vobsub.h
parent460de55771934eedfb870ef734bd3cdea6c4095f (diff)
downloadmpv-151e8cceec6bc6803fb29685b4f95b2ed0e0ca8c.tar.bz2
mpv-151e8cceec6bc6803fb29685b4f95b2ed0e0ca8c.tar.xz
Move vobsub palette->yuv convert code into a common function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25320 b3059339-0415-0410-9bf9-f77b7e298cf2
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);