aboutsummaryrefslogtreecommitdiffstats
path: root/postproc/rgb2rgb.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2001-11-04 19:36:24 +0000
committerMichael Niedermayer <michaelni@gmx.at>2001-11-04 19:36:24 +0000
commitfcfbc150aa65b3a575186cb2e721dd6008d74c12 (patch)
treec00e218c99ea7007af32aa25f33f2c242d3fa7b9 /postproc/rgb2rgb.h
parent7d7f78b5a4f59cd17d90f75a5e2a99c0b4e864e7 (diff)
downloadffmpeg-fcfbc150aa65b3a575186cb2e721dd6008d74c12.tar.gz
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) Originally committed as revision 2695 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
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