Re: [libav-devel] [PATCH] cook: Use the correct table for 6-bit stereo coupling

2018-10-14 Thread Vittorio Giovara
On Sun, Oct 14, 2018 at 3:32 PM Luca Barbato wrote: > Thanks to Kostya for digging it out and telling me. > --- > libavcodec/cookdata.h | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > diff --git a/libavcodec/cookdata.h b/libavcodec/cookdata.h > index

Re: [libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-21 Thread Vittorio Giovara
On Fri, Sep 21, 2018 at 7:06 PM, Diego Biurrun wrote: > On Fri, Sep 21, 2018 at 05:28:01PM +0200, Vittorio Giovara wrote: > > On Fri, Sep 21, 2018 at 2:56 PM, Diego Biurrun wrote: > > > On Thu, Sep 20, 2018 at 01:39:20PM +0200, Vittorio Giovara wrote: > > > > On

Re: [libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-21 Thread Vittorio Giovara
On Fri, Sep 21, 2018 at 2:56 PM, Diego Biurrun wrote: > On Thu, Sep 20, 2018 at 01:39:20PM +0200, Vittorio Giovara wrote: > > On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun > wrote: > > > --- a/tests/fate-run.sh > > > +++ b/tests/fate-run.sh > > > -FA

Re: [libav-devel] [PATCH 16/20] tests: Move do_lavf() to fate-run.sh

2018-09-20 Thread Vittorio Giovara
On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun wrote: > --- > tests/fate-run.sh| 7 ++ > tests/fate/avformat.mak | 53 +++ > tests/lavf-regression.sh | 59 -- > -- > tests/ref/lavf/asf | 6

Re: [libav-devel] [PATCH 02/20] tests: Enable CRC test for yuv4mpeg

2018-09-20 Thread Vittorio Giovara
On Thu, Sep 20, 2018 at 10:47 AM, Diego Biurrun wrote: > --- > tests/lavf-regression.sh | 2 +- > tests/ref/lavf/y4m | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/lavf-regression.sh b/tests/lavf-regression.sh > index 18f000bbea..fc9869cb9d 100755 > ---

Re: [libav-devel] [PATCH] libopenh264dec: Export the decoded profile and level in AVCodecContext

2018-08-31 Thread Vittorio Giovara
On Fri, Aug 31, 2018 at 11:25 AM, Martin Storsjö wrote: > --- > libavcodec/libopenh264dec.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/libopenh264dec.c b/libavcodec/libopenh264dec.c > index 5990a72ff9..7e9e66743a 100644 > --- a/libavcodec/libopenh264dec.c > +++

[libav-devel] [PATCH] aac: Rework extradata parsing code

2018-04-12 Thread Vittorio Giovara
- enable the parsing code - use the new buffer instead of replacing the context one - do not push/pop configuration, just discard the exiting one - propagate errors correctly --- libavcodec/aacdec.c | 22 -- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git

[libav-devel] [PATCH 1/6] avprobe: Support printing strings with empty keys

2018-04-04 Thread Vittorio Giovara
--- avtools/avprobe.c | 38 ++ 1 file changed, 26 insertions(+), 12 deletions(-) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index a9ca1934ca..d6809042f7 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -235,10 +235,14 @@ static void

[libav-devel] [PATCH 3/6] display: Add AVDisplayOrientation API

2018-04-04 Thread Vittorio Giovara
that describe which rendering operations should be performed on the frame. The existing API is still available and useful in case of custom rotations. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Note: the new operations describe a clockwise rotation, while the old API pr

[libav-devel] [PATCH 6/6] avconv: Support automatic horizontal and vertical flip

2018-04-04 Thread Vittorio Giovara
--- avtools/avconv_filter.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/avtools/avconv_filter.c b/avtools/avconv_filter.c index 858dc0409b..5a535a7ac1 100644 --- a/avtools/avconv_filter.c +++ b/avtools/avconv_filter.c @@ -551,6 +551,17 @@ static int

[libav-devel] [PATCH 2/6] avprobe: Print a user-friendly version of the display matrix

2018-04-04 Thread Vittorio Giovara
Shift fixed point numbers to be actual decimal numbers. --- avtools/avprobe.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index d6809042f7..0ea9ff46fd 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -131,6 +131,7 @@ typedef

[libav-devel] [PATCH 5/6] avconv: Port automatic rotation to the new orientation API

2018-04-04 Thread Vittorio Giovara
Needed to avoid conflicts with the upcoming automatic flip. --- avtools/avconv_filter.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/avtools/avconv_filter.c b/avtools/avconv_filter.c index 884478da27..858dc0409b 100644 --- a/avtools/avconv_filter.c +++

[libav-devel] [PATCH 4/6] avprobe: Report the display orientation operations

2018-04-04 Thread Vittorio Giovara
--- avtools/avprobe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index 0ea9ff46fd..8ac8960014 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -809,6 +809,8 @@ static void show_stream(InputFile *ifile, InputStream *ist)

[libav-devel] [PATCH] libx265: Support tiny video sizes

2018-03-16 Thread Vittorio Giovara
Where tiny is less than the default CTU size. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/libx265.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index fd5452193b..8f1d60b4e5 100644 --- a/liba

Re: [libav-devel] [PATCH] hls: Add a discontinuity marker on recover

2018-03-06 Thread Vittorio Giovara
On Tue, Mar 6, 2018 at 2:50 PM, Luca Barbato wrote: > On 19/02/2018 13:49, Luca Barbato wrote: > >> On 16/02/2018 16:09, Luca Barbato wrote: >> >>> It seems to improve the compatibility with the js demuxers. >>> --- >>> libavformat/hlsenc.c | 25 -

Re: [libav-devel] [PATCH] Support AV1 encoding using libaom

2018-02-27 Thread Vittorio Giovara
On Tue, Feb 27, 2018 at 5:25 AM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 26/02/2018 18:21, Vittorio Giovara wrote: > >> On Mon, Feb 26, 2018 at 12:10 AM, Luca Barbato <lu_z...@gentoo.org> >> wrote: >> >> --- >>> >>> + >&g

Re: [libav-devel] [PATCH] Support AV1 encoding using libaom

2018-02-26 Thread Vittorio Giovara
On Mon, Feb 26, 2018 at 12:10 AM, Luca Barbato wrote: > --- > > + > +if (avctx->qmin > 0) > +enccfg.rc_min_quantizer = avctx->qmin; > +if (avctx->qmax > 0) > +enccfg.rc_max_quantizer = avctx->qmax; > + > +#if FF_API_PRIVATE_OPT >

Re: [libav-devel] [PATCH 7/7] openh264: Use the framerate information

2018-02-16 Thread Vittorio Giovara
On Fri, Feb 16, 2018 at 12:02 PM, Luca Barbato wrote: > And not the often misleading timebase one. > --- > libavcodec/libopenh264enc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libopenh264enc.c b/libavcodec/libopenh264enc.c > index

Re: [libav-devel] [PATCH 4/7] x264: Use the framerate information instead of the timebase

2018-02-16 Thread Vittorio Giovara
On Fri, Feb 16, 2018 at 12:02 PM, Luca Barbato wrote: > Unbreaks the rate-control behaviour. > Same comment as for the x265 patch. This seems to properly use x264 API. --- > libavcodec/libx264.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git

Re: [libav-devel] [PATCH 1/7] avcodec: Always fill the encoder target framerate

2018-02-16 Thread Vittorio Giovara
On Fri, Feb 16, 2018 at 12:02 PM, Luca Barbato wrote: > In preparation of using it in the encoders. > --- > libavcodec/avcodec.h | 3 ++- > libavcodec/utils.c | 5 + > 2 files changed, 7 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/avcodec.h

Re: [libav-devel] [PATCH 3/7] x265: Use the framerate information instead of the timebase

2018-02-16 Thread Vittorio Giovara
On Fri, Feb 16, 2018 at 9:15 PM, Luca Barbato wrote: > On 17/02/2018 00:57, wm4 wrote: > >> On Fri, 16 Feb 2018 18:02:05 +0100 >> Luca Barbato wrote: >> >> Unbreaks the rate-control behaviour. >>> >> Would be nice that the commit message is expanded,

Re: [libav-devel] [PATCH 1/2] hls: Tell the actual segment being opened in verbose mode

2018-02-15 Thread Vittorio Giovara
On Thu, Feb 15, 2018 at 3:20 PM, Luca Barbato wrote: > --- > libavformat/hls.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavformat/hls.c b/libavformat/hls.c > index c9da4e30ec..5aa633269f 100644 > --- a/libavformat/hls.c > +++ b/libavformat/hls.c > @@ -362,6

Re: [libav-devel] [PATCH 2/2] hls: Use the correct logging context

2018-02-15 Thread Vittorio Giovara
On Thu, Feb 15, 2018 at 3:20 PM, Luca Barbato wrote: > --- > libavformat/hls.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.c > index 5aa633269f..6876b8411e 100644 > --- a/libavformat/hls.c > +++

Re: [libav-devel] [PATCH] Add AV1 video decoding support through libaom

2018-02-11 Thread Vittorio Giovara
On Sun, Feb 11, 2018 at 11:50 AM, Diego Biurrun wrote: > On Fri, Feb 09, 2018 at 10:51:36AM +0100, Luca Barbato wrote: > > libavcodec/version.h | 2 +- > > > > --- a/libavcodec/version.h > > +++ b/libavcodec/version.h > > @@ -28,7 +28,7 @@ > > > > #define

Re: [libav-devel] [PATCH 07/25] lavfi, buffersrc: switch to the new channel layout API

2018-01-19 Thread Vittorio Giovara
On Sat, Jul 22, 2017 at 12:02 PM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-06-29 00:10:51) > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> > > --- > > libavfilter/audio.c | 17 +-- >

Re: [libav-devel] [PATCH 05/25] avtools: Use the new channel layout API in AVFrame

2018-01-19 Thread Vittorio Giovara
On Sat, Jul 22, 2017 at 10:15 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-06-29 00:10:49) > > --- > > avtools/avconv.c| 2 +- > > avtools/avconv_filter.c | 2 +- > > avtools/avplay.c| 4 ++-- > > 3 file

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

