[FFmpeg-devel] [PATCH] videotoolbox: allow to enable the async decoding.
Clément Bœsch
u at pkh.me
Thu Sep 24 11:45:42 CEST 2015
On Sun, Aug 09, 2015 at 01:11:44PM +0200, Sebastien Zwickert wrote:
> This patch allows to use the Videotoolbox API in asynchonous mode.
> Note that when using async decoding the user is responsible for
> releasing the async frame.
> Moreover, an option called videotoolbox_async was added to enable
> async decoding with ffmpeg CLI.
>
> ---
> ffmpeg.h | 1 +
> ffmpeg_opt.c | 1 +
> ffmpeg_videotoolbox.c | 69 +++++++++++++----
> libavcodec/videotoolbox.c | 186 ++++++++++++++++++++++++++++++++++++++++------
> libavcodec/videotoolbox.h | 73 ++++++++++++++++++
> 5 files changed, 294 insertions(+), 36 deletions(-)
>
Ping and more comments on this:
- is it meaningful to have a limit on the internal queue size (for memory
load for instance), or it's not relevant in case of hw accel?
- isn't it missing a flush mechanism so seeking can be accurate?
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150924/93a6af2a/attachment.sig>
More information about the ffmpeg-devel
mailing list