From 2933ef6336de818bee11ca0ff52248fb5d347d0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= <sebastian@centricular.com> Date: Fri, 24 May 2019 15:53:55 +0200 Subject: [PATCH] compositor: Remove unneeded left shift for ARGB/AYUV SOURCE operator 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/compositor/compositororc.orc b/gst/compositor/compositororc.orc index fea01a473a..beb10b82b7 100644 --- a/gst/compositor/compositororc.orc +++ b/gst/compositor/compositororc.orc @@ -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