Mercurial > libavcodec.hg
annotate arm/simple_idct_armv6.S @ 10366:55f4c141dbb0 libavcodec
cosmetics: reindent and line wrap after last commit
author | jbr |
---|---|
date | Mon, 05 Oct 2009 21:33:50 +0000 |
parents | db79dcbd5161 |
children | 361a5fcb4393 |
rev | line source |
---|---|
4427 | 1 /* |
2 * Simple IDCT | |
3 * | |
4 * Copyright (c) 2001 Michael Niedermayer <michaelni@gmx.at> | |
5220 | 5 * Copyright (c) 2007 Mans Rullgard <mans@mansr.com> |
4427 | 6 * |
7 * This file is part of FFmpeg. | |
8 * | |
9 * FFmpeg is free software; you can redistribute it and/or | |
10 * modify it under the terms of the GNU Lesser General Public | |
11 * License as published by the Free Software Foundation; either | |
12 * version 2.1 of the License, or (at your option) any later version. | |
13 * | |
14 * FFmpeg is distributed in the hope that it will be useful, | |
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 * Lesser General Public License for more details. | |
18 * | |
19 * You should have received a copy of the GNU Lesser General Public | |
20 * License along with FFmpeg; if not, write to the Free Software | |
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
22 */ | |
23 | |
8069 | 24 #include "asm.S" |
25 | |
4427 | 26 #define W1 22725 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ |
27 #define W2 21407 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
28 #define W3 19266 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
29 #define W4 16383 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
30 #define W5 12873 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
31 #define W6 8867 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
32 #define W7 4520 /* cos(i*M_PI/16)*sqrt(2)*(1<<14) + 0.5 */ | |
33 #define ROW_SHIFT 11 | |
34 #define COL_SHIFT 20 | |
35 | |
36 #define W13 (W1 | (W3 << 16)) | |
37 #define W26 (W2 | (W6 << 16)) | |
38 #define W42 (W4 | (W2 << 16)) | |
39 #define W42n (-W4&0xffff | (-W2 << 16)) | |
40 #define W46 (W4 | (W6 << 16)) | |
41 #define W57 (W5 | (W7 << 16)) | |
42 | |
43 .text | |
44 .align | |
45 w13: .long W13 | |
46 w26: .long W26 | |
47 w42: .long W42 | |
48 w42n: .long W42n | |
49 w46: .long W46 | |
50 w57: .long W57 | |
51 | |
52 /* | |
53 Compute partial IDCT of single row. | |
54 shift = left-shift amount | |
8575 | 55 r0 = source address |
56 r2 = row[2,0] <= 2 cycles | |
57 r3 = row[3,1] | |
4458 | 58 ip = w42 <= 2 cycles |
4427 | 59 |
8575 | 60 Output in registers r4--r11 |
4427 | 61 */ |
62 .macro idct_row shift | |
8577 | 63 ldr lr, w46 /* lr = W4 | (W6 << 16) */ |
8575 | 64 mov r1, #(1<<(\shift-1)) |
65 smlad r4, r2, ip, r1 | |
66 smlsd r7, r2, ip, r1 | |
8577 | 67 ldr ip, w13 /* ip = W1 | (W3 << 16) */ |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
68 ldr r10,w57 /* r10 = W5 | (W7 << 16) */ |
8575 | 69 smlad r5, r2, lr, r1 |
70 smlsd r6, r2, lr, r1 | |
4483 | 71 |
8577 | 72 smuad r8, r3, ip /* r8 = B0 = W1*row[1] + W3*row[3] */ |
73 smusdx r11,r3, r10 /* r11 = B3 = W7*row[1] - W5*row[3] */ | |
74 ldr lr, [r0, #12] /* lr = row[7,5] */ | |
75 pkhtb r2, ip, r10,asr #16 /* r3 = W7 | (W3 << 16) */ | |
76 pkhbt r1, ip, r10,lsl #16 /* r1 = W1 | (W5 << 16) */ | |
77 smusdx r9, r2, r3 /* r9 = -B1 = W7*row[3] - W3*row[1] */ | |
78 smlad r8, lr, r10,r8 /* B0 += W5*row[5] + W7*row[7] */ | |
79 smusdx r10,r3, r1 /* r10 = B2 = W5*row[1] - W1*row[3] */ | |
4427 | 80 |
8577 | 81 ldr r3, w42n /* r3 = -W4 | (-W2 << 16) */ |
82 smlad r10,lr, r2, r10 /* B2 += W7*row[5] + W3*row[7] */ | |
83 ldr r2, [r0, #4] /* r2 = row[6,4] */ | |
84 smlsdx r11,lr, ip, r11 /* B3 += W3*row[5] - W1*row[7] */ | |
85 ldr ip, w46 /* ip = W4 | (W6 << 16) */ | |
86 smlad r9, lr, r1, r9 /* B1 -= W1*row[5] + W5*row[7] */ | |
4427 | 87 |
8575 | 88 smlad r5, r2, r3, r5 /* A1 += -W4*row[4] - W2*row[6] */ |
89 smlsd r6, r2, r3, r6 /* A2 += -W4*row[4] + W2*row[6] */ | |
8577 | 90 smlad r4, r2, ip, r4 /* A0 += W4*row[4] + W6*row[6] */ |
91 smlsd r7, r2, ip, r7 /* A3 += W4*row[4] - W6*row[6] */ | |
4427 | 92 .endm |
93 | |
94 /* | |
4452 | 95 Compute partial IDCT of half row. |
96 shift = left-shift amount | |
8575 | 97 r2 = row[2,0] |
98 r3 = row[3,1] | |
4460 | 99 ip = w42 |
4452 | 100 |
8575 | 101 Output in registers r4--r11 |
4452 | 102 */ |
103 .macro idct_row4 shift | |
8577 | 104 ldr lr, w46 /* lr = W4 | (W6 << 16) */ |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
105 ldr r10,w57 /* r10 = W5 | (W7 << 16) */ |
8575 | 106 mov r1, #(1<<(\shift-1)) |
107 smlad r4, r2, ip, r1 | |
108 smlsd r7, r2, ip, r1 | |
8577 | 109 ldr ip, w13 /* ip = W1 | (W3 << 16) */ |
8575 | 110 smlad r5, r2, lr, r1 |
111 smlsd r6, r2, lr, r1 | |
8577 | 112 smusdx r11,r3, r10 /* r11 = B3 = W7*row[1] - W5*row[3] */ |
113 smuad r8, r3, ip /* r8 = B0 = W1*row[1] + W3*row[3] */ | |
114 pkhtb r2, ip, r10,asr #16 /* r3 = W7 | (W3 << 16) */ | |
115 pkhbt r1, ip, r10,lsl #16 /* r1 = W1 | (W5 << 16) */ | |
116 smusdx r9, r2, r3 /* r9 = -B1 = W7*row[3] - W3*row[1] */ | |
117 smusdx r10,r3, r1 /* r10 = B2 = W5*row[1] - W1*row[3] */ | |
4452 | 118 .endm |
119 | |
120 /* | |
4427 | 121 Compute final part of IDCT single row without shift. |
8575 | 122 Input in registers r4--r11 |
123 Output in registers ip, r4--r6, lr, r8--r10 | |
4427 | 124 */ |
125 .macro idct_finish | |
8575 | 126 add ip, r4, r8 /* r1 = A0 + B0 */ |
127 sub lr, r4, r8 /* r2 = A0 - B0 */ | |
128 sub r4, r5, r9 /* r2 = A1 + B1 */ | |
129 add r8, r5, r9 /* r2 = A1 - B1 */ | |
130 add r5, r6, r10 /* r1 = A2 + B2 */ | |
131 sub r9, r6, r10 /* r1 = A2 - B2 */ | |
132 add r6, r7, r11 /* r2 = A3 + B3 */ | |
133 sub r10,r7, r11 /* r2 = A3 - B3 */ | |
4427 | 134 .endm |
135 | |
136 /* | |
137 Compute final part of IDCT single row. | |
138 shift = right-shift amount | |
8575 | 139 Input/output in registers r4--r11 |
4427 | 140 */ |
141 .macro idct_finish_shift shift | |
8575 | 142 add r3, r4, r8 /* r3 = A0 + B0 */ |
143 sub r2, r4, r8 /* r2 = A0 - B0 */ | |
144 mov r4, r3, asr #\shift | |
145 mov r8, r2, asr #\shift | |
4427 | 146 |
8575 | 147 sub r3, r5, r9 /* r3 = A1 + B1 */ |
148 add r2, r5, r9 /* r2 = A1 - B1 */ | |
149 mov r5, r3, asr #\shift | |
150 mov r9, r2, asr #\shift | |
4427 | 151 |
8575 | 152 add r3, r6, r10 /* r3 = A2 + B2 */ |
153 sub r2, r6, r10 /* r2 = A2 - B2 */ | |
154 mov r6, r3, asr #\shift | |
155 mov r10,r2, asr #\shift | |
4427 | 156 |
8575 | 157 add r3, r7, r11 /* r3 = A3 + B3 */ |
158 sub r2, r7, r11 /* r2 = A3 - B3 */ | |
159 mov r7, r3, asr #\shift | |
160 mov r11,r2, asr #\shift | |
4427 | 161 .endm |
162 | |
163 /* | |
164 Compute final part of IDCT single row, saturating results at 8 bits. | |
165 shift = right-shift amount | |
8575 | 166 Input/output in registers r4--r11 |
4427 | 167 */ |
168 .macro idct_finish_shift_sat shift | |
8575 | 169 add r3, r4, r8 /* r3 = A0 + B0 */ |
170 sub ip, r4, r8 /* ip = A0 - B0 */ | |
171 usat r4, #8, r3, asr #\shift | |
172 usat r8, #8, ip, asr #\shift | |
4427 | 173 |
8575 | 174 sub r3, r5, r9 /* r3 = A1 + B1 */ |
175 add ip, r5, r9 /* ip = A1 - B1 */ | |
176 usat r5, #8, r3, asr #\shift | |
177 usat r9, #8, ip, asr #\shift | |
4427 | 178 |
8575 | 179 add r3, r6, r10 /* r3 = A2 + B2 */ |
180 sub ip, r6, r10 /* ip = A2 - B2 */ | |
181 usat r6, #8, r3, asr #\shift | |
182 usat r10,#8, ip, asr #\shift | |
4427 | 183 |
8575 | 184 add r3, r7, r11 /* r3 = A3 + B3 */ |
185 sub ip, r7, r11 /* ip = A3 - B3 */ | |
186 usat r7, #8, r3, asr #\shift | |
187 usat r11,#8, ip, asr #\shift | |
4427 | 188 .endm |
189 | |
190 /* | |
191 Compute IDCT of single row, storing as column. | |
8575 | 192 r0 = source |
193 r1 = dest | |
4427 | 194 */ |
8069 | 195 function idct_row_armv6 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
196 push {lr} |
4483 | 197 |
8575 | 198 ldr lr, [r0, #12] /* lr = row[7,5] */ |
199 ldr ip, [r0, #4] /* ip = row[6,4] */ | |
200 ldr r3, [r0, #8] /* r3 = row[3,1] */ | |
201 ldr r2, [r0] /* r2 = row[2,0] */ | |
4483 | 202 orrs lr, lr, ip |
8575 | 203 cmpeq lr, r3 |
204 cmpeq lr, r2, lsr #16 | |
4452 | 205 beq 1f |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
206 push {r1} |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
207 ldr ip, w42 /* ip = W4 | (W2 << 16) */ |
4483 | 208 cmp lr, #0 |
209 beq 2f | |
4427 | 210 |
4483 | 211 idct_row ROW_SHIFT |
212 b 3f | |
4452 | 213 |
4483 | 214 2: idct_row4 ROW_SHIFT |
4452 | 215 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
216 3: pop {r1} |
4483 | 217 idct_finish_shift ROW_SHIFT |
4427 | 218 |
8575 | 219 strh r4, [r1] |
220 strh r5, [r1, #(16*2)] | |
221 strh r6, [r1, #(16*4)] | |
222 strh r7, [r1, #(16*6)] | |
223 strh r11,[r1, #(16*1)] | |
224 strh r10,[r1, #(16*3)] | |
225 strh r9, [r1, #(16*5)] | |
226 strh r8, [r1, #(16*7)] | |
4427 | 227 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
228 pop {pc} |
4452 | 229 |
8575 | 230 1: mov r2, r2, lsl #3 |
231 strh r2, [r1] | |
232 strh r2, [r1, #(16*2)] | |
233 strh r2, [r1, #(16*4)] | |
234 strh r2, [r1, #(16*6)] | |
235 strh r2, [r1, #(16*1)] | |
236 strh r2, [r1, #(16*3)] | |
237 strh r2, [r1, #(16*5)] | |
238 strh r2, [r1, #(16*7)] | |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
239 pop {pc} |
4427 | 240 .endfunc |
241 | |
242 /* | |
243 Compute IDCT of single column, read as row. | |
8575 | 244 r0 = source |
245 r1 = dest | |
4427 | 246 */ |
8069 | 247 function idct_col_armv6 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
248 push {r1, lr} |
4427 | 249 |
8575 | 250 ldr r2, [r0] /* r2 = row[2,0] */ |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
251 ldr ip, w42 /* ip = W4 | (W2 << 16) */ |
8575 | 252 ldr r3, [r0, #8] /* r3 = row[3,1] */ |
4427 | 253 idct_row COL_SHIFT |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
254 pop {r1} |
4427 | 255 idct_finish_shift COL_SHIFT |
256 | |
8575 | 257 strh r4, [r1] |
258 strh r5, [r1, #(16*1)] | |
259 strh r6, [r1, #(16*2)] | |
260 strh r7, [r1, #(16*3)] | |
261 strh r11,[r1, #(16*4)] | |
262 strh r10,[r1, #(16*5)] | |
263 strh r9, [r1, #(16*6)] | |
264 strh r8, [r1, #(16*7)] | |
4427 | 265 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
266 pop {pc} |
4427 | 267 .endfunc |
268 | |
269 /* | |
270 Compute IDCT of single column, read as row, store saturated 8-bit. | |
8575 | 271 r0 = source |
272 r1 = dest | |
273 r2 = line size | |
4427 | 274 */ |
8069 | 275 function idct_col_put_armv6 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
276 push {r1, r2, lr} |
4427 | 277 |
8575 | 278 ldr r2, [r0] /* r2 = row[2,0] */ |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
279 ldr ip, w42 /* ip = W4 | (W2 << 16) */ |
8575 | 280 ldr r3, [r0, #8] /* r3 = row[3,1] */ |
4427 | 281 idct_row COL_SHIFT |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
282 pop {r1, r2} |
4427 | 283 idct_finish_shift_sat COL_SHIFT |
284 | |
8575 | 285 strb r4, [r1], r2 |
286 strb r5, [r1], r2 | |
287 strb r6, [r1], r2 | |
288 strb r7, [r1], r2 | |
289 strb r11,[r1], r2 | |
290 strb r10,[r1], r2 | |
291 strb r9, [r1], r2 | |
292 strb r8, [r1], r2 | |
4427 | 293 |
8575 | 294 sub r1, r1, r2, lsl #3 |
4427 | 295 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
296 pop {pc} |
4427 | 297 .endfunc |
298 | |
299 /* | |
300 Compute IDCT of single column, read as row, add/store saturated 8-bit. | |
8575 | 301 r0 = source |
302 r1 = dest | |
303 r2 = line size | |
4427 | 304 */ |
8069 | 305 function idct_col_add_armv6 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
306 push {r1, r2, lr} |
4427 | 307 |
8575 | 308 ldr r2, [r0] /* r2 = row[2,0] */ |
8576
636dc45f4779
ARM: clean up pc-relative references in simple_idct_armv6.S
mru
parents:
8575
diff
changeset
|
309 ldr ip, w42 /* ip = W4 | (W2 << 16) */ |
8575 | 310 ldr r3, [r0, #8] /* r3 = row[3,1] */ |
4427 | 311 idct_row COL_SHIFT |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
312 pop {r1, r2} |
4427 | 313 idct_finish |
314 | |
8575 | 315 ldrb r3, [r1] |
316 ldrb r7, [r1, r2] | |
317 ldrb r11,[r1, r2, lsl #2] | |
318 add ip, r3, ip, asr #COL_SHIFT | |
4427 | 319 usat ip, #8, ip |
8575 | 320 add r4, r7, r4, asr #COL_SHIFT |
321 strb ip, [r1], r2 | |
322 ldrb ip, [r1, r2] | |
323 usat r4, #8, r4 | |
324 ldrb r11,[r1, r2, lsl #2] | |
325 add r5, ip, r5, asr #COL_SHIFT | |
326 usat r5, #8, r5 | |
327 strb r4, [r1], r2 | |
328 ldrb r3, [r1, r2] | |
329 ldrb ip, [r1, r2, lsl #2] | |
330 strb r5, [r1], r2 | |
331 ldrb r7, [r1, r2] | |
332 ldrb r4, [r1, r2, lsl #2] | |
333 add r6, r3, r6, asr #COL_SHIFT | |
334 usat r6, #8, r6 | |
335 add r10,r7, r10,asr #COL_SHIFT | |
336 usat r10,#8, r10 | |
337 add r9, r11,r9, asr #COL_SHIFT | |
338 usat r9, #8, r9 | |
339 add r8, ip, r8, asr #COL_SHIFT | |
340 usat r8, #8, r8 | |
341 add lr, r4, lr, asr #COL_SHIFT | |
4427 | 342 usat lr, #8, lr |
8575 | 343 strb r6, [r1], r2 |
344 strb r10,[r1], r2 | |
345 strb r9, [r1], r2 | |
346 strb r8, [r1], r2 | |
347 strb lr, [r1], r2 | |
4427 | 348 |
8575 | 349 sub r1, r1, r2, lsl #3 |
4427 | 350 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
351 pop {pc} |
4427 | 352 .endfunc |
353 | |
354 /* | |
355 Compute 8 IDCT row transforms. | |
356 func = IDCT row->col function | |
357 width = width of columns in bytes | |
358 */ | |
359 .macro idct_rows func width | |
360 bl \func | |
8575 | 361 add r0, r0, #(16*2) |
362 add r1, r1, #\width | |
4427 | 363 bl \func |
8575 | 364 add r0, r0, #(16*2) |
365 add r1, r1, #\width | |
4427 | 366 bl \func |
8575 | 367 add r0, r0, #(16*2) |
368 add r1, r1, #\width | |
4427 | 369 bl \func |
8575 | 370 sub r0, r0, #(16*5) |
371 add r1, r1, #\width | |
4427 | 372 bl \func |
8575 | 373 add r0, r0, #(16*2) |
374 add r1, r1, #\width | |
4427 | 375 bl \func |
8575 | 376 add r0, r0, #(16*2) |
377 add r1, r1, #\width | |
4427 | 378 bl \func |
8575 | 379 add r0, r0, #(16*2) |
380 add r1, r1, #\width | |
4427 | 381 bl \func |
382 | |
8575 | 383 sub r0, r0, #(16*7) |
4427 | 384 .endm |
385 | |
386 /* void ff_simple_idct_armv6(DCTELEM *data); */ | |
8069 | 387 function ff_simple_idct_armv6, export=1 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
388 push {r4-r11, lr} |
4427 | 389 sub sp, sp, #128 |
390 | |
8575 | 391 mov r1, sp |
4427 | 392 idct_rows idct_row_armv6, 2 |
8575 | 393 mov r1, r0 |
394 mov r0, sp | |
4427 | 395 idct_rows idct_col_armv6, 2 |
396 | |
397 add sp, sp, #128 | |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
398 pop {r4-r11, pc} |
4427 | 399 .endfunc |
400 | |
401 /* ff_simple_idct_add_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ | |
8069 | 402 function ff_simple_idct_add_armv6, export=1 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
403 push {r0, r1, r4-r11, lr} |
4427 | 404 sub sp, sp, #128 |
405 | |
8575 | 406 mov r0, r2 |
407 mov r1, sp | |
4427 | 408 idct_rows idct_row_armv6, 2 |
8575 | 409 mov r0, sp |
410 ldr r1, [sp, #128] | |
411 ldr r2, [sp, #(128+4)] | |
4427 | 412 idct_rows idct_col_add_armv6, 1 |
413 | |
414 add sp, sp, #(128+8) | |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
415 pop {r4-r11, pc} |
4427 | 416 .endfunc |
417 | |
418 /* ff_simple_idct_put_armv6(uint8_t *dest, int line_size, DCTELEM *data); */ | |
8069 | 419 function ff_simple_idct_put_armv6, export=1 |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
420 push {r0, r1, r4-r11, lr} |
4427 | 421 sub sp, sp, #128 |
422 | |
8575 | 423 mov r0, r2 |
424 mov r1, sp | |
4427 | 425 idct_rows idct_row_armv6, 2 |
8575 | 426 mov r0, sp |
427 ldr r1, [sp, #128] | |
428 ldr r2, [sp, #(128+4)] | |
4427 | 429 idct_rows idct_col_put_armv6, 1 |
430 | |
431 add sp, sp, #(128+8) | |
8578
db79dcbd5161
ARM: use push/pop pseudo-instructions in simple_idct_armv6.S
mru
parents:
8577
diff
changeset
|
432 pop {r4-r11, pc} |
4427 | 433 .endfunc |