aboutsummaryrefslogtreecommitdiffstats
path: root/tests/checkasm/checkasm.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2025-07-10 15:30:36 +0200
committerNiklas Haas <git@haasn.dev>2025-07-18 10:47:31 +0200
commit75cd42c48a1d6f997af76a90298ee1c5d5780030 (patch)
tree81cc47f95f39900abe5842ea430a63934dcf151d /tests/checkasm/checkasm.c
parentfa0080bf2ea2e6bff4bb93c5532ff116f8d95bda (diff)
downloadffmpeg-75cd42c48a1d6f997af76a90298ee1c5d5780030.tar.gz
avfilter/vf_blackdetect: add AVX2 SIMD version
Requested by a user. Even with autovectorization enabled, the compiler performs a quite poor job of optimizing this function, due to not being able to take advantage of the pmaxub + pcmpeqb trick for counting the number of pixels less than or equal-to a threshold. blackdetect8_c: 4625.0 ( 1.00x) blackdetect8_avx2: 155.1 (29.83x) blackdetect16_c: 2529.4 ( 1.00x) blackdetect16_avx2: 163.6 (15.46x)
Diffstat (limited to 'tests/checkasm/checkasm.c')
0 files changed, 0 insertions, 0 deletions