Go to the documentation of this file.
26 #define randomize(buf, len) do { \
28 for (i = 0; i < len; i++) { \
29 const INTFLOAT f = (INTFLOAT)rnd() / UINT_MAX; \
44 memcpy(dst1, dst0, (64 + 256) *
sizeof(
INTFLOAT));
77 memcpy(dst1, dst0, (64) *
sizeof(
INTFLOAT));
93 memcpy(dst1, dst0, (128) *
sizeof(
INTFLOAT));
142 memset(dst0, 0, 128 *
sizeof(
INTFLOAT));
143 memset(dst1, 0, 128 *
sizeof(
INTFLOAT));
162 memset(dst0, 0, 3 * 2 * 2 *
sizeof(
INTFLOAT));
163 memset(dst1, 0, 3 * 2 * 2 *
sizeof(
INTFLOAT));
190 for (
i = 2;
i < 64;
i += 2) {
191 memset(dst0, 0, 128 * 2 *
sizeof(
INTFLOAT));
192 memset(dst1, 0, 128 * 2 *
sizeof(
INTFLOAT));
193 call_ref(dst0, low, alpha0, alpha1, bw,
i, 128);
194 call_new(dst1, low, alpha0, alpha1, bw,
i, 128);
197 bench_new(dst1, low, alpha0, alpha1, bw,
i, 128);
209 const INTFLOAT *g_filt,
int m_max, intptr_t ixh);
237 for (
int i = 0;
i < 128;
i++)
242 for (
i = 0;
i < 4;
i++) {
244 for (j = 0; j < 2; j++) {
277 report(
"qmf_pre_shuffle");
281 report(
"qmf_post_shuffle");
void(* hf_gen)(INTFLOAT(*X_high)[2], const INTFLOAT(*X_low)[2], const INTFLOAT alpha0[2], const INTFLOAT alpha1[2], INTFLOAT bw, int start, int end)
static void test_qmf_deint_bfly(void)
int float_near_abs_eps_array(const float *a, const float *b, float eps, unsigned len)
int float_near_abs_eps(float a, float b, float eps)
#define check_func(func,...)
#define declare_func_float(ret,...)
static void test_hf_apply_noise(const SBRDSPContext *sbrdsp)
static int noise(AVBSFContext *ctx, AVPacket *pkt)
static void test_qmf_post_shuffle(void)
static void test_hf_g_filt(void)
static void test_hf_gen(void)
#define LOCAL_ALIGNED_16(t, v,...)
static void test_autocorrelate(void)
static void test_sum_square(void)
void(* autocorrelate)(const INTFLOAT x[40][2], AAC_FLOAT phi[3][2][2])
void checkasm_check_sbrdsp(void)
static void test_sum64x5(void)
void(* neg_odd_64)(INTFLOAT *x)
void(* hf_g_filt)(INTFLOAT(*Y)[2], const INTFLOAT(*X_high)[40][2], const AAC_FLOAT *g_filt, int m_max, intptr_t ixh)
void(* qmf_deint_bfly)(INTFLOAT *v, const INTFLOAT *src0, const INTFLOAT *src1)
void(* sum64x5)(INTFLOAT *z)
void(* qmf_pre_shuffle)(INTFLOAT *z)
static void test_qmf_pre_shuffle(void)
static void test_qmf_deint_neg(void)
void(* qmf_deint_neg)(INTFLOAT *v, const INTFLOAT *src)
void(* hf_apply_noise[4])(INTFLOAT(*Y)[2], const AAC_FLOAT *s_m, const AAC_FLOAT *q_filt, int noise, int kx, int m_max)
void AAC_RENAME() ff_sbrdsp_init(SBRDSPContext *s)
#define i(width, name, range_min, range_max)
static void test_neg_odd_64(void)
void(* qmf_post_shuffle)(INTFLOAT W[32][2], const INTFLOAT *z)
#define randomize(buf, len)
static int ref[MAX_W *MAX_W]
AAC_FLOAT(* sum_square)(INTFLOAT(*x)[2], int n)
#define declare_func(ret,...)