projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f5a7b3
)
compositor: Replace shift and conv opcodes by convh in BGRA SOURCE operator
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 24 May 2019 13:54:50 +0000
(15:54 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 9 Aug 2019 10:43:35 +0000
(11:43 +0100)
Potentially speeds up processing a bit.
gst/compositor/compositororc.orc
patch
|
blob
|
history
diff --git
a/gst/compositor/compositororc.orc
b/gst/compositor/compositororc.orc
index beb10b82b7e841ce578021975b7915a914e41521..18938dd17ceec6576125977ee92803d43ebb1837 100644
(file)
--- 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