2018-01-19 Thread Vittorio Giovara
On Sat, Jul 22, 2017 at 10:13 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-06-29 00:10:48) > > From: Anton Khirnov <an...@khirnov.net> > > > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com>

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

2018-01-19 Thread Vittorio Giovara
On Sat, Jul 22, 2017 at 10:02 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-06-29 00:10:48) > > From: Anton Khirnov <an...@khirnov.net> > > > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com>

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

2018-01-19 Thread Vittorio Giovara
On Sat, Jul 22, 2017 at 10:40 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-06-29 00:10:50) > > diff --git a/libavresample/utils.c b/libavresample/utils.c > > index bab2153b4b..15c827efbe 100644 > > --- a/libavresample/utils.c >

[libav-devel] [RFC] [PATCH] Set video strides to a custom type in preparation of a change to ptrdiff_t

2018-01-05 Thread Vittorio Giovara
This patch introduces a new type, av_stride, which is set for any representation of strides or linesize, including AVFrame and av_image_* APIs. This is done in preparation of a future switch to ptrdiff_t, a better suited type to represent this type of data, in a way that it is atomically changed

Re: [libav-devel] [PATCH] stereo3d: Support view type for frame sequence type

2017-11-27 Thread Vittorio Giovara
On Tue, Oct 3, 2017 at 9:41 AM, Vittorio Giovara <vittorio.giov...@gmail.com > wrote: > > > On Tue, Oct 3, 2017 at 9:29 AM, wm4 <nfx...@googlemail.com> wrote: > >> On Tue, 3 Oct 2017 09:26:39 -0400 >> Vittorio Giovara <vittorio.giov...@gmail.com>

