#include <immintrin.h>
#include <string.h>
#include "config/av1_rtcd.h"
#include "av1/common/resize.h"
#include "aom_dsp/x86/synonyms.h"
#define ROW_OFFSET …
#define CAST_HI(x) …
#define CAST_LOW(x) …
#define PROCESS_RESIZE_Y_WD16 …
#define PROCESS_RESIZE_Y_WD8 …
#define PROCESS_RESIZE_X_WD32 …
static inline void resize_convolve(const __m256i *const s,
const __m256i *const coeffs,
__m256i *res_out) { … }
static inline void prepare_filter_coeffs(const int16_t *filter,
__m256i *const coeffs ) { … }
bool av1_resize_vert_dir_avx2(uint8_t *intbuf, uint8_t *output, int out_stride,
int height, int height2, int stride,
int start_col) { … }
static const uint8_t wd32_left_padding_mask[32] = …;
static const uint8_t wd32_right_padding_mask[32] = …;
static const uint8_t wd8_right_padding_mask[32] = …;
void av1_resize_horz_dir_avx2(const uint8_t *const input, int in_stride,
uint8_t *intbuf, int height, int filtered_length,
int width2) { … }