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

Side by Side Diff: source/libvpx/vpx_dsp/arm/idct4x4_add_neon.c

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved. 2 * Copyright (c) 2014 The WebM project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include <arm_neon.h> 11 #include <arm_neon.h>
12 12
13 void vp9_idct4x4_16_add_neon( 13 void vpx_idct4x4_16_add_neon(
14 int16_t *input, 14 int16_t *input,
15 uint8_t *dest, 15 uint8_t *dest,
16 int dest_stride) { 16 int dest_stride) {
17 uint8x8_t d26u8, d27u8; 17 uint8x8_t d26u8, d27u8;
18 uint32x2_t d26u32, d27u32; 18 uint32x2_t d26u32, d27u32;
19 uint16x8_t q8u16, q9u16; 19 uint16x8_t q8u16, q9u16;
20 int16x4_t d16s16, d17s16, d18s16, d19s16, d20s16, d21s16; 20 int16x4_t d16s16, d17s16, d18s16, d19s16, d20s16, d21s16;
21 int16x4_t d22s16, d23s16, d24s16, d26s16, d27s16, d28s16, d29s16; 21 int16x4_t d22s16, d23s16, d24s16, d26s16, d27s16, d28s16, d29s16;
22 int16x8_t q8s16, q9s16, q13s16, q14s16; 22 int16x8_t q8s16, q9s16, q13s16, q14s16;
23 int32x4_t q1s32, q13s32, q14s32, q15s32; 23 int32x4_t q1s32, q13s32, q14s32, q15s32;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 d = dest; 142 d = dest;
143 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d26u8), 0); 143 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d26u8), 0);
144 d += dest_stride; 144 d += dest_stride;
145 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d26u8), 1); 145 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d26u8), 1);
146 d += dest_stride; 146 d += dest_stride;
147 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d27u8), 1); 147 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d27u8), 1);
148 d += dest_stride; 148 d += dest_stride;
149 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d27u8), 0); 149 vst1_lane_u32((uint32_t *)d, vreinterpret_u32_u8(d27u8), 0);
150 return; 150 return;
151 } 151 }
OLDNEW
« no previous file with comments | « source/libvpx/vpx_dsp/arm/idct4x4_add_neon.asm ('k') | source/libvpx/vpx_dsp/arm/idct8x8_1_add_neon.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698