[FFmpeg-devel] FFV1 slicecrc: "hashxx" instead of "CRC" for speed?

Kieran Kunhya kierank at obe.tv
Wed Oct 26 10:25:18 EEST 2022


On Tue, 25 Oct 2022, 21:32 Peter B., <pb at das-werkstatt.com> wrote:

> Hi everyone :)
>
> Would it possibly have a significant impact on coding speed of FFV1's
> slicecrc option (Where a CRC is calculated for each frame slice), to use
> a faster algorithm instead (if one exists)?
> I'm wondering if, for example something like "xxHash" may warrant a try?
> (Haven't found CRC vs xxHash benchmarks yet, but I'm still looking)
>
> Anyhow,
> Thanks for any of your time :D


I haven't benchmarked the overhead of the CRC in FFv1 vs the encode or
decode process.
But FFmpeg's CRC could be optimised using multiple unrolled tables or SIMD
or other approaches.

Regards,
Kieran Kunhya


More information about the ffmpeg-devel mailing list