[FFmpeg-devel] libavcodec: inter thread signaling
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Feb 28 07:31:12 CET 2012
On 27 Feb 2012, at 17:45, Andrey Utkin <andrey.krieger.utkin at gmail.com> wrote:
> 2012/2/27 Anoop Bhagyanath <bhagyanath.anoop at gmail.com>:
>>
>> *when a decoding thread needs some data from another frame(basically
>> another decoding thread), it awaits the
>> progress of that thread. but on what basis this other decoding thread know
>> that someone is waiting for the data
>> from him/her.
>
> I think it does not know, and does not need to know.
To make this more clear: each decoding thread stores its progress in the frame it decodes.
It is completely irrelevant to it if anyone needs that information right at that moment or not.
More information about the ffmpeg-devel
mailing list