mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
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
This commit is contained in:
parent
b884719e15
commit
15cb8d684b
2 changed files with 4 additions and 4 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit e5997d9e2b4e162ad423f9b9ec3ac9b29e12bb05
|
Subproject commit 8d060610bbe0af2f159b40c8b23076896b4104a5
|
|
@ -187,8 +187,8 @@ static void gst_colorspace_yuv420P_to_rgb32(GstColorSpaceConverter *space, unsig
|
||||||
|
|
||||||
gst_colorspace_yuv_to_rgb32(space->color_tables,
|
gst_colorspace_yuv_to_rgb32(space->color_tables,
|
||||||
src, /* Y component */
|
src, /* Y component */
|
||||||
src+size, /* cr component */
|
|
||||||
src+size+(size>>2), /* cb component */
|
src+size+(size>>2), /* cb component */
|
||||||
|
src+size, /* cr component */
|
||||||
dest,
|
dest,
|
||||||
space->height,
|
space->height,
|
||||||
space->width);
|
space->width);
|
||||||
|
@ -203,8 +203,8 @@ static void gst_colorspace_yuv420P_to_rgb24(GstColorSpaceConverter *space, unsig
|
||||||
|
|
||||||
gst_colorspace_yuv_to_rgb24(space->color_tables,
|
gst_colorspace_yuv_to_rgb24(space->color_tables,
|
||||||
src, /* Y component */
|
src, /* Y component */
|
||||||
src+size, /* cr component */
|
|
||||||
src+size+(size>>2), /* cb component */
|
src+size+(size>>2), /* cb component */
|
||||||
|
src+size, /* cr component */
|
||||||
dest,
|
dest,
|
||||||
space->height,
|
space->height,
|
||||||
space->width);
|
space->width);
|
||||||
|
@ -219,8 +219,8 @@ static void gst_colorspace_yuv420P_to_rgb16(GstColorSpaceConverter *space, unsig
|
||||||
|
|
||||||
gst_colorspace_yuv_to_rgb16(space->color_tables,
|
gst_colorspace_yuv_to_rgb16(space->color_tables,
|
||||||
src, /* Y component */
|
src, /* Y component */
|
||||||
src+size, /* cr component */
|
|
||||||
src+size+(size>>2), /* cb component */
|
src+size+(size>>2), /* cb component */
|
||||||
|
src+size, /* cr component */
|
||||||
dest,
|
dest,
|
||||||
space->height,
|
space->height,
|
||||||
space->width);
|
space->width);
|
||||||
|
|
Loading…
Reference in a new issue