diff options
author | Nick Kurshev <nickols_k@mail.ru> | 2001-11-06 11:22:40 +0000 |
---|---|---|
committer | Nick Kurshev <nickols_k@mail.ru> | 2001-11-06 11:22:40 +0000 |
commit | 6611aa83de06e5a6baa247fac80b88d9b85b5df2 (patch) | |
tree | ae669930617ab95ab3986b4d377bfa10205517b3 /postproc/rgb2rgb.h | |
parent | 99d2cb7219c1b3a3d9672708ffc590d0ecabf639 (diff) | |
download | ffmpeg-6611aa83de06e5a6baa247fac80b88d9b85b5df2.tar.gz |
Move yuv2rgb to postprocess
Originally committed as revision 2733 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/rgb2rgb.h')
-rw-r--r-- | postproc/rgb2rgb.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/postproc/rgb2rgb.h b/postproc/rgb2rgb.h index 4851725703..771ccb8bb2 100644 --- a/postproc/rgb2rgb.h +++ b/postproc/rgb2rgb.h @@ -1,7 +1,9 @@ /* * * rgb2rgb.h, Software RGB to RGB convertor - * + * pluralize by Software PAL8 to RGB convertor + * Software YUV to YUV convertor + * Software YUV to RGB convertor */ #ifndef RGB2RGB_INCLUDED @@ -28,4 +30,16 @@ extern void yuy2toyv12(const uint8_t *src, uint8_t *ydst, uint8_t *udst, uint8_t unsigned int width, unsigned int height, unsigned int lumStride, unsigned int chromStride, unsigned int srcStride); +#define MODE_RGB 0x1 +#define MODE_BGR 0x2 + +typedef void (* yuv2rgb_fun) (uint8_t * image, uint8_t * py, + uint8_t * pu, uint8_t * pv, + int h_size, int v_size, + int rgb_stride, int y_stride, int uv_stride); + +extern yuv2rgb_fun yuv2rgb; + +void yuv2rgb_init (int bpp, int mode); + #endif |