[FFmpeg-devel] [PATCH 1/3] lavc: introduce a new decoding/encoding API with decoupled input/output

Michael Niedermayer michael at niedermayer.cc
Tue Apr 19 16:31:40 CEST 2016


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


[...]
> diff --git a/libavcodec/version.h b/libavcodec/version.h
> index b8ef9c5..8712425 100644
> --- a/libavcodec/version.h
> +++ b/libavcodec/version.h
> @@ -28,7 +28,7 @@
>  #include "libavutil/version.h"
>  
>  #define LIBAVCODEC_VERSION_MAJOR  57
> -#define LIBAVCODEC_VERSION_MINOR  35
> +#define LIBAVCODEC_VERSION_MINOR  36
>  #define LIBAVCODEC_VERSION_MICRO 100


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160419/146eb5a5/attachment.sig>


More information about the ffmpeg-devel mailing list