Re: [libav-devel] [PATCH 5/5] Drop some unnecessary config.h #includes

2017-11-12 Thread Vittorio Giovara
On Fri, Nov 3, 2017 at 12:43 PM, Diego Biurrun wrote: > --- > > Noticed while working on the previous patch, spun off into a separate > commit. > > Out of curiosity, how did you find these extra includes? Did you use some tool or did you manually check every file? Thanks --

Re: [libav-devel] [PATCH] avutil: make AV_NOPTS_VALUE signed negative

2017-11-05 Thread Vittorio Giovara
On Sun, Nov 5, 2017 at 6:21 AM, Rémi Denis-Courmont wrote: > libav generally uses int64_t to represent timestamps, and thus > AV_NOPTS_VALUE has to fit witin the range of int64_t. > > The current definition of AV_NOPTS_VALUE results in AV_NOPTS_VALUE > having the same type as

Re: [libav-devel] [PATCH 2/3] avformat/matroskadec: Call matroska_read_close() on header parsing error

2017-11-02 Thread Vittorio Giovara
On Wed, Nov 1, 2017 at 10:10 PM, Sean McGovern wrote: > From: Michael Niedermayer > > Fixes memleak > nit full stop Fixes Ticket5169 > Please use the syntax "Bug-Id: ffmpeg/Ticket5169". > Signed-off-by: Michael Niedermayer

