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

Side by Side Diff: source/libvpx/vp9/common/arm/neon/vp9_iht8x8_add_neon.c

Issue 996503002: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 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
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 #include <assert.h> 12 #include <assert.h>
13 13
14 #include "./vp9_rtcd.h" 14 #include "./vp9_rtcd.h"
15 #include "./vpx_config.h" 15 #include "./vpx_config.h"
16 #include "vp9/common/vp9_common.h" 16 #include "vp9/common/vp9_common.h"
17 17
18 #if (__clang_major__ == 3) && (__clang_minor__ == 6)
19 // http://llvm.org/bugs/show_bug.cgi?id=22178
20 void vp9_iht8x8_64_add_neon(const tran_low_t *input, uint8_t *dest,
21 int dest_stride, int tx_type) {
22 vp9_iht8x8_64_add_c(input, dest, dest_stride, tx_type);
23 }
24 #else
25 static int16_t cospi_2_64 = 16305; 18 static int16_t cospi_2_64 = 16305;
26 static int16_t cospi_4_64 = 16069; 19 static int16_t cospi_4_64 = 16069;
27 static int16_t cospi_6_64 = 15679; 20 static int16_t cospi_6_64 = 15679;
28 static int16_t cospi_8_64 = 15137; 21 static int16_t cospi_8_64 = 15137;
29 static int16_t cospi_10_64 = 14449; 22 static int16_t cospi_10_64 = 14449;
30 static int16_t cospi_12_64 = 13623; 23 static int16_t cospi_12_64 = 13623;
31 static int16_t cospi_14_64 = 12665; 24 static int16_t cospi_14_64 = 12665;
32 static int16_t cospi_16_64 = 11585; 25 static int16_t cospi_16_64 = 11585;
33 static int16_t cospi_18_64 = 10394; 26 static int16_t cospi_18_64 = 10394;
34 static int16_t cospi_20_64 = 9102; 27 static int16_t cospi_20_64 = 9102;
(...skipping 587 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 d2 += dest_stride; 615 d2 += dest_stride;
623 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d1u8)); 616 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d1u8));
624 d2 += dest_stride; 617 d2 += dest_stride;
625 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d2u8)); 618 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d2u8));
626 d2 += dest_stride; 619 d2 += dest_stride;
627 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d3u8)); 620 vst1_u64((uint64_t *)d2, vreinterpret_u64_u8(d3u8));
628 d2 += dest_stride; 621 d2 += dest_stride;
629 } 622 }
630 return; 623 return;
631 } 624 }
632 #endif
OLDNEW
« no previous file with comments | « source/libvpx/third_party/libyuv/source/video_common.cc ('k') | source/libvpx/vp9/common/vp9_alloccommon.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698