Go to the documentation of this file.
26 #define randomize_float(buf, len) \
28 for (int i = 0; i < len; i++) { \
29 float f = (float)rnd() / (UINT_MAX >> 5) - 16.0f; \
35 #define MAX_SIZE (960)
47 float gains[3] = { 0.3066406250f, 0.2170410156f, 0.1296386719f };
56 memcpy(data1, data0, (
MAX_SIZE + 1024)*
sizeof(
float));
71 float coeff0 = (
float)
rnd() / (UINT_MAX >> 5) - 16.0
f, coeff1 = coeff0;
101 report(
"postfilter_1022");
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,...)
const float ff_opus_deemph_weights[]
#define LOCAL_ALIGNED(a, t, v,...)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf default minimum maximum flags name is the option keep it simple and lowercase description are in without period
av_cold void ff_opus_dsp_init(OpusDSP *ctx)
static void test_postfilter(int period)
it s the only field you need to keep assuming you have a context There is some magic you don t need to care about around this just let it vf offset
static const int weights[]
#define randomize_float(buf, len)
static void test_deemphasis(void)
#define declare_func(ret,...)
static const double coeff[2][5]
void checkasm_check_opusdsp(void)