Re: [libav-devel] [RFC][PATCH] Drop non-refcounted-frame code on the next version bump

2017-10-24 Thread Vittorio Giovara
On Tue, Oct 24, 2017 at 2:21 PM, Diego Biurrun wrote: > --- > > I'm quite suspicious of this. It passes tests w/ and w/o a lavc version > bump, > doesn't that mean that the compat layer works as expected? -- Vittorio ___ libav-devel

Re: [libav-devel] [PATCH] stereo3d: Support view type for frame sequence type

2017-10-03 Thread Vittorio Giovara
On Tue, Oct 3, 2017 at 9:29 AM, wm4 <nfx...@googlemail.com> wrote: > On Tue, 3 Oct 2017 09:26:39 -0400 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > > > Implement detection in h264 and hevc and insertion in framepack filter. > > > > Signed-

[libav-devel] [PATCH] stereo3d: Support view type for frame sequence type

2017-10-03 Thread Vittorio Giovara
Implement detection in h264 and hevc and insertion in framepack filter. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- doc/APIchanges | 3 +++ libavcodec/h264_sei.c | 7 --- libavcodec/h264_sei.h | 1 + libavcodec/h264_slice.c

Re: [libav-devel] [PATCH] h264_sei: handle stereoscopy frame sequential flags

2017-10-03 Thread Vittorio Giovara
On Tue, Oct 3, 2017 at 9:19 AM, Steve Lhomme <rob...@gmail.com> wrote: > On Thu, Sep 21, 2017 at 7:15 PM, Vittorio Giovara > <vittorio.giov...@gmail.com> wrote: > > On Thu, Sep 21, 2017 at 5:40 PM, Steve Lhomme <rob...@gmail.com> wrote: > > > >> On T

[libav-devel] [PATCH] prores: Always assume limited range

2017-09-27 Thread Vittorio Giovara
As defined by the spcifications --- libavcodec/proresdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/proresdec.c b/libavcodec/proresdec.c index bc5bdb5a4d..c86d433f50 100644 --- a/libavcodec/proresdec.c +++ b/libavcodec/proresdec.c @@ -177,6 +177,7 @@ static int

Re: [libav-devel] [PATCH] configure: cosmetics: Wrap a configure error string to the paragraph length

2017-09-23 Thread Vittorio Giovara
On Sat, Sep 23, 2017 at 11:14 AM, Diego Biurrun <di...@biurrun.de> wrote: > On Thu, Sep 21, 2017 at 07:08:00PM +0200, Vittorio Giovara wrote: > > On Thu, Sep 21, 2017 at 6:34 PM, Diego Biurrun <di...@biurrun.de> wrote: > > > On Thu, Sep 21, 2017 at 01:37:03PM

Re: [libav-devel] [PATCH] h264_sei: handle stereoscopy frame sequential flags

2017-09-21 Thread Vittorio Giovara
On Thu, Sep 21, 2017 at 5:40 PM, Steve Lhomme <rob...@gmail.com> wrote: > On Thu, Sep 21, 2017 at 4:58 PM, Vittorio Giovara > <vittorio.giov...@gmail.com> wrote: > > On Thu, Sep 21, 2017 at 4:03 PM, Steve Lhomme <rob...@gmail.com> wrote: > > > >>

Re: [libav-devel] [RFC][PATCH] lavf: Wrap _DEFAULT_SOURCE symbols

2017-09-21 Thread Vittorio Giovara
On Thu, Sep 21, 2017 at 6:35 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Thu, Sep 21, 2017 at 01:44:44PM +0200, Vittorio Giovara wrote: > > Silence warnings such as: > > > > libavformat/udp.c:27:9: warning: '_DEFAULT_SOURCE' > >macro redefined

Re: [libav-devel] [PATCH] configure: cosmetics: Wrap a configure error string to the paragraph length

2017-09-21 Thread Vittorio Giovara
On Thu, Sep 21, 2017 at 6:34 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Thu, Sep 21, 2017 at 01:37:03PM +0200, Vittorio Giovara wrote: > > --- a/configure > > +++ b/configure > > @@ -401,8 +401,8 @@ include the log this produces with your report. > > E

Re: [libav-devel] [PATCH] h264_sei: handle stereoscopy frame sequential flags

