1/*
2 *  Copyright (c) 2013 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 "./vp9_rtcd.h"
12
13void vp9_lpf_horizontal_8_dual_neon(uint8_t *s, int p /* pitch */,
14                                    const uint8_t *blimit0,
15                                    const uint8_t *limit0,
16                                    const uint8_t *thresh0,
17                                    const uint8_t *blimit1,
18                                    const uint8_t *limit1,
19                                    const uint8_t *thresh1) {
20  vp9_lpf_horizontal_8(s, p, blimit0, limit0, thresh0, 1);
21  vp9_lpf_horizontal_8(s + 8, p, blimit1, limit1, thresh1, 1);
22}
23
24void vp9_lpf_vertical_4_dual_neon(uint8_t *s, int p,
25                                  const uint8_t *blimit0,
26                                  const uint8_t *limit0,
27                                  const uint8_t *thresh0,
28                                  const uint8_t *blimit1,
29                                  const uint8_t *limit1,
30                                  const uint8_t *thresh1) {
31  vp9_lpf_vertical_4_neon(s, p, blimit0, limit0, thresh0, 1);
32  vp9_lpf_vertical_4_neon(s + 8 * p, p, blimit1, limit1, thresh1, 1);
33}
34
35void vp9_lpf_vertical_8_dual_neon(uint8_t *s, int p,
36                                  const uint8_t *blimit0,
37                                  const uint8_t *limit0,
38                                  const uint8_t *thresh0,
39                                  const uint8_t *blimit1,
40                                  const uint8_t *limit1,
41                                  const uint8_t *thresh1) {
42  vp9_lpf_vertical_8_neon(s, p, blimit0, limit0, thresh0, 1);
43  vp9_lpf_vertical_8_neon(s + 8 * p, p, blimit1, limit1, thresh1, 1);
44}
45
46void vp9_lpf_vertical_16_dual_neon(uint8_t *s, int p,
47                                   const uint8_t *blimit,
48                                   const uint8_t *limit,
49                                   const uint8_t *thresh) {
50  vp9_lpf_vertical_16_neon(s, p, blimit, limit, thresh);
51  vp9_lpf_vertical_16_neon(s + 8 * p, p, blimit, limit, thresh);
52}
53