FFmpeg Lands Latest AVX-512 Optimization: 1.372x Faster In Pixel Format Conversion
([Multimedia] 5 Hours Ago
FFmpeg + AVX-512)
- Reference: 0001647224
- News link: https://www.phoronix.com/news/FFmpeg-AVX-512-1.372x
- Source link:
The latest hand-tuned code in the FFmpeg multimedia library for allowing better performance on today's modern Intel/AMD AVX-512-capable processors is showing 1.372x faster performance for RGB24 to RGBA pixel format conversions.
Prominent FFmpeg developer Niklas Haas has extended the FFmpeg libswscale to make use of AVX-512's Vector Permute Byte "VPERMB" instructions to help with more efficient video scaling and pixel format conversion. With VPERMB the code now benefits from full cross-lane byte permutation to provide better performance for non-lane-aligned scenarios.
The exciting takeaway for end-users of FFmpeg is that Haas found RGBA24 1920x1080 to RGBA 1920x1080 conversion was 1.372x faster with this reworked code on AVX-512 processors. This is great news for AMD Zen 4 and newer CPUs or Intel Xeon and other select Intel CPUs supporting AVX-512.
More details for those interested in [1]this commit .
[1] https://github.com/FFmpeg/FFmpeg/commit/a785ff4ca2a73d151d5a8b7ce5d101063fe3dc3c
Prominent FFmpeg developer Niklas Haas has extended the FFmpeg libswscale to make use of AVX-512's Vector Permute Byte "VPERMB" instructions to help with more efficient video scaling and pixel format conversion. With VPERMB the code now benefits from full cross-lane byte permutation to provide better performance for non-lane-aligned scenarios.
The exciting takeaway for end-users of FFmpeg is that Haas found RGBA24 1920x1080 to RGBA 1920x1080 conversion was 1.372x faster with this reworked code on AVX-512 processors. This is great news for AMD Zen 4 and newer CPUs or Intel Xeon and other select Intel CPUs supporting AVX-512.
More details for those interested in [1]this commit .
[1] https://github.com/FFmpeg/FFmpeg/commit/a785ff4ca2a73d151d5a8b7ce5d101063fe3dc3c