2017-09-21 Thread Vittorio Giovara
On Thu, Sep 21, 2017 at 4:03 PM, Steve Lhomme wrote: > From: "Mohammed (Shaan) Huzaifa Danish" > > --- > fix previous patch skipping the wrong amount of bits > --- > libavcodec/h264_sei.c | 6 -- > libavcodec/h264_sei.h | 1 + >

[libav-devel] [PATCH] cbs_h2645: Initialize a structure before use

2017-09-21 Thread Vittorio Giovara
--- This is to silence this warning (which, admittedly, could also be ignored) cbs_h2645.c:1007:58: warning: variable 'sps_ext' is uninitialized when used here [-Wuninitialized] err = cbs_h264_write_sps_extension(ctx, pbc, sps_ext); ^~~

[libav-devel] [RFC][PATCH] lavf: Wrap _DEFAULT_SOURCE symbols

2017-09-21 Thread Vittorio Giovara
Silence warnings such as: libavformat/udp.c:27:9: warning: '_DEFAULT_SOURCE' macro redefined [-Wmacro-redefined] #define _DEFAULT_SOURCE ^ :4:9: note: previous definition is here #define _DEFAULT_SOURCE 1 ^ --- I'm not sure this is the right approach, since configure

[libav-devel] [PATCH] configure: cosmetics: Wrap a configure error string to the paragraph length

2017-09-21 Thread Vittorio Giovara
--- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index a3cfe37680..8e588ac104 100755 --- a/configure +++ b/configure @@ -401,8 +401,8 @@ include the log this produces with your report. EOF else cat

Re: [libav-devel] [PATCH] pixdesc: Add API to map color property name to enum value

2017-09-21 Thread Vittorio Giovara
On Wed, Sep 20, 2017 at 8:15 PM, Vittorio Giovara < vittorio.giov...@gmail.com> wrote: > > > On Wed, Sep 20, 2017 at 8:10 PM, wm4 <nfx...@googlemail.com> wrote: > >> On Wed, 20 Sep 2017 13:33:13 +0200 >> Vittorio Giovara <vittorio.giov...@gmail.com> wrot

Re: [libav-devel] [PATCH] pixdesc: Add API to map color property name to enum value

2017-09-20 Thread Vittorio Giovara
On Wed, Sep 20, 2017 at 8:10 PM, wm4 <nfx...@googlemail.com> wrote: > On Wed, 20 Sep 2017 13:33:13 +0200 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> > > --- > > T

Re: [libav-devel] [PATCH] pixdesc: Add API to map color property name to enum value

2017-09-20 Thread Vittorio Giovara
On Wed, Sep 20, 2017 at 2:06 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 20/09/2017 13:33, Vittorio Giovara wrote: > >> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> >> --- >> TODO: version bump, APIdoc entry. >>

[libav-devel] [PATCH] pixdesc: Add API to map color property name to enum value

2017-09-20 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- TODO: version bump, APIdoc entry. Vittorio libavutil/pixdesc.c | 65 + libavutil/pixdesc.h | 25 + 2 files changed, 90 insertions(+) diff --git a/lib

[libav-devel] [PATCH] mp4: Support writing declarative SEis to hvcC

2017-08-17 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Right now this patch lacks for a way to check for declarative SEIs, so it appends all of them (creating out-of-spec files), and it probably misses SEIs which are attach to other NALUs. Any suggestions? Vittorio liba

[libav-devel] [PATCH] pixfmt: Support chroma-derived and ictcp color matrices

2017-08-08 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Now without the typo in the name. Vittorio libavutil/pixdesc.c | 4 libavutil/pixfmt.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 7fa6dd7c0b..f1e35f2254

[libav-devel] [PATCH] pixfmt: Support chroma-derived and icpct color matrices

2017-08-08 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Missing version bump. Vittorio libavutil/pixdesc.c | 4 libavutil/pixfmt.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index 7fa6dd7c0b..a72ef3faf0 100644 --- a/lib

[libav-devel] [PATCH] h264: Add support for alternative transfer characterics SEI

2017-08-08 Thread Vittorio Giovara
ue instead. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/h264_sei.c | 11 +++ libavcodec/h264_sei.h | 7 +++ libavcodec/h264_slice.c | 6 ++ 3 files changed, 24 insertions(+) diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c

[libav-devel] [PATCH] hevc: Make sure to update the current frame transfer characteristic

2017-07-20 Thread Vittorio Giovara
Otherwise the first decoded frame will still be tagged with the original transfer instead of the alternative one. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/hevcdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/hevcd

Re: [libav-devel] [PATCH] [RFC] Add Cinepak encoder

