Go to the documentation of this file.
29 #define randomize_buffers() \
32 for (i = 0; i < BUF_SIZE; i++) { \
33 src0[i] = sign_extend(rnd(), 24); \
34 src1[i] = sign_extend(rnd(), 24); \
35 src2[i] = sign_extend(rnd(), 24); \
111 if (memcmp(ref0, new0,
BUF_SIZE *
sizeof(*ref0)) ||
112 memcmp(ref1, new1,
BUF_SIZE *
sizeof(*ref1)))
153 report(
"butterflies_fixed");
156 report(
"scalarproduct_fixed");
static void check_butterflies(const int *src0, const int *src1)
#define check_func(func,...)
static float win(SuperEqualizerContext *s, float n, int N)
void(* vector_fmul_add)(int *dst, const int *src0, const int *src1, const int *src2, int len)
Calculate the entry wise product of two vectors of integers, add a third vector of integers and store...
AVFixedDSPContext * avpriv_alloc_fixed_dsp(int bit_exact)
Allocate and initialize a fixed DSP context.
#define randomize_buffers()
int(* scalarproduct_fixed)(const int *v1, const int *v2, int len)
Calculate the scalar product of two vectors of integers.
static void check_vector_fmul_add(const int *src0, const int *src1, const int *src2)
void(* vector_fmul_reverse)(int *dst, const int *src0, const int *src1, int len)
static void check_vector_fmul_window(const int32_t *src0, const int32_t *src1, const int32_t *win)
static void check_scalarproduct_fixed(const int *src0, const int *src1)
void(* vector_fmul)(int *dst, const int *src0, const int *src1, int len)
Fixed-point multiplication that calculates the entry wise product of two vectors of integers and stor...
void checkasm_check_fixed_dsp(void)
void(* butterflies_fixed)(int *av_restrict v1, int *av_restrict v2, int len)
Calculate the sum and difference of two vectors of integers.
static int ref[MAX_W *MAX_W]
#define declare_func(ret,...)
#define LOCAL_ALIGNED_16(t, v,...)
void(* vector_fmul_window_scaled)(int16_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len, uint8_t bits)
Overlap/add with window function.
#define LOCAL_ALIGNED_32(t, v,...)
static void check_vector_fmul(const int *src0, const int *src1)
void(* vector_fmul_window)(int32_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int len)
Overlap/add with window function.
static void check_vector_fmul_window_scaled(const int32_t *src0, const int32_t *src1, const int32_t *win)