#include <immintrin.h>
#include "config/av1_rtcd.h"
#if CONFIG_SVT_AV1
#include "third_party/SVT-AV1/convolve_2d_avx2.h"
#endif
#include "aom_dsp/x86/convolve_avx2.h"
#include "aom_dsp/aom_filter.h"
#include "aom_dsp/x86/synonyms.h"
#include "av1/common/convolve.h"
static void convolve_2d_sr_general_avx2(
const uint8_t *src, int src_stride, uint8_t *dst, int dst_stride, int w,
int h, const InterpFilterParams *filter_params_x,
const InterpFilterParams *filter_params_y, const int subpel_x_qn,
const int subpel_y_qn, ConvolveParams *conv_params) { … }
void av1_convolve_2d_sr_avx2(
const uint8_t *src, int32_t src_stride, uint8_t *dst, int32_t dst_stride,
int32_t w, int32_t h, const InterpFilterParams *filter_params_x,
const InterpFilterParams *filter_params_y, const int32_t subpel_x_qn,
const int32_t subpel_y_qn, ConvolveParams *conv_params) { … }