2017-07-04 Thread Vittorio Giovara
On Tue, Jul 4, 2017 at 11:59 AM, Diego Biurrun wrote: > From: Tomas Härdin > > Signed-off-by: Diego Biurrun > --- > > The whole set squashed together, to ease Luca's review. IMO that's also how the set should be squashed and pushed, with a clear commit

Re: [libav-devel] [PATCH 05/25] avtools: Use the new channel layout API in AVFrame

2017-07-04 Thread Vittorio Giovara
On Tue, Jul 4, 2017 at 6:50 AM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 6/29/17 12:10 AM, Vittorio Giovara wrote: >> --- >> avtools/avconv.c| 2 +- >> avtools/avconv_filter.c | 2 +- >> avtools/avplay.c| 4 ++-- >> 3 files changed, 4 i

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

2017-06-30 Thread Vittorio Giovara
On Fri, Jun 30, 2017 at 4:38 AM, wm4 <nfx...@googlemail.com> wrote: > On Thu, 29 Jun 2017 17:28:51 -0400 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > >> From: Anton Khirnov <an...@khirnov.net> >> >> The new API is more extensible an

Re: [libav-devel] [PATCH] lavf: Remove codec_tag from dashend and smoothstreamingenc

2017-06-30 Thread Vittorio Giovara
nit: s/dashend/dashenc/ in the commit title On Fri, Jun 30, 2017 at 5:52 AM, Martin Storsjö wrote: > Currently, the tags enforced and set on the segmenter muxer level > mismatches what the mp4/ismv muxer uses (since 713efb2c0d013). > > Skip the codec_tag altogether here, to let

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

