#include <immintrin.h>
#include "config/aom_dsp_rtcd.h"
static unsigned int sad32x32(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
static unsigned int sad64x32(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
static unsigned int sad64x64(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad128x64_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad64x128_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad128x128_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad_skip_128x64_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad_skip_64x128_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
unsigned int aom_sad_skip_128x128_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride) { … }
static unsigned int sad_w64_avg_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride,
const int h, const uint8_t *second_pred,
const int second_pred_stride) { … }
unsigned int aom_sad64x128_avg_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride,
const uint8_t *second_pred) { … }
unsigned int aom_sad128x64_avg_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride,
const uint8_t *second_pred) { … }
unsigned int aom_sad128x128_avg_avx2(const uint8_t *src_ptr, int src_stride,
const uint8_t *ref_ptr, int ref_stride,
const uint8_t *second_pred) { … }