compositor: Remove unneeded left shift for ARGB/AYUV SOURCE operator
authorSebastian Dröge <sebastian@centricular.com>
Fri, 24 May 2019 13:53:55 +0000 (15:53 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Fri, 9 Aug 2019 10:43:35 +0000 (11:43 +0100)
The alpha value is already in the lower 8 bits from the beginning in
this case.

Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/610

gst/compositor/compositororc.orc

index fea01a4..beb10b8 100644 (file)
@@ -77,8 +77,7 @@ storel d, t
 .const 4 a_not_alpha 0xffffff00
 
 loadl t, s
-shrul t2, t, 24
-convlw tw, t2
+convlw tw, t
 convwb tb, tw
 splatbl a, tb
 x4 convubw a_wide, a