2017-06-29 Thread Vittorio Giovara
panded and completed by Vittorio Giovara <vittorio.giov...@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Changes to documentation as suggested by wm4, completed the doxygen documentation for a couple of functions. Vittorio libavutil/chan

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 <nfx...@googlemail.com> wrote: > On Wed, 28 Jun 2017 18:10:45 -0400 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: >> /** >> + * An AVChannelLayout holds information about the channel layout of audio >> data.

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

2017-06-29 Thread Vittorio Giovara
From: Anton Khirnov <an...@khirnov.net> Set a whitelist of supported channel order. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavresample/audio_mix.c| 148 ++-- libavresample/audio_mix_matrix.c | 477 ++- l

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

2017-06-29 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- 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 @@

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 <nfx...@googlemail.com> wrote: > On Wed, 28 Jun 2017 18:11:02 -0400 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > >> Resampling or conversion to/from ambisonic audio are currently >> unsupported features. >

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 <di...@biurrun.de> 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

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 <nfx...@googlemail.com> wrote: > On Wed, 28 Jun 2017 18:10:56 -0400 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > >> Since the request_channel_layout is used only by a handful of codecs, >> move the option to cod

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 <di...@biurrun.de> 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

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 <di...@biurrun.de> wrote: > On Wed, Jun 28, 2017 at 06:11:04PM -0400, Vittorio Giovara wrote: >> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> >> --- >> libavformat/avformat.h | 6 ++ >> li

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

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- tests/fate/mov.mak| 3 +++ tests/fate/opus.mak | 5 + tests/ref/fate/mov-ambisonic | 1 + tests/ref/fate/opus-ambisonic | 1 + 4 files changed, 10 insertions(+) create mode 100644 tests/ref/fa

[libav-devel] [PATCH 21/25] mov: Implement spatial audio support

2017-06-28 Thread Vittorio Giovara
As defined by Google's Spatial Audio RFC. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/mov.c | 98 +++ 1 file changed, 98 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index c90b

[libav-devel] [PATCH 05/25] avtools: Use the new channel layout API in AVFrame

2017-06-28 Thread Vittorio Giovara
--- avtools/avconv.c| 2 +- avtools/avconv_filter.c | 2 +- avtools/avplay.c| 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/avtools/avconv.c b/avtools/avconv.c index 8dd11bb5fc..42cbfef592 100644 --- a/avtools/avconv.c +++ b/avtools/avconv.c @@ -1209,7

[libav-devel] [PATCH 23/25] avprobe: Print the channel layout string

2017-06-28 Thread Vittorio Giovara
--- avtools/avprobe.c | 4 1 file changed, 4 insertions(+) diff --git a/avtools/avprobe.c b/avtools/avprobe.c index 7eab2573eb..9d7eecabb9 100644 --- a/avtools/avprobe.c +++ b/avtools/avprobe.c @@ -667,6 +667,7 @@ static void show_stream(InputFile *ifile, InputStream *ist) AVRational

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

2017-06-28 Thread Vittorio Giovara
, add a temporary layout to allow pass-through transcoding of files tagged with this specification. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/aacdec.c| 13 - libavcodec/libfdk-aacdec.c | 6 -- libavcodec/libfdk-aacenc.c | 3 ++- 3

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

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/avformat.h | 6 ++ libavformat/dump.c | 2 ++ 2 files changed, 8 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 1bf66b15d1..47f7a445dd 100644 --- a/libavformat/avformat.h

[libav-devel] [PATCH 25/25] Bump library versions, update Changelog and APIchanges

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Changelog | 1 + doc/APIchanges | 22 ++ 2 files changed, 23 insertions(+) diff --git a/Changelog b/Changelog index e44df54c93..ecff7d0a2b 100644 --- a/Changelog +++ b/Changelog @@ -16,6 +16,7 @@ v

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

2017-06-28 Thread Vittorio Giovara
Since the request_channel_layout is used only by a handful of codecs, move the option to codec private contexts. --- libavcodec/avcodec.h | 31 + libavcodec/decode.c| 49 +- libavcodec/encode.c| 9 ++- libavcodec/internal.h | 2 +

[libav-devel] [PATCH 16/25] tools, examples changes for the new channel layout API

2017-06-28 Thread Vittorio Giovara
This patch contains the following commits: avplay: Support the new channel layout API avconv: Support the new channel layout API tools: Update to the new channel layout API examples: Update to the new channel layout API --- avtools/avconv.c | 30 +++---

[libav-devel] [PATCH 09/25] lavfi: Port filter negotiation to use the new channel layout API

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavfilter/af_aformat.c | 30 +--- libavfilter/af_channelmap.c | 2 +- libavfilter/af_channelsplit.c | 6 ++- libavfilter/af_join.c | 2 +- libavfilter/avfiltergraph.c

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

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavutil/channel_layout.c | 86 -- libavutil/channel_layout.h | 33 ++ 2 files changed, 116 insertions(+), 3 deletions(-) diff --git a/libavutil/channel_layo

[libav-devel] [PATCH 19/25] opus: Implement mapping type 2 for Ambisonic support

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/opus.c | 36 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/libavcodec/opus.c b/libavcodec/opus.c index 308d104212..6aebb40155 100644 --- a/libavcodec/opus.c

[libav-devel] [PATCH 04/25] avframe: switch to the new channel layout API

2017-06-28 Thread Vittorio Giovara
From: Anton Khirnov <an...@khirnov.net> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/decode.c | 67 libavcodec/encode.c | 9 ++ libavutil/frame.c | 88 +++-

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

2017-06-28 Thread Vittorio Giovara
From: Anton Khirnov <an...@khirnov.net> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavresample/audio_mix.c| 148 ++-- libavresample/audio_mix_matrix.c | 477 ++- libavresample/avresample.h | 42 +++- l

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

2017-06-28 Thread Vittorio Giovara
Resampling or conversion to/from ambisonic audio are currently unsupported features. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavresample/utils.c | 8 1 file changed, 8 insertions(+) diff --git a/libavresample/utils.c b/libavresample/utils.c index 15c8

[libav-devel] [PATCH 13/25] aac: convert to new channel layout API

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/aac.h| 7 +++-- libavcodec/aac_ac3_parser.c | 9 -- libavcodec/aaccoder.c | 2 +- libavcodec/aacdec.c | 76 ++--- libavcodec/aacdectab.h

[libav-devel] [PATCH 14/25] ac3: convert to new channel layout API

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/ac3dec.c | 49 +--- libavcodec/ac3dec.h | 2 ++ libavcodec/ac3enc.c | 83 --- libavcodec/ac3enc.h | 4 ++- liba

[libav-devel] [PATCH 03/25] lavc: deprecate channel count/layout changing side data

2017-06-28 Thread Vittorio Giovara
From: Anton Khirnov <an...@khirnov.net> They are incompatible with the new channel layout scheme and no decoder uses them. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/avcodec.h | 5 + libavcodec/decode.c | 4 libavformat/

[libav-devel] [PATCH 10/25] avcodecpar: switch to the new channel layout API

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/avcodec.h | 11 +++ libavcodec/utils.c| 31 +++ libavformat/audiointerleave.c | 2 +- libavformat/mux.c | 2 +- 4 files changed, 40 insertions

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

2017-06-28 Thread Vittorio Giovara
This patch contains the following commits: avtools: Use the new channel layout API in libavfilter af_aformat: convert to new channel layout API Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> af_amix: convert to new channel layout API Signed-off-by: Vittorio G

[libav-devel] [PATCH 07/25] lavfi, buffersrc: switch to the new channel layout API

2017-06-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavfilter/audio.c | 17 +-- libavfilter/avfilter.c | 9 libavfilter/avfilter.h | 13 ++- libavfilter/avfiltergraph.c | 35 +++--- libavfilter/buffer

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

2017-06-28 Thread Vittorio Giovara
panded and completed by Vittorio Giovara <vittorio.giov...@gmail.com>. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavutil/channel_layout.c | 387 + libavutil/channel_layout.h | 362 +++

[libav-devel] [PATCH 00/25] New channel API, review compatibility

2017-06-28 Thread Vittorio Giovara
API lavr: switch to the new channel layout API Vittorio Giovara (20): avtools: Use the new channel layout API in AVFrame lavfi, buffersrc: switch to the new channel layout API libavfilter changes for the new channel layout API lavfi: Port filter negotiation to use the new channel layout

[libav-devel] [PATCH 02/25] lavu: support AVChannelLayout AVOptions

2017-06-28 Thread Vittorio Giovara
From: Anton Khirnov <an...@khirnov.net> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavutil/opt.c | 47 +++ libavutil/opt.h | 10 ++ 2 files changed, 57 insertions(+) diff --git a/libavutil/opt.c b/libavutil

Re: [libav-devel] [PATCH] hwframe: Support cropping in the default allocator

2017-06-25 Thread Vittorio Giovara
On Sat, Jun 24, 2017 at 12:18 PM, wm4 wrote: > On Sat, 24 Jun 2017 15:51:20 +0200 > Luca Barbato wrote: > >> From: Anton Khirnov >> >> --- >> >> Better subject welcome. It is currently folded in wm4 mix fixes set. It would be nice

[libav-devel] [PATCH 4/6] avcodec/h264_cabac: Fix CABAC+8x8dct in 4:4:4

2017-06-15 Thread Vittorio Giovara
From: Anton Mitrofanov Use the correct ctxIdxInc calculation for coded_block_flag. Keep old behavior for old versions of x264 for backward compatibility. --- libavcodec/h264_cabac.c | 47 +-- 1 file changed, 33 insertions(+), 14

[libav-devel] [PATCH 5/6] avcodec/h264_mb: Fix 8x8dct in lossless for new versions of x264

2017-06-15 Thread Vittorio Giovara
From: Anton Mitrofanov --- libavcodec/h264_mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index da6a31d577..917c6aa3fc 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264_mb.c @@ -636,7 +636,7 @@

[libav-devel] [PATCH 3/6] avcodec/h264: fix Lossless Decoding (Profile 244) for 8x8 Intra Prediction

2017-06-15 Thread Vittorio Giovara
From: Yogender Kumar Gupta This is limited to the case where x264_build = -1, to not break x264 decoding Signed-off-by: Michael Niedermayer --- libavcodec/h264_mb.c | 7 +++- libavcodec/h264pred.c | 2 ++ libavcodec/h264pred.h

[libav-devel] [PATCH 1/6] avcodec/h264_slice: Also copy x264_build in ff_h264_update_thread_context()

2017-06-15 Thread Vittorio Giovara
From: Michael Niedermayer Fixes fate-h264-lossless Signed-off-by: Michael Niedermayer --- libavcodec/h264_slice.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index c9f1dbb86f..0ce4127a1d 100644 ---

[libav-devel] [PATCH 2/6] avcodec/h264: Don't reset the x264 build info once read

2017-06-15 Thread Vittorio Giovara
From: Anton Mitrofanov In order to fix fate-h264-lossless (change by Hendrik) --- libavcodec/h264_sei.c | 1 - libavcodec/h264dec.c | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 3ca2b7a6cd..a2151bfaf6

[libav-devel] [PATCH 6/6] avcodec/h264: Fix mix of lossless and lossy MBs decoding

2017-06-15 Thread Vittorio Giovara
From: Anton Mitrofanov --- libavcodec/h264_cabac.c | 16 libavcodec/h264_cavlc.c | 16 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index c28f5680de..e6dc5258a4 100644 ---

  1   2   3   4   5   6   7   8   9   10   >