[FFmpeg-devel] [PATCH] avcodec/cfhd: add x86 SIMD

Moritz Barsnick barsnick at gmx.net
Fri Aug 21 16:10:09 EEST 2020


On Fri, Aug 21, 2020 at 13:13:29 +0200, Paul B Mahol wrote:
> Overall speed changes for 1920x1080, yuv422p10le, 60fps from: 0.19x to 0.343x

Let me add my promised benchmarks. I have nothing modern here (these
CPUs are 10, 18 and 6 years old), but I can confirm the impressive
improvements:

                          Intel Atom D525   Intel Pentium 4  Intel Haswell i5-4200U

MT_BeartoothHighw....avi: 0.489x -> 0.835x  0.23x -> 0.55x   2.13x  -> 3.07x
bigger_res.mov:           0.057x -> 0.069x  0.02x -> 0.058x  0.174x -> 0.237x
timelapse-pt-momsapt.avi: 1.11x  -> 1.9x    0.53x -> 1.37x   4.3x   -> 6.2x

No more crashes with this patch, on any of the three platforms.

Cheers,
Moritz

P.S.: Both timelapse-pt-momsapt.avi and MT_BeartoothHighway_1min_Cineform.avi
end with corrupt AVI packets, resulting in
[cfhd @ 0xb2428c0] Escape codeword not found, probably corrupt data

Unrelated, certainly.


More information about the ffmpeg-devel mailing list