shithub: libvpx

ref: c875803def7344aa69334f4dada2a3812a10a964
dir: /vpx_dsp/arm/vpx_convolve8_neon_asm.h/

View raw version
/*
 *  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_