summaryrefslogtreecommitdiffstats
path: root/postproc/rgb2rgb.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-04 19:36:24 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-04 19:36:24 +0000
commit199e88d20ca58477842421c4961a8db3efe8b026 (patch)
tree06e4dd78c3932379c64a1f8cf4ea29b363df7bf2 /postproc/rgb2rgb.h
parent78ab9a9f1dc36d4bffbb88e3fadac1700f3865fa (diff)
downloadmpv-199e88d20ca58477842421c4961a8db3efe8b026.tar.bz2
mpv-199e88d20ca58477842421c4961a8db3efe8b026.tar.xz
bgr32to16, bgr32to15 (needed for palette stuff)
paletteto 32,16,15bgr all in c, will be optimized as soon as they are tested (assuming opt. is possible) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2695 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/rgb2rgb.h')
-rw-r--r--postproc/rgb2rgb.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h
index 259bfa6b75..db6aff5f80 100644
--- a/postproc/rgb2rgb.h
+++ b/postproc/rgb2rgb.h
@@ -1,4 +1,4 @@
-/*
+/*
*
* rgb2rgb.h, Software RGB to RGB convertor
*
@@ -11,4 +11,11 @@ extern void rgb24to32(const uint8_t *src,uint8_t *dst,uint32_t src_size);
extern void rgb32to24(const uint8_t *src,uint8_t *dst,uint32_t src_size);
extern void rgb15to16(const uint8_t *src,uint8_t *dst,uint32_t src_size);
+void rgb32to16(uint8_t *src, uint8_t *dst, int src_size);
+void rgb32to15(uint8_t *src, uint8_t *dst, int src_size);
+void palette8torgb32(uint8_t *src, uint8_t *dst, int src_size, uint8_t *palette);
+void palette8torgb16(uint8_t *src, uint8_t *dst, int src_size, uint8_t *palette);
+void palette8torgb15(uint8_t *src, uint8_t *dst, int src_size, uint8_t *palette);
+
+
#endif