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.
This commit is contained in:
Wim Taymans 2014-01-13 16:20:55 +01:00
parent fba783a5fe
commit 1fa70ac02d
2 changed files with 2 additions and 4 deletions

View file

@ -698,10 +698,10 @@ x4 addb argb, x, c128
subb r, y, c128 subb r, y, c128
splatbw wy, r splatbw wy, r
loadupib r, u loadupdb r, u
subb r, r, c128 subb r, r, c128
splatbw wu, r splatbw wu, r
loadupib r, v loadupdb r, v
subb r, r, c128 subb r, r, c128
splatbw wv, r splatbw wv, r

View file

@ -1470,8 +1470,6 @@ videoconvert_convert_lookup_fastpath (VideoConvert * convert)
in_matrix = convert->in_info.colorimetry.matrix; in_matrix = convert->in_info.colorimetry.matrix;
out_matrix = convert->out_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->in_info);
interlaced |= GST_VIDEO_INFO_IS_INTERLACED (&convert->out_info); interlaced |= GST_VIDEO_INFO_IS_INTERLACED (&convert->out_info);