aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/lpc.c
Commit message (Collapse)AuthorAgeFilesLines
* checkasm/lpc: use fixed length to bench apply_welch_windowJames Almer2024-05-311-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm/lpc: test compute_autocorrRémi Denis-Courmont2024-05-311-2/+51
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tests/checkasm/lpc: correct arithmetic when randomizing buffersLynne2022-09-231-6/+6
| | | | Results weren't signed.
* tests/checkasm/lpc: reduce range and use signed valuesLynne2022-09-231-6/+6
| | | | | This is more similar to its regular use, and prevents inaccuracies of huge float*float multiplications from failing the tests.
* tests/checkasm/lpc: print mismatching valuesJames Almer2022-09-221-2/+8
| | | | | | Will help debugging. Signed-off-by: James Almer <jamrial@gmail.com>
* tests/checkasm/lpc: randomize buffer lengthJames Almer2022-09-221-16/+3
| | | | | | | Simplifies the test, while trying more values and preventing pointlessly running benchmarks in a loop. Signed-off-by: James Almer <jamrial@gmail.com>
* avcodec/lpc: use ptrdiff_t for length parametersJames Almer2022-09-221-1/+1
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* x86/lpc: fix even scalar loop overreads/writesLynne2022-09-221-0/+4
| | | | Passes checkasm with valgrind, tested to sizes of more than 4000 samples.
* x86/lpc: implement a new Welch windowing functionLynne2022-09-211-0/+80
Old one was written with the assumption only even inputs would be given. This very messy replacement supports even and odd inputs, and supports AVX2 for extra speed. The buffers given are usually quite big (4k samples), so the speedup is worth it. The new SSE version is still faster than the old inline asm version by 33%. Also checkasm is provided to make sure this monstrosity works. This fixes some FATE tests.