[FFmpeg-devel] Allow interrupt callback for AVCodecContext

Nicolas George george at nsup.org
Mon Jan 6 09:03:39 CET 2014

Le sextidi 26 frimaire, an CCXXII, Don Moir a écrit :
> So you have to ask what the real hack is. Keeping an opened cached
> context or having an interrupt callback. An interrupt callback does
> not use any additional resources but then it has to be implemented
> for every decoder.

What do you mean, it "does not use additional resources"? A callback needs
to be called. That means the decoder has to frequently interrupt its work
and call some foreign function, consuming time and letting the caches get
cold in the process, precisely during the most speed-critical phase of a
video framework. And that just in the possible case someone would have the
same very specific needs as you.

And, by the way, can you please fix the time and date on your computer?


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140106/a5fae58c/attachment.asc>

More information about the ffmpeg-devel mailing list