[FFmpeg-devel] [PATCH] diracdec: rewrite golomb reader

Lynne dev at lynne.ee
Sun Mar 1 13:34:47 EET 2020


This version is able to output multiple coefficients at a time and
is able to altogether remove actual golomb code parsing.
Its also able to partially recover the last coefficient in case
the packet is incomplete.

Total decoder performance gain for 8bit 420 1080p lossless: 40%.
Total decoder performance gain for 10bit 420 1080p lossless: 40%.

clang and gcc were both able to vectorize the loop much better than
my handwritten assembly, though it can be improved.

Lookup table is a rewritten version of vc2hqdecode.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-diracdec-rewrite-golomb-reader.patch
Type: text/x-patch
Size: 74729 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200301/3827659f/attachment.bin>


More information about the ffmpeg-devel mailing list