WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: FFmpeg swscale Rewrite Begins Landing With (2.6x - 254x) Faster  (Read 58 times)

Offline nick65go

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 924
FFmpeg swscale Rewrite Begins Landing With (2.6x - 254x) Faster
« on: September 02, 2025, 03:46:17 PM »
https://www.phoronix.com/news/FFmpeg-swscale-Rewrite-Landing
This swscale rewrite is less dependent upon compiler auto vectorization and introduced a new x86 SIMD back-end.
Niklas Haas reported that the single-threaded code was 2.1x faster overall and as much as 40.3x faster.
For the multi-threaded usage it was 2.6x faster overall and as much as 254x faster!

Also, from that forum: "hand crafted assembler will always be faster than compiler optimized code and no programmer worth his salt that really cares about performance would rely on compiler optimizations."