diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-06 11:22:40 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-06 11:22:40 +0000 |
commit | dfe91abaa222060b78bfe48add1225e083209911 (patch) | |
tree | 220e45b8aa9a455075b527d9ded702ace4647903 /postproc/rgb2rgb.h | |
parent | adbc62c736e514f39a5652bbc1ff1c4b124a236f (diff) | |
download | mpv-dfe91abaa222060b78bfe48add1225e083209911.tar.bz2 mpv-dfe91abaa222060b78bfe48add1225e083209911.tar.xz |
Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
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 |