[FFmpeg-devel] [PATCH 1/3] avcodec/tests/mjpegenc_huffman: Also test length counts
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Apr 15 03:52:34 EEST 2025
Patches attached.
I also tried to sort equal length codes in such a way that codes that
start and end with 1 bits are paired with values that occur less
frequently as suggested by Michael in
https://ffmpeg.org/pipermail/ffmpeg-devel/2025-April/341917.html. Yet
strangely this worsened compression (for the majority of the fate tests
affected by it). The patch can be found here:
https://github.com/mkver/FFmpeg/commits/mjpegenc_huffman/
- Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-avcodec-tests-mjpegenc_huffman-Also-test-length-coun.patch
Type: text/x-patch
Size: 5265 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250415/da1c9f77/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-avcodec-mjpegenc_huffman-Avoid-AV_QSORT-to-sort-entr.patch
Type: text/x-patch
Size: 26578 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250415/da1c9f77/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-avcodec-mjpegenc_huffman-Already-build-codes.patch
Type: text/x-patch
Size: 6497 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250415/da1c9f77/attachment-0002.bin>
More information about the ffmpeg-devel
mailing list