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

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

Issue 812033011: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 5 years, 11 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) 2014 The WebM project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #include <arm_neon.h>
12
13 #include "./vp9_rtcd.h"
14 #include "./vpx_config.h"
15 #include "vpx/vpx_integer.h"
16
17 void vp9_lpf_vertical_4_dual_neon(uint8_t *s, int p,
18 const uint8_t *blimit0,
19 const uint8_t *limit0,
20 const uint8_t *thresh0,
21 const uint8_t *blimit1,
22 const uint8_t *limit1,
23 const uint8_t *thresh1) {
24 vp9_lpf_vertical_4_neon(s, p, blimit0, limit0, thresh0, 1);
25 vp9_lpf_vertical_4_neon(s + 8 * p, p, blimit1, limit1, thresh1, 1);
26 }
27
28 #if HAVE_NEON_ASM
29 void vp9_lpf_horizontal_8_dual_neon(uint8_t *s, int p /* pitch */,
30 const uint8_t *blimit0,
31 const uint8_t *limit0,
32 const uint8_t *thresh0,
33 const uint8_t *blimit1,
34 const uint8_t *limit1,
35 const uint8_t *thresh1) {
36 vp9_lpf_horizontal_8_neon(s, p, blimit0, limit0, thresh0, 1);
37 vp9_lpf_horizontal_8_neon(s + 8, p, blimit1, limit1, thresh1, 1);
38 }
39
40 void vp9_lpf_vertical_8_dual_neon(uint8_t *s, int p,
41 const uint8_t *blimit0,
42 const uint8_t *limit0,
43 const uint8_t *thresh0,
44 const uint8_t *blimit1,
45 const uint8_t *limit1,
46 const uint8_t *thresh1) {
47 vp9_lpf_vertical_8_neon(s, p, blimit0, limit0, thresh0, 1);
48 vp9_lpf_vertical_8_neon(s + 8 * p, p, blimit1, limit1, thresh1, 1);
49 }
50
51 void vp9_lpf_vertical_16_dual_neon(uint8_t *s, int p,
52 const uint8_t *blimit,
53 const uint8_t *limit,
54 const uint8_t *thresh) {
55 vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
56 vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
57 }
58 #endif // HAVE_NEON_ASM
OLDNEW
« no previous file with comments | « source/libvpx/vp9/common/arm/neon/vp9_loopfilter_neon.asm ('k') | source/libvpx/vp9/common/arm/neon/vp9_reconintra_neon.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698