projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
326940f
)
compositor: Remove unneeded left shift for ARGB/AYUV SOURCE operator
author
Sebastian Dröge
<sebastian@centricular.com>
Fri, 24 May 2019 13:53:55 +0000
(15:53 +0200)
committer
Sebastian Dröge
<slomo@coaxion.net>
Fri, 24 May 2019 15:56:56 +0000
(15:56 +0000)
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
patch
|
blob
|
history
diff --git
a/gst/compositor/compositororc.orc
b/gst/compositor/compositororc.orc
index fea01a473a1369d5ef229c27b5cbd4a44267fbf2..beb10b82b7e841ce578021975b7915a914e41521 100644
(file)
--- 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