From 1fa70ac02d59970ae114d16b789c16444ffe4d13 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 13 Jan 2014 16:20:55 +0100 Subject: videoconvert: don't interpolate chroma in I420 -> RGB Don't try to interpolate the chroma samples, the used algorithm only works for horizontal cositing. Let's switch to a faster and safer version until we handle chroma siting correctly in the fastpaths. --- gst/videoconvert/gstvideoconvertorc.orc | 4 ++-- gst/videoconvert/videoconvert.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'gst/videoconvert') diff --git a/gst/videoconvert/gstvideoconvertorc.orc b/gst/videoconvert/gstvideoconvertorc.orc index 7845ba5b3..29a199897 100644 --- a/gst/videoconvert/gstvideoconvertorc.orc +++ b/gst/videoconvert/gstvideoconvertorc.orc @@ -698,10 +698,10 @@ x4 addb argb, x, c128 subb r, y, c128 splatbw wy, r -loadupib r, u +loadupdb r, u subb r, r, c128 splatbw wu, r -loadupib r, v +loadupdb r, v subb r, r, c128 splatbw wv, r diff --git a/gst/videoconvert/videoconvert.c b/gst/videoconvert/videoconvert.c index f04d22fe3..380822dae 100644 --- a/gst/videoconvert/videoconvert.c +++ b/gst/videoconvert/videoconvert.c @@ -1470,8 +1470,6 @@ videoconvert_convert_lookup_fastpath (VideoConvert * convert) in_matrix = convert->in_info.colorimetry.matrix; out_matrix = convert->out_info.colorimetry.matrix; -// return FALSE; - interlaced = GST_VIDEO_INFO_IS_INTERLACED (&convert->in_info); interlaced |= GST_VIDEO_INFO_IS_INTERLACED (&convert->out_info); -- cgit v1.2.3