1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
FFmpeg/tests
Martin Storsjö aad0e26f93 checkasm: aacpsdsp: Tolerate extra intermediate precision in stereo_interpolate
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>
2019-12-18 15:15:29 +02:00
..
api
checkasm checkasm: aacpsdsp: Tolerate extra intermediate precision in stereo_interpolate 2019-12-18 15:15:29 +02:00
dnn dnn: add tf.nn.conv2d support for native model 2019-10-30 10:31:55 -03:00
fate ffprobe: Fix fate tests for ffprobe in cases where TARGET_PATH differs from the current path 2019-12-18 15:15:12 +02:00
filtergraphs lavfi/concat: allow to support inputs with different frame rates 2019-09-08 16:48:28 +02:00
ref FATE: add test for hevc files with 4 TUDepth(0..4) of cbf_cb/cbf_cr 2019-12-17 14:12:40 -03:00
.gitignore
audiogen.c
audiomatch.c
base64.c
copycooker.sh
extended.ffconcat
fate-run.sh fate: Fix use of target_path/target_samples 2019-12-12 11:28:21 +02:00
fate-valgrind.supp
fate.sh
Makefile fate: Add an option for disabling the 2k/4k tests 2019-12-17 10:22:29 +02:00
md5.sh
refcmp-metadata.awk
reference.pnm
rotozoom.c
simple1.ffconcat
simple2.ffconcat
test.ffmeta
tiny_psnr.c
tiny_ssim.c
utils.c
videogen.c