28#define randomize_float(buf, len) \
30 for (int i = 0; i < len; i++) { \
31 float f = (float)rnd() / (UINT_MAX >> 5) - 16.0f; \
49 float gains[3] = { 0.3066406250f, 0.2170410156f, 0.1296386719f };
58 memcpy(data1, data0, (
MAX_SIZE + 1024)*
sizeof(
float));
73 float coeff0 = (
float)
rnd() / (UINT_MAX >> 5) - 16.0f, coeff1 = coeff0;
103 report(
"postfilter_1022");
#define declare_func_float
#define float_near_abs_eps_array
#define float_near_abs_eps
static const int weights[]
#define LOCAL_ALIGNED(a, t, v,...)
av_cold void ff_opus_dsp_init(OpusDSP *ctx)
void checkasm_check_opusdsp(void)
static void test_postfilter(int period)
static void test_deemphasis(void)
#define randomize_float(buf, len)
const float ff_opus_deemph_weights[]
static AVFormatContext * ctx
static const double coeff[2][5]