From 779704b8858a96121cb668dde5ea41c16c92ea5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 24 May 2019 15:54:50 +0200 Subject: [PATCH] compositor: Replace shift and conv opcodes by convh in BGRA SOURCE operator Potentially speeds up processing a bit. --- gst/compositor/compositororc.orc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gst/compositor/compositororc.orc b/gst/compositor/compositororc.orc index beb10b82b7..18938dd17c 100644 --- a/gst/compositor/compositororc.orc +++ b/gst/compositor/compositororc.orc @@ -142,9 +142,8 @@ storel d, t .const 4 a_not_alpha 0x00ffffff loadl t, s -shrul t2, t, 24 -convlw tw, t2 -convwb tb, tw +convhlw tw, t +convhwb tb, tw splatbl a, tb x4 convubw a_wide, a x4 mullw a_wide, a_wide, alpha