Lines Matching refs:floats
47 float *floats; in run_conv_test_float_to_s16() local
53 floats = f + (8 - align); in run_conv_test_float_to_s16()
57 floats[i] = 2.1f * (rand()/(float) RAND_MAX - 0.5f); in run_conv_test_float_to_s16()
61 orig_func(nsamples, floats, samples_ref); in run_conv_test_float_to_s16()
62 func(nsamples, floats, samples); in run_conv_test_float_to_s16()
67 … pa_log_debug("%d: %04hx != %04hx (%.24f)\n", i, samples[i], samples_ref[i], floats[i]); in run_conv_test_float_to_s16()
77 func(nsamples, floats, samples); in run_conv_test_float_to_s16()
81 orig_func(nsamples, floats, samples_ref); in run_conv_test_float_to_s16()
98 float *floats, *floats_ref; in run_conv_test_s16_to_float() local
103 floats = f + (8 - align); in run_conv_test_s16_to_float()
112 func(nsamples, samples, floats); in run_conv_test_s16_to_float()
115 if (fabsf(floats[i] - floats_ref[i]) > 0.0001f) { in run_conv_test_s16_to_float()
117 pa_log_debug("%d: %.24f != %.24f (%d)\n", i, floats[i], floats_ref[i], samples[i]); in run_conv_test_s16_to_float()
127 func(nsamples, samples, floats); in run_conv_test_s16_to_float()