#include <immintrin.h>
#include <smmintrin.h>
#include "aom_dsp/x86/synonyms.h"
#include "aom_dsp/x86/synonyms_avx2.h"
#include "aom_dsp/x86/sum_squares_sse2.h"
#include "config/aom_dsp_rtcd.h"
static uint64_t aom_sum_squares_2d_i16_nxn_avx2(const int16_t *src, int stride,
int width, int height) { … }
uint64_t aom_sum_squares_2d_i16_avx2(const int16_t *src, int stride, int width,
int height) { … }
static uint64_t aom_sum_sse_2d_i16_nxn_avx2(const int16_t *src, int stride,
int width, int height, int *sum) { … }
uint64_t aom_sum_sse_2d_i16_avx2(const int16_t *src, int src_stride, int width,
int height, int *sum) { … }
static inline int32_t mm256_accumulate_epi16(__m256i vec_a) { … }
static inline int32_t mm256_accumulate_epi32(__m256i vec_a) { … }
uint64_t aom_var_2d_u8_avx2(uint8_t *src, int src_stride, int width,
int height) { … }
uint64_t aom_var_2d_u16_avx2(uint8_t *src, int src_stride, int width,
int height) { … }