diff options
author | Arpi <arpi@thot.banki.hu> | 2002-06-22 08:49:45 +0000 |
---|---|---|
committer | Arpi <arpi@thot.banki.hu> | 2002-06-22 08:49:45 +0000 |
commit | 0d9f3d85f648779f4fcc630c593f0322f5fd9ef2 (patch) | |
tree | 90ea952ffa7cad8eac00cc23912fea25c72157d1 /postproc/yuv2rgb_mlib.c | |
parent | d661d18d894ada5f315291cdf327507faa65440e (diff) | |
download | ffmpeg-0d9f3d85f648779f4fcc630c593f0322f5fd9ef2.tar.gz |
sync with mplayer xp
- partial yvu9 support (copy only)
- rgb 15/16 -> 24/32 converters
- int->unsigned changes
Originally committed as revision 6493 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc/yuv2rgb_mlib.c')
-rw-r--r-- | postproc/yuv2rgb_mlib.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/postproc/yuv2rgb_mlib.c b/postproc/yuv2rgb_mlib.c index 669fbae791..5facb1fdb0 100644 --- a/postproc/yuv2rgb_mlib.c +++ b/postproc/yuv2rgb_mlib.c @@ -29,8 +29,8 @@ static void mlib_YUV2ARGB420_32(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) + unsigned h_size, unsigned v_size, + unsigned rgb_stride, unsigned y_stride, unsigned uv_stride) { mlib_VideoColorYUV2ARGB420(image, py, pu, pv, h_size, v_size, rgb_stride, y_stride, uv_stride); @@ -38,8 +38,8 @@ static void mlib_YUV2ARGB420_32(uint8_t* image, uint8_t* py, static void mlib_YUV2ABGR420_32(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) + unsigned h_size, unsigned v_size, + unsigned rgb_stride, unsigned y_stride, unsigned uv_stride) { mlib_VideoColorYUV2ABGR420(image, py, pu, pv, h_size, v_size, rgb_stride, y_stride, uv_stride); @@ -47,15 +47,15 @@ static void mlib_YUV2ABGR420_32(uint8_t* image, uint8_t* py, static void mlib_YUV2RGB420_24(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) + unsigned h_size, unsigned v_size, + unsigned rgb_stride, unsigned y_stride, unsigned uv_stride) { mlib_VideoColorYUV2RGB420(image, py, pu, pv, h_size, v_size, rgb_stride, y_stride, uv_stride); } -yuv2rgb_fun yuv2rgb_init_mlib(int bpp, int mode) +yuv2rgb_fun yuv2rgb_init_mlib(unsigned bpp, int mode) { if( bpp == 24 ) |