1; 2; Copyright (c) 2010 The WebM project authors. All Rights Reserved. 3; 4; Use of this source code is governed by a BSD-style license 5; that can be found in the LICENSE file in the root of the source 6; tree. An additional intellectual property rights grant can be found 7; in the file PATENTS. All contributing project authors may 8; be found in the AUTHORS file in the root of the source tree. 9; 10 11 12 EXPORT |vp8_dequantize_b_armv5| 13 14 AREA |.text|, CODE, READONLY ; name this block of code 15 16q RN r0 17dqc RN r1 18cnt RN r2 19 20;void dequantize_b_armv5(short *Q, short *DQC) 21|vp8_dequantize_b_armv5| PROC 22 stmdb sp!, {r4, lr} 23 ldr r3, [q] 24 ldr r4, [dqc], #8 25 26 mov cnt, #4 27dequant_loop 28 smulbb lr, r3, r4 29 smultt r12, r3, r4 30 31 ldr r3, [q, #4] 32 ldr r4, [dqc, #-4] 33 34 strh lr, [q], #2 35 strh r12, [q], #2 36 37 smulbb lr, r3, r4 38 smultt r12, r3, r4 39 40 subs cnt, cnt, #1 41 ldrne r3, [q, #4] 42 ldrne r4, [dqc], #8 43 44 strh lr, [q], #2 45 strh r12, [q], #2 46 47 bne dequant_loop 48 49 ldmia sp!, {r4, pc} 50 ENDP ;|vp8_dequantize_b_arm| 51 52 END 53