/sof-3.4.0/test/cmocka/src/math/arithmetic/ |
D | base_10_logarithm.c | 81 double diff; in test_math_arithmetic_base10log_fixed() local 86 diff = fabs(common_log10_ref_table[i] - (double)clogfxp / (1 << 28)); in test_math_arithmetic_base10log_fixed() 88 if (diff > CMP_TOLERANCE) { in test_math_arithmetic_base10log_fixed() 89 printf("%s: diff for %.16f: val = %16d, log10() = %.16f\n", __func__, diff, in test_math_arithmetic_base10log_fixed() 91 assert_true(diff <= CMP_TOLERANCE); in test_math_arithmetic_base10log_fixed()
|
D | base_e_logarithm.c | 80 double diff; in test_math_arithmetic_base_e_log_fixed() local 85 diff = fabs(natural_log_lookup_table[i] - (double)logefxp / (1 << 27)); in test_math_arithmetic_base_e_log_fixed() 87 if (diff > CMP_TOLERANCE) { in test_math_arithmetic_base_e_log_fixed() 88 printf("%s: diff for %.16f: value = %16d, log() = %.16f\n", __func__, diff, in test_math_arithmetic_base_e_log_fixed() 90 assert_true(diff <= CMP_TOLERANCE); in test_math_arithmetic_base_e_log_fixed()
|
D | square_root.c | 138 double diff; in test_math_arithmetic_sqrt_fixed() local 143 diff = fabs(sqrt_ref_table[i] - y); in test_math_arithmetic_sqrt_fixed() 145 if (diff > CMP_TOLERANCE) { in test_math_arithmetic_sqrt_fixed() 147 diff, (double)sqrt_ref_table[i], y); in test_math_arithmetic_sqrt_fixed() 148 assert_true(diff <= CMP_TOLERANCE); in test_math_arithmetic_sqrt_fixed()
|
D | base2_logarithm.c | 54 float diff = fabs(log2_lookup_table[i] - (double)y / (1 << 16)); in test_math_arithmetic_base2log_fixed() local 56 if (diff > CMP_TOLERANCE) { in test_math_arithmetic_base2log_fixed() 57 printf("%s: diff for %.16f: value = %.16f, log2 = %.16f\n", __func__, diff, in test_math_arithmetic_base2log_fixed() 59 assert_true(diff <= CMP_TOLERANCE); in test_math_arithmetic_base2log_fixed()
|
D | scalar_power.c | 33 float diff = fabsf(power_table[i][j] - (double)p / (1 << 15)); in test_math_arithmetic_power_fixed() local 35 if (diff > CMP_TOLERANCE) { in test_math_arithmetic_power_fixed() 37 __func__, diff, (double)b[i] / (1 << 25)); in test_math_arithmetic_power_fixed() 40 assert_true(diff <= CMP_TOLERANCE); in test_math_arithmetic_power_fixed()
|
/sof-3.4.0/test/cmocka/src/math/trig/ |
D | cos_16b_fixed.c | 33 float diff = fabsf(cos_ref_table[theta] - r); in test_math_trig_cos_fixed() local 35 if (diff > CMP_TOLERANCE) { in test_math_trig_cos_fixed() 37 theta, diff); in test_math_trig_cos_fixed() 40 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_cos_fixed()
|
D | cos_32b_fixed.c | 33 float diff = fabsf(cos_ref_table[theta] - r); in test_math_trig_cos_fixed() local 35 if (diff > CMP_TOLERANCE) { in test_math_trig_cos_fixed() 37 theta, diff); in test_math_trig_cos_fixed() 40 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_cos_fixed()
|
D | sin_16b_fixed.c | 33 float diff = fabsf(sin_ref_table[theta] - r); in test_math_trig_sin_fixed() local 35 if (diff > CMP_TOLERANCE) { in test_math_trig_sin_fixed() 37 theta, diff); in test_math_trig_sin_fixed() 40 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_sin_fixed()
|
D | sin_32b_fixed.c | 33 float diff = fabsf(sin_ref_table[theta] - r); in test_math_trig_sin_fixed() local 35 if (diff > CMP_TOLERANCE) { in test_math_trig_sin_fixed() 37 theta, diff); in test_math_trig_sin_fixed() 40 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_sin_fixed()
|
D | acos_16b_fixed.c | 42 float diff = fabsf(acos_ref_table[indx] - r); in test_math_trig_acos_16b_fixed() local 44 if (diff > CMP_TOLERANCE) { in test_math_trig_acos_16b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_acos_16b_fixed() 49 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_acos_16b_fixed()
|
D | acos_32b_fixed.c | 42 float diff = fabsf(acos_ref_table[indx] - r); in test_math_trig_acos_32b_fixed() local 44 if (diff > CMP_TOLERANCE) { in test_math_trig_acos_32b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_acos_32b_fixed() 49 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_acos_32b_fixed()
|
D | asin_16b_fixed.c | 42 float diff = fabsf(asin_ref_table[indx] - r); in test_math_trig_asin_16b_fixed() local 44 if (diff > CMP_TOLERANCE) { in test_math_trig_asin_16b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_asin_16b_fixed() 49 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_asin_16b_fixed()
|
D | asin_32b_fixed.c | 42 float diff = fabsf(asin_ref_table[indx] - r); in test_math_trig_asin_32b_fixed() local 44 if (diff > CMP_TOLERANCE) { in test_math_trig_asin_32b_fixed() 46 ((180 / _M_PI) * b_i) / (1 << 30), diff); in test_math_trig_asin_32b_fixed() 49 assert_true(diff <= CMP_TOLERANCE); in test_math_trig_asin_32b_fixed()
|
/sof-3.4.0/scripts/ |
D | test-repro-build.sh | 57 diff --color=auto -U20 \ 116 diff --report-identical-files \ 118 diff -u --ignore-matching-lines='file format ' \ 126 diff -u --report-identical-files \ 181 diff -qr b0 b1/ |
|
D | sof-pre-commit-hook.sh | 5 exec git diff --cached | scripts/checkpatch.pl --no-tree --codespell --no-signoff -q -
|
/sof-3.4.0/src/schedule/ |
D | zephyr_domain.c | 65 unsigned int cycles0, cycles1, diff, timer_fired; in zephyr_domain_thread_fn() local 76 diff = cycles1 - cycles0; in zephyr_domain_thread_fn() 78 diff = UINT32_MAX - cycles0 + cycles1; in zephyr_domain_thread_fn() 84 cycles_sum += diff; in zephyr_domain_thread_fn() 85 cycles_max = diff > cycles_max ? diff : cycles_max; in zephyr_domain_thread_fn()
|
D | ll_schedule.c | 169 uint32_t diff; in dsp_load_check() local 172 diff = cycles1 - cycles0; in dsp_load_check() 174 diff = UINT32_MAX - cycles0 + cycles1; in dsp_load_check() 176 task->cycles_sum += diff; in dsp_load_check() 178 if (task->cycles_max < diff) in dsp_load_check() 179 task->cycles_max = diff; in dsp_load_check()
|
/sof-3.4.0/scripts/cmake/ |
D | git-submodules.cmake | 11 # "git status" nor "git diff" every few minutes and not 32 "There are submodule changes, check git status and git diff\n${stdout}")
|
/sof-3.4.0/installer/ |
D | GNUmakefile | 312 diff -u tests/staging_sof${IPC_VERSION}_ref.txt ${BUILDS_ROOT}/staging_sof_tree.txt 324 ! diff -qr --no-dereference ${COMPARE_REFS}/sof/ \ 327 ! diff -qr --no-dereference ${COMPARE_REFS}/sof-tplg/ \
|
/sof-3.4.0/src/samples/audio/ |
D | detect_test.c | 176 int32_t diff; in default_detect_test() local 197 diff = abs(*(int32_t *)src) - abs(cd->activation); in default_detect_test() 199 diff = abs(*(int16_t *)src) - in default_detect_test() 203 diff >>= cd->config.activation_shift; in default_detect_test() 204 cd->activation += diff; in default_detect_test()
|