2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 ; Use of this source code is governed by a BSD-style license and patent
5 ; grant that can be found in the LICENSE file in the root of the source
6 ; tree. All contributing project authors may be found in the AUTHORS
7 ; file in the root of the source tree.
10 EXPORT |vp8_dc_only_idct_add_v6|
12 AREA |.text|
, CODE
, READONLY
14 ;void vp8_dc_only_idct_add_v6(short input_dc, unsigned char *pred_ptr,
15 ; unsigned char *dst_ptr, int pitch, int stride)
22 |vp8_dc_only_idct_add_v6|
PROC
23 stmdb
sp!, {r4 - r7, lr}
25 add r0
, r0
, #
4 ; input_dc += 4
29 and r0
, r12
, r0
, asr #
3 ; input_dc >> 3 + mask
31 orr r0
, r0
, r0
, lsl #
16 ; a1 | a1
33 uxtab16 r5
, r0
, r4
; a1+2 | a1+0
34 uxtab16 r4
, r0
, r4
, ror #
8 ; a1+3 | a1+1
36 uxtab16 r6
, r0
, r6
, ror #
8
41 orr r5
, r5
, r4
, lsl #
8
42 orr r7
, r7
, r6
, lsl #
8
49 uxtab16 r4
, r0
, r4
, ror #
8
51 uxtab16 r6
, r0
, r6
, ror #
8
56 orr r5
, r5
, r4
, lsl #
8
57 orr r7
, r7
, r6
, lsl #
8
61 ldmia
sp!, {r4 - r7, pc}
63 ENDP ; |vp8_dc_only_idct_add_v6|
66 c0x0000FFFF DCD
0x0000FFFF