diff options
author | Nick Kurshev <nickols_k@mail.ru> | 2001-11-05 17:35:28 +0000 |
---|---|---|
committer | Nick Kurshev <nickols_k@mail.ru> | 2001-11-05 17:35:28 +0000 |
commit | 996e1a7cff7f02f822b992bb83ff87f5c87a74d4 (patch) | |
tree | 45e2027f88f81bd138fbb8e6a8aafe76efd9ee15 /postproc/rgb2rgb.h | |
parent | 12e3287f034ab35e8b2bd12f6f90738f8b744252 (diff) | |
download | ffmpeg-996e1a7cff7f02f822b992bb83ff87f5c87a74d4.tar.gz |
Well - old algorithms and new stuff rgb24to16(15)
Originally committed as revision 2719 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/rgb2rgb.h')
-rw-r--r-- | postproc/rgb2rgb.h | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h index b179836b12..ae0c2594f5 100644 --- a/postproc/rgb2rgb.h +++ b/postproc/rgb2rgb.h @@ -7,19 +7,22 @@ #ifndef RGB2RGB_INCLUDED #define RGB2RGB_INCLUDED -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); -extern void rgb32to16(const uint8_t *src,uint8_t *dst,uint32_t num_pixels); -extern void rgb32to15(const uint8_t *src,uint8_t *dst,uint32_t num_pixels); +extern void rgb24to32(const uint8_t *src,uint8_t *dst,unsigned src_size); +extern void rgb32to24(const uint8_t *src,uint8_t *dst,unsigned src_size); +extern void rgb15to16(const uint8_t *src,uint8_t *dst,unsigned src_size); +extern void rgb32to16(const uint8_t *src,uint8_t *dst,unsigned num_pixels); +extern void rgb32to15(const uint8_t *src,uint8_t *dst,unsigned num_pixels); +extern void rgb24to16(const uint8_t *src,uint8_t *dst,unsigned num_pixels); +extern void rgb24to15(const uint8_t *src,uint8_t *dst,unsigned num_pixels); -extern void palette8torgb32(const uint8_t *src, uint8_t *dst, uint32_t num_pixels, const uint8_t *palette); -extern void palette8torgb16(const uint8_t *src, uint8_t *dst, uint32_t num_pixels, const uint8_t *palette); -extern void palette8torgb15(const uint8_t *src, uint8_t *dst, uint32_t num_pixels, const uint8_t *palette); -extern void palette8torgb24(const uint8_t *src, uint8_t *dst, uint32_t num_pixels, const uint8_t *palette); -extern void yv12toyuy2(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, uint32_t num_pixels); -extern void yuy2toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, uint32_t num_pixels); +extern void palette8torgb32(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette); +extern void palette8torgb16(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette); +extern void palette8torgb15(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette); +extern void palette8torgb24(const uint8_t *src, uint8_t *dst, unsigned num_pixels, const uint8_t *palette); + +extern void yv12toyuy2(const uint8_t *ysrc, const uint8_t *usrc, const uint8_t *vsrc, uint8_t *dst, unsigned num_pixels); +extern void yuy2toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t *vdst, unsigned num_pixels); #endif |