diff options
Diffstat (limited to 'src/video_out/yuv2rgb_mlib.c')
-rw-r--r-- | src/video_out/yuv2rgb_mlib.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/video_out/yuv2rgb_mlib.c b/src/video_out/yuv2rgb_mlib.c index 8635526ed..a10503d55 100644 --- a/src/video_out/yuv2rgb_mlib.c +++ b/src/video_out/yuv2rgb_mlib.c @@ -38,8 +38,6 @@ #include "xineutils.h" #include "yuv2rgb.h" -#define MIN(a, b) (((a) < (b)) ? (a) : (b)) - static void mlib_yuv420_rgb24(yuv2rgb_t *this, uint8_t * image, uint8_t * py, uint8_t * pu, uint8_t * pv) @@ -53,7 +51,7 @@ static void mlib_yuv420_rgb24(yuv2rgb_t *this, mlib_s32 resize_stride = this->dest_width << 2; mlib_VideoColorYUV420seq_to_ARGBint((mlib_u32*)this->mlib_buffer, - py, pu, pv, py, 0, + py, pu, pv, py, 0, this->source_width, src_height, this->source_width<<2, @@ -90,7 +88,7 @@ static void mlib_yuv420_argb32(yuv2rgb_t *this, dst_height = this->next_slice(this, &image); if (this->do_scale) { mlib_VideoColorYUV420seq_to_ARGBint((mlib_u32*)this->mlib_buffer, - py, pu, pv, py, 0, + py, pu, pv, py, 0, this->source_width, src_height, this->source_width<<2, @@ -103,7 +101,7 @@ static void mlib_yuv420_argb32(yuv2rgb_t *this, this->mlib_filter_type); } else { mlib_VideoColorYUV420seq_to_ARGBint((mlib_u32*)image, - py, pu, pv, py, 0, + py, pu, pv, py, 0, this->source_width, dst_height, this->rgb_stride, @@ -129,7 +127,7 @@ static void mlib_yuv420_abgr32(yuv2rgb_t *this, dst_height = this->next_slice (this, &image); if (this->do_scale) { mlib_VideoColorYUV420seq_to_ABGRint((mlib_u32*)this->mlib_buffer, - py, pu, pv, py, 0, + py, pu, pv, py, 0, this->source_width, src_height, this->source_width<<2, @@ -143,7 +141,7 @@ static void mlib_yuv420_abgr32(yuv2rgb_t *this, } else { mlib_VideoColorYUV420seq_to_ABGRint((mlib_u32*)image, - py, pu, pv, py, 0, + py, pu, pv, py, 0, this->source_width, dst_height, this->rgb_stride, |