1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-18 03:19:31 +02:00
FFmpeg/tests/checkasm
Martin Storsjö ac40c3bb07 checkasm: Test whether the native FFmpeg timers work
On some platforms (in particular, ARM/AArch64), the implementation
of AV_READ_TIME() may use a privileged instruction - in such
cases, benchmarking just fails with a SIGILL.

Instead of crashing, try executing AV_READ_TIME() once within
a region with the signal handler active, to allow gracefully
informing the user about the issue.

This matches the dav1d checkasm commit
95a192549a448b70d9542e840c4e34b60d09b093.

Signed-off-by: Martin Storsjö <martin@martin.st>
2024-01-15 23:29:12 +02:00
..
aarch64
arm
riscv checkasm: Generalize crash handling 2024-01-11 14:48:53 +02:00
x86 x86: replace explicit REP_RETs with RETs 2023-02-01 04:23:55 +01:00
.gitignore
aacencdsp.c checkasm: test for abs_pow34 2023-12-11 18:42:07 +02:00
aacpsdsp.c
ac3dsp.c checkasm: Fix the signature of float_to_fixed24 2023-12-02 18:16:09 +02:00
af_afir.c checkasm: test for dcmul_add 2023-11-27 17:55:24 +02:00
alacdsp.c
audiodsp.c checkasm/audiodsp: Be strict about MMX 2022-10-11 14:18:54 +02:00
av_tx.c x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
blockdsp.c checkasm/blockdsp: Be strict about MMX 2022-10-11 14:18:54 +02:00
bswapdsp.c
checkasm.c checkasm: Test whether the native FFmpeg timers work 2024-01-15 23:29:12 +02:00
checkasm.h checkasm/svqenc: add ssd_int8_vs_int16 test 2024-01-15 19:03:03 +02:00
exrdsp.c
fixed_dsp.c
flacdsp.c checkasm/flacdsp: add LPC test 2023-11-18 22:01:59 +02:00
float_dsp.c
fmtconvert.c avcodec/fmtconvert: Remove unused AVCodecContext parameter 2022-09-21 20:26:40 +02:00
g722dsp.c
h264chroma.c checkasm: add h264chroma tests 2023-05-20 20:07:21 +02:00
h264dsp.c
h264pred.c
h264qpel.c
hevc_add_res.c checkasm: pass context as pointer 2023-04-13 15:17:04 +03:00
hevc_deblock.c tests/checkasm/hevc_*: Avoid using declare_func_emms where possible 2023-09-04 11:04:45 +02:00
hevc_idct.c tests/checkasm/hevc_*: Avoid using declare_func_emms where possible 2023-09-04 11:04:45 +02:00
hevc_pel.c tests/checkasm/hevc_*: Avoid using declare_func_emms where possible 2023-09-04 11:04:45 +02:00
hevc_sao.c tests/checkasm/hevc_*: Avoid using declare_func_emms where possible 2023-09-04 11:04:45 +02:00
huffyuvdsp.c checkasm/huffyuvdsp: test for add_hfyu_left_pred_bgr32 2023-11-15 16:51:07 +02:00
idctdsp.c avcodec/idctdsp: Avoid inclusion of avcodec.h 2023-09-11 00:26:34 +02:00
jpeg2000dsp.c
llauddsp.c checkasm: add lossless audio DSP 2023-11-16 16:53:44 +02:00
llviddsp.c checkasm: pass context as pointer 2023-04-13 15:17:04 +03:00
llviddspenc.c tests/checkasm/llvidencdsp: Don't use declare_func_emms 2023-09-04 11:04:45 +02:00
lpc.c tests/checkasm/lpc: correct arithmetic when randomizing buffers 2022-09-23 01:50:59 +02:00
Makefile checkasm/svqenc: add ssd_int8_vs_int16 test 2024-01-15 19:03:03 +02:00
motion.c checkasm/motion: Don't allocate AVCodecContext 2023-09-28 00:17:47 +02:00
opusdsp.c
pixblockdsp.c checkasm/pixblockdsp: Be strict about MMX 2022-10-11 14:18:54 +02:00
sbrdsp.c checkasm: test the noise case of sbrdsp.hf_apply_noise 2023-11-13 18:34:29 +02:00
svq1enc.c checkasm/svqenc: add ssd_int8_vs_int16 test 2024-01-15 19:03:03 +02:00
sw_gbrp.c
sw_rgb.c
sw_scale.c tests/checkasm/sw_scale: Avoid declare_func_emms where possible 2023-09-04 11:04:45 +02:00
synth_filter.c dca_core: convert to lavu/tx 2022-11-06 14:39:36 +01:00
takdsp.c avcodec/takdsp: fix const correctness 2023-12-22 09:28:04 -03:00
utvideodsp.c
v210dec.c checkasm/v210dec: add extra space to the destination arrays 2022-12-21 00:36:49 +01:00
v210enc.c checkasm/v210enc: test the entire width of 10-bit planar input arrays 2022-12-01 18:19:03 +01:00
vc1dsp.c checkasm/vc1dsp: Use declare_func_emms only when needed 2022-10-11 14:18:54 +02:00
vf_blend.c
vf_bwdif.c avfilter/bwdif: Add proper BWDIFDSPContext 2023-09-28 00:17:47 +02:00
vf_colorspace.c
vf_convolution.c libavfilter/x86/vf_convolution: add sobel filter optimization and unit test with intel AVX512 VNNI 2022-11-14 10:04:16 +08:00
vf_eq.c
vf_gblur.c
vf_hflip.c
vf_nlmeans.c
vf_threshold.c
videodsp.c
vorbisdsp.c
vp8dsp.c checkasm/vp8dsp: Use declare_func_emms only when needed 2022-10-08 09:33:36 +02:00
vp9dsp.c avutil/internal: Don't auto-include emms.h 2023-09-04 11:04:45 +02:00