[FFmpeg-devel] [PATCH] Runtime detection for the number of processors/cores

Philipp Meinen philipp
Wed May 21 18:09:30 CEST 2008


Here is the second version of my patch.

The function av_get_processor_num is now located in new
cpu.[hc] files under libavutil.

Also I extended the method to be able to detect the
number of available processors in three different environments.

I added some checks to the configure script to check for 
<sched.h> and <windows.h> .
Please let me know if I missunderstood the build script.

Regards, Philipp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001_ffmpeg_runtime_thread_count_v2.diff
Type: text/x-diff
Size: 9524 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080521/fd4c7492/attachment.diff>

More information about the ffmpeg-devel mailing list