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

Philipp Meinen philipp
Fri May 23 12:25:32 CEST 2008


On Friday 23 May 2008 11.31:27 Stefano Sabatini wrote:
> On date Friday 2008-05-23 10:55:08 +0200, Philipp Meinen encoded:
> > Hello
> >
> > Here is the next try :)
> >
> > What I did:
> > - implement the function in the specific threading
> > implementations. - renamed function
> > - enhanced documentation
> > - make ffplay and ffmpeg use the interface
> > - print information messages once
>
> I think you should split the patch into many pieces, starting from
> the function definition and configure hacking, then modify ffplay
> and ffmpeg once the first patch got applied.
>
> This in order to save time and work both to you and to the
> reviewers, this also improves the svn log reading.

Yeah, that would probably be better.

[...]

Attached to this mail you will find the first patch which adds the
method to the four threading implementations.
Also the check for sched.h in configure is added to this patch.

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



More information about the ffmpeg-devel mailing list