[FFmpeg-devel] [PATCH] lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler functions

Stefano Sabatini stefasab at gmail.com
Thu Oct 17 18:27:04 CEST 2013


On date Tuesday 2013-10-15 10:50:52 +0200, Stefano Sabatini encoded:
> On date Friday 2013-10-04 12:09:37 +0200, Stefano Sabatini encoded:
> > The new type is (almost) compatible with AV_OPT_TYPE_INT64.
> > 
> > TODO: bump minor, update APIchanges
> > ---
> >  libavutil/opt.c | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> >  libavutil/opt.h |  3 +++
> >  2 files changed, 74 insertions(+)
> 
> Updated, depends on the channel layout syntax patch. Bonus lswr patch
> at the end to make it clear what's my objective.
> -- 
> FFmpeg = Fundamental Faithless Magic Peaceless Empowered Generator

> From eb7a56de3bf5c3994e467be273675fac0e7e3d34 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Fri, 4 Oct 2013 12:07:55 +0200
> Subject: [PATCH] lavu/opt: add AV_OPT_TYPE_CHANNEL_LAYOUT and handler
>  functions
> 
> The new type is compatible with AV_OPT_TYPE_INT64, but allows to specify
> channel layout using the format accepted by av_get_channel_layout().
> 
> TODO: bump minor, update APIchanges
> ---
>  libavutil/opt.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
>  libavutil/opt.h |  3 +++
>  2 files changed, 76 insertions(+), 1 deletion(-)
[...]

> From 2f7e76600400717c774bf2fc9120e768d457ff05 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Tue, 15 Oct 2013 01:20:35 +0200
> Subject: [PATCH] lswr/swresample: convert ocl and icl options to
>  AV_OPT_TYPE_CHANNEL_LAYOUT
> 
> Improve interface flexibility.
> ---
>  libswresample/swresample.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
[...]

Both pushed with various minor tweaks.
-- 
FFmpeg = Fierce and Fascinating Muttering Patchable Egregious Generator


More information about the ffmpeg-devel mailing list