From: Sebastian Dröge Date: Sun, 31 Oct 2010 18:39:33 +0000 (+0100) Subject: [MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanlin... X-Git-Tag: 1.19.3~511^2~7523 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2c542f083b5db4050a90454af121a426c0e80e11;p=platform%2Fupstream%2Fgstreamer.git [MOVED FROM BAD 35/68] colorspace: Only do the I420->YUY2 conversion once per scanline in the fast path --- diff --git a/gst/colorspace/colorspace.c b/gst/colorspace/colorspace.c index fd16ac0..6472ee0 100644 --- a/gst/colorspace/colorspace.c +++ b/gst/colorspace/colorspace.c @@ -750,12 +750,6 @@ convert_I420_YUY2 (ColorspaceConvert * convert, guint8 * dest, guint8 * src) FRAME_GET_LINE (src, 0, i + 1), FRAME_GET_LINE (src, 1, i >> 1), FRAME_GET_LINE (src, 2, i >> 1), (convert->width + 1) / 2); - cogorc_convert_I420_YUY2 (FRAME_GET_LINE (dest, 0, i), - FRAME_GET_LINE (dest, 0, i + 1), - FRAME_GET_LINE (src, 0, i), - FRAME_GET_LINE (src, 0, i + 1), - FRAME_GET_LINE (src, 1, i >> 1), - FRAME_GET_LINE (src, 2, i >> 1), (convert->width + 1) / 2); } }