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

Side by Side Diff: source/libvpx/vp8/common/arm/neon/vp8_subpixelvariance_neon.c

Issue 592203002: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 2 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
« no previous file with comments | « source/libvpx/vp8/common/arm/neon/variance_neon.c ('k') | source/libvpx/vp8/common/postproc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "vpx_ports/mem.h" 12 #include "vpx_ports/mem.h"
13 #include "vpx/vpx_integer.h" 13 #include "vpx/vpx_integer.h"
14 14
15 #ifdef _MSC_VER
16 #define __builtin_prefetch(x)
17 #endif
18
19 static const uint16_t bilinear_taps_coeff[8][2] = { 15 static const uint16_t bilinear_taps_coeff[8][2] = {
20 {128, 0}, 16 {128, 0},
21 {112, 16}, 17 {112, 16},
22 { 96, 32}, 18 { 96, 32},
23 { 80, 48}, 19 { 80, 48},
24 { 64, 64}, 20 { 64, 64},
25 { 48, 80}, 21 { 48, 80},
26 { 32, 96}, 22 { 32, 96},
27 { 16, 112} 23 { 16, 112}
28 }; 24 };
(...skipping 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1019 } else { 1015 } else {
1020 var_filter_block2d_bil_w8(src, fdata3, src_stride, kPixelStepOne, 1016 var_filter_block2d_bil_w8(src, fdata3, src_stride, kPixelStepOne,
1021 kHeight8PlusOne, kWidth8, 1017 kHeight8PlusOne, kWidth8,
1022 bilinear_taps_coeff[xoffset]); 1018 bilinear_taps_coeff[xoffset]);
1023 var_filter_block2d_bil_w8(fdata3, temp2, kWidth8, kWidth8, kHeight8, 1019 var_filter_block2d_bil_w8(fdata3, temp2, kWidth8, kWidth8, kHeight8,
1024 kWidth8, bilinear_taps_coeff[yoffset]); 1020 kWidth8, bilinear_taps_coeff[yoffset]);
1025 } 1021 }
1026 return variance8x8_neon(temp2, kWidth8, dst, dst_stride, sse); 1022 return variance8x8_neon(temp2, kWidth8, dst, dst_stride, sse);
1027 } 1023 }
1028 1024
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/arm/neon/variance_neon.c ('k') | source/libvpx/vp8/common/postproc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698