#ifndef AOM_THIRD_PARTY_SVT_AV1_EBMEMORY_AVX2_H_
#define AOM_THIRD_PARTY_SVT_AV1_EBMEMORY_AVX2_H_
#include <immintrin.h>
#include "config/aom_config.h"
#include "aom/aom_integer.h"
#ifndef _mm256_set_m128i
#define _mm256_set_m128i( hi, lo) …
#endif
#ifndef _mm256_setr_m128i
#define _mm256_setr_m128i( lo, hi) …
#endif
static inline __m256i load_u8_4x2_avx2(const uint8_t *const src,
const ptrdiff_t stride) { … }
static inline __m256i load_u8_4x4_avx2(const uint8_t *const src,
const ptrdiff_t stride) { … }
static inline __m256i load_u8_8x2_avx2(const uint8_t *const src,
const ptrdiff_t stride) { … }
static inline __m256i load_u8_8x4_avx2(const uint8_t *const src,
const ptrdiff_t stride) { … }
static inline __m256i loadu_8bit_16x2_avx2(const void *const src,
const ptrdiff_t strideInByte) { … }
static inline __m256i loadu_u8_16x2_avx2(const uint8_t *const src,
const ptrdiff_t stride) { … }
static inline __m256i loadu_u16_8x2_avx2(const uint16_t *const src,
const ptrdiff_t stride) { … }
static inline void storeu_8bit_16x2_avx2(const __m256i src, void *const dst,
const ptrdiff_t strideInByte) { … }
static inline void storeu_u8_16x2_avx2(const __m256i src, uint8_t *const dst,
const ptrdiff_t stride) { … }
static inline void storeu_s16_8x2_avx2(const __m256i src, int16_t *const dst,
const ptrdiff_t stride) { … }
static inline void storeu_u16_8x2_avx2(const __m256i src, uint16_t *const dst,
const ptrdiff_t stride) { … }
#endif