News: 0001566842

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

FFmpeg Delivers Very Nice Performance Gains For Bwdif Deinterlacing With AVX-512

([Multimedia] 5 Hours Ago Bwdif Video Filter)


FFmpeg developers are known for [1]delivering some really wild performance gains from hand-optimized Assembly code especially around Intel/AMD AVX-512 optimizations for various features of this widely-used open-source multimedia library. Merged this week was enhancing the Bwdif deinterlacing video filter with a 23~28x speed-up over the basic C code path when using AVX-512.

Niklas Haas landed an AVX-512 implementation of the Bob Weaver deinterlacing video filter "vf_bwdif" for benefiting newer Intel and AMD processors with Advanced Vector Extensions 512 capabilities.

Compared to the unoptimized and very basic C baseline, bwdif8_avx512 is 23.28x faster and bwdif10_avx512 is at 28.27x. Or compared to the existing AVX2 implementation, just under twice as fast.

This works for Intel/AMD AVX-512 processors but is gated to prevent usage on Skylake processors that had the more notorious AVX-512 implementation that was subject to thermal/power issues and in turn CPU down-clocking.

The new AVX-512 implementation is [2]merged ahead of [3]FFmpeg 8.0 releasing in a few weeks .



[1] https://www.phoronix.com/news/FFmpeg-July-2025-AVX-512

[2] https://github.com/FFmpeg/FFmpeg/commit/7f00e24d70545dc303e43b62ab5ea5c743411411

[3] https://www.phoronix.com/news/FFmpeg-8.0-Coming-Soon



smirky

commodore256

ssokolow

milkylainen

If the vendors started doing everything right, we would be out of a job.
Let's hear it for OSI and X! With those babies in the wings, we can count
on being employed until we drop, or get smart and switch to gardening,
paper folding, or something.
-- C. Philip Wood