Mercurial > mplayer.hg
view postproc/rgb2rgb.h @ 2694:2924350d92ed
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)
author | michael |
---|---|
date | Sun, 04 Nov 2001 19:36:24 +0000 |
parents | 794dec2fae64 |
children | 1eaf3f89e49f |
line wrap: on
line source
/* * * rgb2rgb.h, Software RGB to RGB convertor * */ #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); 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