videoconvert: Fix I420 to BGRA fast-path alpha setting
authorSebastian Dröge <sebastian@centricular.com>
Mon, 23 Dec 2013 13:54:02 +0000 (14:54 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 23 Dec 2013 13:56:15 +0000 (14:56 +0100)
commitcd4602ecfa1622a8261cfb180af82af3d8ae7709
treed6ce722d63abd49a906c9501d90a16124138bbd6
parentaa8f1e9ca3bc2b4f40dc3be43596e24830d65f91
videoconvert: Fix I420 to BGRA fast-path alpha setting

This fast-path was adding 128 to every component including
alpha while it should only be done for all components except
alpha. This caused wrong alpha values to be generated.

Also remove the high-quality I420 to BGRA fast-path as it needs
the same fix, which causes an additional instruction, which causes
orc to emit more than 96 variables, which then just crashes.
This can only be fixed in orc by breaking ABI and allowing more
variables.
gst/videoconvert/gstvideoconvertorc.orc
gst/videoconvert/videoconvert.c