aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/aacpsdsp.c
Commit message (Collapse)AuthorAgeFilesLines
* lavu: move LOCAL_ALIGNED from internal.h to mem_internal.hAnton Khirnov2021-01-011-0/+1
| | | | That is a more appropriate place for it.
* checkasm: aacpsdsp: Tolerate extra intermediate precision in stereo_interpolateMartin Storsjö2019-12-181-0/+18
| | | | | | | | | | | | | | | | | | | | | | The stereo_interpolate functions add h_step to the values h BUF_SIZE times. Within the stereo_interpolate C functions, the values h (h0-h3, h00-h13) are declared as local float variables, but the compiler is free to keep them in a register with extra precision. If the accumulation is rounded to 32 bit float precision after each step, the less significant bits of h_step end up ignored and the sum can deviate, affecting the end result more than the currently set EPS. By clearing the log2(BUF_SIZE) lower bits of h_step, we make sure that the accumulation shouldn't differ significantly, regardless of any extra precision in the accmulating register/variable. This fixes the aacpsdsp checkasm test when built with clang for mingw/x86_32. Signed-off-by: Martin Storsjö <martin@martin.st>
* checkasm: add hybrid_analysis_ileave and hybrid_synthesis_deint tests to ↵James Almer2017-07-131-0/+82
| | | | | | aacpsdsp Signed-off-by: James Almer <jamrial@gmail.com>
* checkasm: randomize the full input buffer in test_hybrid_analysisJames Almer2017-06-301-1/+1
| | | | Missed in the last commit.
* checkasm: fix size of input buffer in test_hybrid_analysisJames Almer2017-06-301-1/+1
|
* lavc/aacpsdsp: use ptrdiff_t for stride in hybrid_analysisClément Bœsch2017-06-281-1/+1
|
* checkasm: add AAC PS testsClément Bœsch2017-06-281-0/+161
This includes various fixes and improvements from James Almer. Signed-off-by: James Almer <jamrial@gmail.com>