[libav-devel] [PATCH] Add a new channel layout API

2017-06-29 Thread Vittorio Giovara
From: Anton Khirnov The new API is more extensible and allows for custom layouts. More accurate information is exported, eg for decoders that do not set a channel layout, lavc will not make one up for them. Deprecate the old API working with just uint64_t bitmasks. Expanded

Re: [libav-devel] [PATCH 01/25] Add a new channel layout API

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 5:14 AM, wm4 wrote: > On Wed, 28 Jun 2017 18:10:45 -0400 > Vittorio Giovara wrote: >> /** >> + * An AVChannelLayout holds information about the channel layout of audio >> data. >> + * >> + * A channel layout here is

[libav-devel] [PATCH] lavr: switch to the new channel layout API

2017-06-29 Thread Vittorio Giovara
From: Anton Khirnov Set a whitelist of supported channel order. Signed-off-by: Vittorio Giovara --- libavresample/audio_mix.c| 148 ++-- libavresample/audio_mix_matrix.c | 477 ++-

[libav-devel] [PATCH] lavr: Only allow pass-through of ambisonic channel layouts

2017-06-29 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara --- libavresample/utils.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavresample/utils.c b/libavresample/utils.c index 5e4a9f3ac3..cadfd5474f 100644 --- a/libavresample/utils.c +++ b/libavresample/utils.c @@ -46,8

Re: [libav-devel] [PATCH 18/25] lavr: Only let pass-through ambisonic channel layouts

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 5:23 AM, wm4 wrote: > On Wed, 28 Jun 2017 18:11:02 -0400 > Vittorio Giovara wrote: > >> Resampling or conversion to/from ambisonic audio are currently >> unsupported features. >> >> Signed-off-by: Vittorio Giovara

Re: [libav-devel] [PATCH 18/25] lavr: Only let pass-through ambisonic channel layouts

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 3:22 AM, Diego Biurrun wrote: > On Wed, Jun 28, 2017 at 06:11:02PM -0400, Vittorio Giovara wrote: >> Resampling or conversion to/from ambisonic audio are currently >> unsupported features. > > Maybe you mean something like > > lavr: Only allow

Re: [libav-devel] [PATCH 12/25] lavc: switch to the new channel layout API

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 5:18 AM, wm4 wrote: > On Wed, 28 Jun 2017 18:10:56 -0400 > Vittorio Giovara wrote: > >> Since the request_channel_layout is used only by a handful of codecs, >> move the option to codec private contexts. > > Not sure if

Re: [libav-devel] [PATCH 08/25] libavfilter changes for the new channel layout API

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 3:59 AM, Diego Biurrun wrote: > On Wed, Jun 28, 2017 at 06:10:52PM -0400, Vittorio Giovara wrote: >> --- a/libavfilter/af_aformat.c >> +++ b/libavfilter/af_aformat.c >> @@ -94,6 +94,13 @@ static int get_sample_rate(const char *samplerate) >> +static int

Re: [libav-devel] [PATCH 20/25] lavf: Add non diegetic stream disposition flag

2017-06-29 Thread Vittorio Giovara
On Thu, Jun 29, 2017 at 4:02 AM, Diego Biurrun wrote: > On Wed, Jun 28, 2017 at 06:11:04PM -0400, Vittorio Giovara wrote: >> Signed-off-by: Vittorio Giovara >> --- >> libavformat/avformat.h | 6 ++ >> libavformat/dump.c | 2 ++ >> 2 files

[libav-devel] Libav Sprint Pelhřimov

2017-06-29 Thread Alexandra Hájková
Hello everyone, I would like to announce another Libav sprint in the wilds around Pelhřimov, the date was set to 21-23 July, but the next weekend (28-30) is also possible. The plans are: * hacking * cooking * enjoying countryside * evenutally others. Please, reply here, if you're interested.

Re: [libav-devel] [PATCH] lavu: Add DRM hwcontext

2017-06-29 Thread Diego Biurrun
On Thu, Jun 29, 2017 at 10:32:16AM +0100, Mark Thompson wrote: > On 29/06/17 08:31, Diego Biurrun wrote: > > On Sun, Jun 18, 2017 at 07:08:02PM +0100, Mark Thompson wrote: > >> --- /dev/null > >> +++ b/libavutil/hwcontext_drm.h > >> @@ -0,0 +1,145 @@ > >> + > >> +#ifndef AVUTIL_HWCONTEXT_DRM_H >

Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-29 Thread wm4
On Thu, 29 Jun 2017 10:25:09 +0100 Mark Thompson wrote: > This does actually work already by magic :) > > Both NV12 and P010 surfaces become UNORM R and RG planes, just with a > different size of sample underneath. Use in OpenCL then sees them > identically as planes of

Re: [libav-devel] [PATCH] lavu: Add DRM hwcontext

2017-06-29 Thread Mark Thompson
On 29/06/17 08:31, Diego Biurrun wrote: > On Sun, Jun 18, 2017 at 07:08:02PM +0100, Mark Thompson wrote: >> --- a/configure >> +++ b/configure >> @@ -190,6 +190,7 @@ External library support: >>--enable-avisynth video frameserver >>--enable-avxsynth Linux version of

Re: [libav-devel] [PATCH 07/12] lavfi: Add some common code for OpenCL filtering

2017-06-29 Thread Mark Thompson
On 29/06/17 02:16, Jun Zhao wrote: > On 2017/6/28 5:50, Mark Thompson wrote: >> --- >> libavfilter/Makefile | 6 + >> libavfilter/opencl.c | 285 >> +++ >> libavfilter/opencl.h | 74 +++ >> libavfilter/opencl/rgbyuv.cl |

Re: [libav-devel] [PATCH 18/25] lavr: Only let pass-through ambisonic channel layouts

2017-06-29 Thread wm4
On Wed, 28 Jun 2017 18:11:02 -0400 Vittorio Giovara wrote: > Resampling or conversion to/from ambisonic audio are currently > unsupported features. > > Signed-off-by: Vittorio Giovara > --- > libavresample/utils.c | 8 > 1 file

Re: [libav-devel] [PATCH 17/25] channel_layout: Add Ambisonic components and channel order

2017-06-29 Thread wm4
On Wed, 28 Jun 2017 18:11:01 -0400 Vittorio Giovara wrote: > Signed-off-by: Vittorio Giovara > --- > libavutil/channel_layout.c | 86 > -- > libavutil/channel_layout.h | 33 ++ >

Re: [libav-devel] [PATCH 12/25] lavc: switch to the new channel layout API

2017-06-29 Thread wm4
On Wed, 28 Jun 2017 18:10:56 -0400 Vittorio Giovara wrote: > Since the request_channel_layout is used only by a handful of codecs, > move the option to codec private contexts. Not sure if that is justified... ___

Re: [libav-devel] [PATCH 01/25] Add a new channel layout API

2017-06-29 Thread wm4
On Wed, 28 Jun 2017 18:10:45 -0400 Vittorio Giovara wrote: > From: Anton Khirnov > > The new API is more extensible and allows for custom layouts. > More accurate information is exported, eg for decoders that do not > set a channel layout, lavc

Re: [libav-devel] [PATCH 04/12] hwcontext_opencl: QSV to OpenCL mapping for Intel Media SDK

2017-06-29 Thread Diego Biurrun
On Tue, Jun 27, 2017 at 10:50:46PM +0100, Mark Thompson wrote: > --- a/configure > +++ b/configure > @@ -1720,6 +1720,7 @@ HAVE_LIST=" > libc_msvcrt > MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS > opencl_beignet_vaapi > +opencl_intel_media_vaapi OK, I see that you add a second

Re: [libav-devel] [PATCH 03/12] hwcontext_opencl: VAAPI to OpenCL mapping for Intel i965+beignet

2017-06-29 Thread Diego Biurrun
On Tue, Jun 27, 2017 at 10:50:45PM +0100, Mark Thompson wrote: > --- a/configure > +++ b/configure > @@ -1719,6 +1719,7 @@ HAVE_LIST=" > dos_paths > libc_msvcrt > MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS > +opencl_beignet_vaapi > sdl > section_data_rel_ro > threads

Re: [libav-devel] [PATCH 22/25] aac: Allow pass-through transcoding of ambisonic audio

2017-06-29 Thread Diego Biurrun
On Wed, Jun 28, 2017 at 06:11:06PM -0400, Vittorio Giovara wrote: > The defacto mov standard mandates support for PCM and AAC: only the de facto MOV Diego ___ libav-devel mailing list libav-devel@libav.org

Re: [libav-devel] [PATCH 20/25] lavf: Add non diegetic stream disposition flag

2017-06-29 Thread Diego Biurrun
On Wed, Jun 28, 2017 at 06:11:04PM -0400, Vittorio Giovara wrote: > Signed-off-by: Vittorio Giovara > --- > libavformat/avformat.h | 6 ++ > libavformat/dump.c | 2 ++ > 2 files changed, 8 insertions(+) non-diegetic > --- a/libavformat/dump.c > +++

Re: [libav-devel] [PATCH 08/25] libavfilter changes for the new channel layout API

2017-06-29 Thread Diego Biurrun
On Wed, Jun 28, 2017 at 06:10:52PM -0400, Vittorio Giovara wrote: > --- a/libavfilter/af_aformat.c > +++ b/libavfilter/af_aformat.c > @@ -94,6 +94,13 @@ static int get_sample_rate(const char *samplerate) > +static int get_channel_layout(const char *channel_layout) > +{ > +AVChannelLayout

Re: [libav-devel] [PATCH] lavu: Add DRM hwcontext

2017-06-29 Thread Diego Biurrun
On Sun, Jun 18, 2017 at 07:08:02PM +0100, Mark Thompson wrote: > --- a/configure > +++ b/configure > @@ -190,6 +190,7 @@ External library support: >--enable-avisynth video frameserver >--enable-avxsynth Linux version of AviSynth >--enable-bzlib bzip2

Re: [libav-devel] [PATCH 18/25] lavr: Only let pass-through ambisonic channel layouts

2017-06-29 Thread Diego Biurrun
On Wed, Jun 28, 2017 at 06:11:02PM -0400, Vittorio Giovara wrote: > Resampling or conversion to/from ambisonic audio are currently > unsupported features. Maybe you mean something like lavr: Only allow pass-through of ambisonic channel layouts ? Your current commit title does not parse...

Re: [libav-devel] [PATCH 24/25] fate: Add ambisonic tests

2017-06-29 Thread Diego Biurrun
On Wed, Jun 28, 2017 at 06:11:08PM -0400, Vittorio Giovara wrote: > Signed-off-by: Vittorio Giovara > --- > tests/fate/mov.mak| 3 +++ > tests/fate/opus.mak | 5 + > tests/ref/fate/mov-ambisonic | 1 + > tests/ref/fate/opus-ambisonic | 1 + >