1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
/*
* Copyright (C) 2007-2008 ARM Limited
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
/*
*
*/
.eabi_attribute 24, 1
.eabi_attribute 25, 1
.arm
.fpu neon
.text
.global omxVCM4P10_DeblockLuma_I
omxVCM4P10_DeblockLuma_I:
PUSH {r4-r9,lr}
MOVS r6,r0
SUB sp,sp,#0xc
MOV r9,r1
MOV r7,r2
MOV r8,r3
LDR r4,[sp,#0x28]
LDR r5,[sp,#0x2c]
BEQ L0x58
TST r6,#7
TSTEQ r9,#7
BNE L0x58
CMP r7,#0
CMPNE r8,#0
CMPNE r4,#0
BEQ L0x58
TST r4,#3
BNE L0x58
CMP r5,#0
BEQ L0x58
TST r5,#3
BEQ L0x64
L0x58:
MVN r0,#4
L0x5c:
ADD sp,sp,#0xc
POP {r4-r9,pc}
L0x64:
STR r4,[sp,#0]
MOV r3,r8
STR r5,[sp,#4]
MOV r2,r7
MOV r1,r9
MOV r0,r6
BL omxVCM4P10_FilterDeblockingLuma_VerEdge_I
CMP r0,#0
BNE L0x5c
ADD r3,r5,#0x10
ADD r2,r4,#0x10
STR r3,[sp,#4]
STR r2,[sp,#0]
ADD r3,r8,#2
ADD r2,r7,#2
MOV r1,r9
MOV r0,r6
BL omxVCM4P10_FilterDeblockingLuma_HorEdge_I
ADD sp,sp,#0xc
POP {r4-r9,pc}
.end
|