Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: source/libvpx/vp8/common/arm/neon/dc_only_idct_add_neon.asm

Issue 181493009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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 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.
8 ;
9
10
11 EXPORT |vp8_dc_only_idct_add_neon|
12 ARM
13 REQUIRE8
14 PRESERVE8
15
16 AREA ||.text||, CODE, READONLY, ALIGN=2
17
18 ;void vp8_dc_only_idct_add_c(short input_dc, unsigned char *pred_ptr,
19 ; int pred_stride, unsigned char *dst_ptr,
20 ; int dst_stride)
21
22 ; r0 input_dc
23 ; r1 pred_ptr
24 ; r2 pred_stride
25 ; r3 dst_ptr
26 ; sp dst_stride
27
28 |vp8_dc_only_idct_add_neon| PROC
29 add r0, r0, #4
30 asr r0, r0, #3
31 ldr r12, [sp]
32 vdup.16 q0, r0
33
34 vld1.32 {d2[0]}, [r1], r2
35 vld1.32 {d2[1]}, [r1], r2
36 vld1.32 {d4[0]}, [r1], r2
37 vld1.32 {d4[1]}, [r1]
38
39 vaddw.u8 q1, q0, d2
40 vaddw.u8 q2, q0, d4
41
42 vqmovun.s16 d2, q1
43 vqmovun.s16 d4, q2
44
45 vst1.32 {d2[0]}, [r3], r12
46 vst1.32 {d2[1]}, [r3], r12
47 vst1.32 {d4[0]}, [r3], r12
48 vst1.32 {d4[1]}, [r3]
49
50 bx lr
51
52 ENDP
53
54 END
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/arm/neon/copymem_neon.c ('k') | source/libvpx/vp8/common/arm/neon/dc_only_idct_add_neon.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698