projects
/
platform
/
upstream
/
gstreamer.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
videoscale: Add support for adding black borders to keep the DAR if necessary
[platform/upstream/gstreamer.git]
/
gst
/
videoscale
/
gstvideoscaleorc.orc
1
2
.function orc_merge_linear_u8
3
.dest 1 d1
4
.source 1 s1
5
.source 1 s2
6
.param 1 p1
7
.param 1 p2
8
.temp 2 t1
9
.temp 2 t2
10
11
mulubw t1, s1, p1
12
mulubw t2, s2, p2
13
addw t1, t1, t2
14
addw t1, t1, 128
15
shruw t1, t1, 8
16
convwb d1, t1
17
18
.function orc_merge_linear_u16
19
.dest 2 d1
20
.source 2 s1
21
.source 2 s2
22
.param 2 p1
23
.param 2 p2
24
.temp 4 t1
25
.temp 4 t2
26
27
muluwl t1, s1, p1
28
muluwl t2, s2, p2
29
addl t1, t1, t2
30
shrul t1, t1, 16
31
convlw d1, t1
32
33
.function orc_splat_u16
34
.dest 2 d1
35
.param 2 p1
36
37
copyw d1, p1
38
39
.function orc_splat_u32
40
.dest 4 d1
41
.param 4 p1
42
43
copyl d1, p1
44