summaryrefslogtreecommitdiff
path: root/gst/videoconvert
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2014-01-13 16:20:55 +0100
committerWim Taymans <wtaymans@redhat.com>2014-01-13 17:24:01 +0100
commit1fa70ac02d59970ae114d16b789c16444ffe4d13 (patch)
tree91ab7584f12a9d2c868f2109147e66a906088776 /gst/videoconvert
parentfba783a5febd2c32a171446f4abd758224e3dd91 (diff)
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.
Diffstat (limited to 'gst/videoconvert')
-rw-r--r--gst/videoconvert/gstvideoconvertorc.orc4
-rw-r--r--gst/videoconvert/videoconvert.c2
2 files changed, 2 insertions, 4 deletions
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);