[FFmpeg-devel] [PATCH] FFV1 rectangular slice multithreading

Michael Niedermayer michaelni
Thu Oct 14 14:59:31 CEST 2010


Hi

Following patchset makes ffv1.2 much faster on multiprocessor systems
(requires version to be set to 2, which needs you to edit the source if you
 want to try as 1.2 bitstream is not finalized yet)

Compression wise 4 slices with foreman and large gops (300 frames) perform
slightly better (0.05% IIRC) than 1 slice.
With small gops (50 frames) compression is worse with the rangecoder and the
large context model by 0.8% otherwise better too.
(its quite obvious why its worse in that case and ill be working on that ...)

Comments welcome, bikesheds not, and ill apply this soon


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Rectangular-slice-support-for-ffv1.2.patch
Type: text/x-patch
Size: 17529 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101014/3af9395d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Assert-that-the-context-doesnt-overflow-in-ffv1.patch
Type: text/x-patch
Size: 723 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101014/3af9395d/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Store-quant-table-index-per-plane-and-slice.patch
Type: text/x-patch
Size: 4860 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101014/3af9395d/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101014/3af9395d/attachment.pgp>



More information about the ffmpeg-devel mailing list