#include <immintrin.h>
#include "config/av1_rtcd.h"
#include "aom/aom_integer.h"
static inline void read_coeff(const tran_low_t *coeff, intptr_t offset,
__m256i *c) { … }
static inline void av1_block_error_block_size16_avx2(const int16_t *coeff,
const int16_t *dqcoeff,
__m256i *sse_256) { … }
static inline void av1_block_error_block_size32_avx2(const int16_t *coeff,
const int16_t *dqcoeff,
__m256i *sse_256) { … }
static inline void av1_block_error_block_size64_avx2(const int16_t *coeff,
const int16_t *dqcoeff,
__m256i *sse_256,
intptr_t block_size) { … }
int64_t av1_block_error_lp_avx2(const int16_t *coeff, const int16_t *dqcoeff,
intptr_t block_size) { … }
int64_t av1_block_error_avx2(const tran_low_t *coeff, const tran_low_t *dqcoeff,
intptr_t block_size, int64_t *ssz) { … }