mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 04:31:06 +00:00
compositor: Replace shift and conv opcodes by convh in BGRA SOURCE operator
Potentially speeds up processing a bit.
This commit is contained in:
parent
2933ef6336
commit
779704b885
1 changed files with 2 additions and 3 deletions
|
@ -142,9 +142,8 @@ storel d, t
|
||||||
.const 4 a_not_alpha 0x00ffffff
|
.const 4 a_not_alpha 0x00ffffff
|
||||||
|
|
||||||
loadl t, s
|
loadl t, s
|
||||||
shrul t2, t, 24
|
convhlw tw, t
|
||||||
convlw tw, t2
|
convhwb tb, tw
|
||||||
convwb tb, tw
|
|
||||||
splatbl a, tb
|
splatbl a, tb
|
||||||
x4 convubw a_wide, a
|
x4 convubw a_wide, a
|
||||||
x4 mullw a_wide, a_wide, alpha
|
x4 mullw a_wide, a_wide, alpha
|
||||||
|
|
Loading…
Reference in a new issue