[FFmpeg-devel] [PATCH] Use ff_thread_once() to initialize sin/cos static tables.

Michael Niedermayer michael at niedermayer.cc
Sun Oct 25 12:09:33 CET 2015

On Fri, Oct 23, 2015 at 03:35:15PM -0700, Dale Curtis wrote:
> Changes from partial initialization which happens for every
> initialize call to a full initialization once per process. Changes
> as discussed on list by wm4 and rbultje.
> Passes fft-test and fate suite.

on ARM (cubox) this changes
time ./ffmpeg -i ~/fate-suite/qt-surge-suite/surge-2-16-B-QDM2.mov
real    0m0.028s
user    0m0.010s
sys     0m0.010s

real    0m0.028s
user    0m0.020s
sys     0m0.000s


real    0m0.050s
user    0m0.020s
sys     0m0.030s

real    0m0.050s
user    0m0.030s
sys     0m0.010s

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is what and why we do it that matters, not just one of them.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151025/40f58c40/attachment.sig>

More information about the ffmpeg-devel mailing list