[FFmpeg-devel] Piece of code to parallelize
Paul B Mahol
onemda at gmail.com
Tue Aug 20 11:47:31 CEST 2013
On 8/20/13, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Mon, Aug 19, 2013 at 10:08:26PM -0300, LuizGuilherme CM wrote:
>> actually I'm little lost too, but, I assume for all the things we talked,
>> I'll use threads with loops restructuring and data dependences
>> techniques.
>> We talked about FFmpeg were already highly parallelized, and because of
>> that I'm here, I'm spend some time looking into the code and didn't have
>> a
>> good result with it.
>> In case of I can't work out with FFmpeg, I have to find something else.
>>
>> > Did you check
>> > http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/multithreading.txt
>> > ;hb=HEAD<
>> http://git.videolan.org/?p=ffmpeg.git;a=blob;f=doc/multithreading.txt;h=2b992fcbc53325577ad838dcf62519ff38493121;hb=HEAD
>> >
>> > ?
>> >
>>
>> I hadn't checked but I will check it out. Tks
>
> if you want to add multithreading support to some parts, also take a
> look at
> https://github.com/FFmpeg/FFmpeg/commit/a75529e81ea14c6d7c449e205aef97a0acb2645f
> and
> https://github.com/FFmpeg/FFmpeg/commit/83f97355927f8e5f343fc04039e658cadc5c8b39
>
> these show the changes that simple codecs and filters needed for
> multithreading support
There are simpler, i would say trivial examples for codecs
multithreading (both frame and slice).
>
> [...]
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> In fact, the RIAA has been known to suggest that students drop out
> of college or go to community college in order to be able to afford
> settlements. -- The RIAA
>
More information about the ffmpeg-devel
mailing list