[FFmpeg-devel] [PATCH 1/3] lavc: introduce a new decoding/encoding API with decoupled input/output
nfxjfg at googlemail.com
Tue Apr 19 17:11:15 CEST 2016
On Tue, 19 Apr 2016 16:31:40 +0200
Michael Niedermayer <michael at niedermayer.cc> wrote:
> On Tue, Apr 19, 2016 at 11:49:11AM +0200, wm4 wrote:
> > Until now, the decoding API was restricted to outputting 0 or 1 frames
> > per input packet. It also enforces a somewhat rigid dataflow in general.
> > This new API seeks to relax these restrictions by decoupling input and
> > output. Instead of doing a single call on each decode step, which may
> > consume the packet and may produce output, the new API requires the user
> > to send input first, and then ask for output.
> > For now, there are no codecs supporting this API. The API can work with
> > codecs using the old API, and most code added here is to make them
> > interoperate. The reverse is not possible, although for audio it might.
> > From Libav commit 05f66706d182eb0c36af54d72614bf4c33e957a9.
> > Signed-off-by: Anton Khirnov <anton at khirnov.net>
> > ---
> > This commit was skipped when merging from Libav.
> > ---
> > doc/APIchanges | 5 +
> > libavcodec/avcodec.h | 241 ++++++++++++++++++++++++++++++++++++++++-
> > libavcodec/internal.h | 13 +++
> > libavcodec/utils.c | 286 ++++++++++++++++++++++++++++++++++++++++++++++++-
> > libavcodec/version.h | 2 +-
> > libavformat/avformat.h | 4 +-
> > 6 files changed, 543 insertions(+), 8 deletions(-)
> > diff --git a/doc/APIchanges b/doc/APIchanges
> > index 8a14e77..ef69e98 100644
> > --- a/doc/APIchanges
> > +++ b/doc/APIchanges
> > @@ -15,6 +15,11 @@ libavutil: 2015-08-28
> > API changes, most recent first:
> > +2016-xx-xx - xxxxxxx - lavc 57.36.0 - avcodec.h
> the micro version is wrong
More information about the ffmpeg-devel