Rémi Denis-Courmont
20e6195c54
checkasm: test the noise case of sbrdsp.hf_apply_noise
...
The tested functions treat s_m[i] == 0 as a special case. Other than
that, the functions are slightly complicated vector additions.
This actually makes the zero case happen pseudorandomly.
2023-11-13 18:34:29 +02:00
Rémi Denis-Courmont
427347309b
checkasm: test with random bw value
...
With a value of zero, the function is a glorified memory copy.
2023-11-12 22:33:11 +02:00
Anton Khirnov
c8c2dfbc37
lavu: move LOCAL_ALIGNED from internal.h to mem_internal.h
...
That is a more appropriate place for it.
2021-01-01 14:11:01 +01:00
Martin Storsjö
5181f491ee
checkasm: sbrdsp: Fix a spurious test failure by calculating a better epsilon for sum_square
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2020-02-08 23:00:21 +02:00
James Almer
3d3243577c
checkasm: use declare_func_float() in sbrdsp sum_square test
...
The function returns a float.
This fixes the test in x86_32 targets.
Signed-off-by: James Almer <jamrial@gmail.com>
2017-07-04 23:02:57 -03:00
Matthieu Bouron
7864e07f4a
checkasm: add sbrdsp tests
2017-07-03 14:28:17 +02:00