aboutsummaryrefslogtreecommitdiff
path: root/libvpx/vpx_dsp/arm/vpx_convolve8_neon_asm.h
blob: f1c7d62ed0456c9bd172d86a83faa355498f5f63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/*
 *  Copyright (c) 2018 The WebM project authors. All Rights Reserved.
 *
 *  Use of this source code is governed by a BSD-style license
 *  that can be found in the LICENSE file in the root of the source
 *  tree. An additional intellectual property rights grant can be found
 *  in the file PATENTS.  All contributing project authors may
 *  be found in the AUTHORS file in the root of the source tree.
 */

#ifndef VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_
#define VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_

#define DECLARE_FILTER(dir, type)                                  \
  void vpx_convolve8_##dir##_filter_##type##_neon(                 \
      const uint8_t *src, ptrdiff_t src_stride, uint8_t *dst,      \
      ptrdiff_t dst_stride, const InterpKernel *filter, int x0_q4, \
      int x_step_q4, int y0_q4, int y_step_q4, int w, int h);

DECLARE_FILTER(horiz, type1)
DECLARE_FILTER(avg_horiz, type1)
DECLARE_FILTER(horiz, type2)
DECLARE_FILTER(avg_horiz, type2)
DECLARE_FILTER(vert, type1)
DECLARE_FILTER(avg_vert, type1)
DECLARE_FILTER(vert, type2)
DECLARE_FILTER(avg_vert, type2)

#endif  // VPX_VPX_DSP_ARM_VPX_CONVOLVE8_NEON_ASM_H_