summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Simon <jsimon13@yahoo.fr>2002-05-07 22:13:16 +0000
committerJeremy Simon <jsimon13@yahoo.fr>2002-05-07 22:13:16 +0000
commit15cb8d684ba0965aaf49bd737ed93aa10463f4b9 (patch)
treec62d4a58963e5e29325a4c0b5e1e879b6636fe21
parentb884719e15565efc54dcf3e8866fb7cf14561eef (diff)
downloadgst-plugins-bad-15cb8d684ba0965aaf49bd737ed93aa10463f4b9.tar.gz
gst-plugins-bad-15cb8d684ba0965aaf49bd737ed93aa10463f4b9.tar.bz2
gst-plugins-bad-15cb8d684ba0965aaf49bd737ed93aa10463f4b9.zip
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
m---------common0
-rw-r--r--ext/hermes/yuv2rgb.c6
2 files changed, 3 insertions, 3 deletions
diff --git a/common b/common
-Subproject e5997d9e2b4e162ad423f9b9ec3ac9b29e12bb0
+Subproject 8d060610bbe0af2f159b40c8b23076896b4104a
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);