From 15cb8d684ba0965aaf49bd737ed93aa10463f4b9 Mon Sep 17 00:00:00 2001 From: Jeremy Simon Date: Tue, 7 May 2002 22:13:16 +0000 Subject: swap the cr and the cb component for the yuv420P_to_rgb no mmx routine Original commit message from CVS: swap the cr and the cb component for the yuv420P_to_rgb no mmx routine --- ext/hermes/yuv2rgb.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/hermes') diff --git a/ext/hermes/yuv2rgb.c b/ext/hermes/yuv2rgb.c index ec922d89..8fcce91d 100644 --- a/ext/hermes/yuv2rgb.c +++ b/ext/hermes/yuv2rgb.c @@ -187,8 +187,8 @@ static void gst_colorspace_yuv420P_to_rgb32(GstColorSpaceConverter *space, unsig gst_colorspace_yuv_to_rgb32(space->color_tables, src, /* Y component */ - src+size, /* cr component */ src+size+(size>>2), /* cb component */ + src+size, /* cr component */ dest, space->height, space->width); @@ -203,8 +203,8 @@ static void gst_colorspace_yuv420P_to_rgb24(GstColorSpaceConverter *space, unsig gst_colorspace_yuv_to_rgb24(space->color_tables, src, /* Y component */ - src+size, /* cr component */ src+size+(size>>2), /* cb component */ + src+size, /* cr component */ dest, space->height, space->width); @@ -219,8 +219,8 @@ static void gst_colorspace_yuv420P_to_rgb16(GstColorSpaceConverter *space, unsig gst_colorspace_yuv_to_rgb16(space->color_tables, src, /* Y component */ - src+size, /* cr component */ src+size+(size>>2), /* cb component */ + src+size, /* cr component */ dest, space->height, space->width); -- cgit v1.2.1