Re: [libav-devel] [RFC] [PATCH] stereo3d: Update the naming API to be more consistent

2017-04-24 Thread Vittorio Giovara
On Sun, Apr 23, 2017 at 11:31 PM, James Almer <jamr...@gmail.com> wrote: > On 4/20/2017 12:34 PM, Vittorio Giovara wrote: >> >> Change input type of the type->str function and return a proper >> error code for the str->type function. >> --- >> Similar

Re: [libav-devel] [PATCH 2/8] libavutil: add mastering display metadata sidedata

2017-04-20 Thread Vittorio Giovara
On Tue, Apr 11, 2017 at 9:35 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-04-10 14:44:38) >> On Fri, Apr 7, 2017 at 3:13 PM, James Almer <jamr...@gmail.com> wrote: >> > On 4/7/2017 3:20 PM, Vittorio Giovara wrote: >> >> O

[libav-devel] [PATCH] spherical: add functions to retrieve and request projection names

2017-04-20 Thread Vittorio Giovara
From: James Almer <jamr...@gmail.com> Signed-off-by: James Almer <jamr...@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Hopefully this is the version everyone can compromise on. Vittorio doc/APIchanges| 4 libavuti

[libav-devel] [RFC] [PATCH] stereo3d: Update the naming API to be more consistent

2017-04-20 Thread Vittorio Giovara
Change input type of the type->str function and return a proper error code for the str->type function. --- Similar reasoning to the previous patch. Vittorio libavutil/stereo3d.c | 6 +++--- libavutil/stereo3d.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git

[libav-devel] [RFC] [PATCH] pixdesc: Change color property name APIs return type

2017-04-20 Thread Vittorio Giovara
This should make these APIs simpler to use, and less error prone in case the caller does not check they are valid, and makes them more similar to other naming APIs. --- This should help in the bug in avprobe found by Luca. Sending as RFC since I believe we are allowed to break this API as we did

Re: [libav-devel] [PATCH] travis: Exclude gcc for the osx target

2017-04-19 Thread Vittorio Giovara
On Wed, Apr 19, 2017 at 6:56 AM, Luca Barbato wrote: > On 19/04/2017 10:21, Diego Biurrun wrote: >> On Tue, Apr 18, 2017 at 08:26:16PM +0200, Luca Barbato wrote: >>> `gcc` there is still clang so it is unneded to run it twice. >> >> I cannot parse this sentence, thus I wonder

Re: [libav-devel] [PATCH 1/2] swscale: Do not shift negative values directly

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 4:42 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 17/04/2017 21:31, Vittorio Giovara wrote: >> On Mon, Apr 17, 2017 at 1:10 PM, Luca Barbato <lu_z...@gentoo.org> wrote: >>> On 17/04/2017 18:06, Vittorio Giovara wrote: >>>> On

Re: [libav-devel] [PATCH] mjpeg: Report non-3 component rgb lossless as not supported

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 3:14 PM, Luca Barbato wrote: > Bug-Id: 1043 > CC: libav-sta...@libav.org > --- > libavcodec/mjpegdec.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c > index 13d3e8cb02..833503d9dc 100644 >

Re: [libav-devel] [PATCH] mm: Skip unexpected audio packets

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 3:27 PM, Luca Barbato wrote: > Bug-Id: 1046 > CC: libav-sta...@libav.org > --- > libavformat/mm.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/mm.c b/libavformat/mm.c > index 16505502fd..86e9ff0ba3 100644 > ---

Re: [libav-devel] [PATCH 1/2] swscale: Do not shift negative values directly

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 1:10 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 17/04/2017 18:06, Vittorio Giovara wrote: >> On Sat, Apr 15, 2017 at 9:07 AM, Luca Barbato <lu_z...@gentoo.org> wrote: >>> It is undefined in C as reported: >>> warning: shifti

Re: [libav-devel] [PATCH 2/2] swscale: Convert the check check_image_pointers helper to a macro

2017-04-17 Thread Vittorio Giovara
On Sat, Apr 15, 2017 at 9:07 AM, Luca Barbato wrote: > Avoid warnings about types mismatch and make the code a little simpler. > --- > libswscale/swscale_unscaled.c | 37 +++-- > 1 file changed, 15 insertions(+), 22 deletions(-) ok if you like

Re: [libav-devel] [PATCH 1/2] swscale: Do not shift negative values directly

2017-04-17 Thread Vittorio Giovara
On Sat, Apr 15, 2017 at 9:07 AM, Luca Barbato wrote: > It is undefined in C as reported: > warning: shifting a negative signed value is undefined > --- > libswscale/output.c | 23 +-- > 1 file changed, 13 insertions(+), 10 deletions(-) why are you

Re: [libav-devel] [PATCH] avprobe: Handle invalid values for the color description

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 9:48 AM, Luca Barbato wrote: > print_str() cannot print NULL. > > Bug-Id: 1040 > CC: libav-sta...@libav.org > --- > avtools/avprobe.c | 36 +++- > 1 file changed, 31 insertions(+), 5 deletions(-) I'm not sure about

Re: [libav-devel] [PATCH] flv: Validate the packet size

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 10:23 AM, Luca Barbato wrote: > Size can be negative at that point. > > Bug-Id: 1041 > CC: libav-sta...@libav.org > --- > libavformat/flvdec.c | 6 ++ > 1 file changed, 6 insertions(+) ok -- Vittorio

Re: [libav-devel] [PATCH] dca: Account for lfe when checking for the channel count

2017-04-17 Thread Vittorio Giovara
On Mon, Apr 17, 2017 at 8:53 AM, Luca Barbato wrote: > Bug-Id: 1037 > CC: libav-sta...@libav.org > --- > libavcodec/dcadec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) ok -- Vittorio ___ libav-devel mailing list

Re: [libav-devel] [PATCH 1/2] Add ClearVideo decoder

2017-04-17 Thread Vittorio Giovara
On Sat, Apr 15, 2017 at 6:31 AM, Diego Biurrun wrote: > From: Kostya Shishkov > > Only I-frames are decoded for now. > > Signed-off-by: Diego Biurrun > --- > Changelog | 1 + > doc/general.texi| 1 + >

Re: [libav-devel] [PATCH] avformat: Free the internal codec context at the end

2017-04-12 Thread Vittorio Giovara
On Tue, Apr 11, 2017 at 7:54 PM, Sean McGovern wrote: > On Apr 11, 2017 7:48 PM, "Luca Barbato" wrote: > > Avoid a use after free in avformat_find_stream_info. > > CC: libav-sta...@libav.org > --- > libavformat/utils.c | 6 +- > 1 file changed, 1

Re: [libav-devel] [PATCH 1/3 v2] avutil/spherical: add functions to retrieve and request projection names

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 1:43 PM, James Almer wrote: >> Even so, what's the user going to do with knowing the fact that >> the video contains spherical metadata it can't parse correctly/fully >> support? So, I'm hesitant to add a new type for this uncertain >> behaviour,

Re: [libav-devel] [PATCH 6/7] utvideodec: Add SIMD support for median prediction for planar formats

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Paul B Mahol > > ~10% faster overall. > > Signed-off-by: Paul B Mahol > Signed-off-by: Luca Barbato > --- > configure | 2 +- >

Re: [libav-devel] [PATCH 5/7] utvideodec: Support ULY4 and ULH4

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Paul B Mahol > > Signed-off-by: Paul B Mahol > Signed-off-by: Luca Barbato > --- > libavcodec/utvideodec.c | 30 ++ >

Re: [libav-devel] [PATCH 3/7] pixfmt: Add gbrap10 pixel format

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 4:16 PM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato <lu_z...@gentoo.org> wrote: >> From: Paul B Mahol <one...@gmail.com> >> >> Signed-off-by: Paul B Mahol <one...@gmail

Re: [libav-devel] [PATCH 4/7] utvideodec: Support UQRA and UQRG

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Paul B Mahol > > --- > libavcodec/utvideodec.c | 43 +++ > libavformat/riff.c | 2 ++ > 2 files changed, 45 insertions(+) > > diff --git

Re: [libav-devel] [PATCH 3/7] pixfmt: Add gbrap10 pixel format

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Paul B Mahol > > Signed-off-by: Paul B Mahol > Signed-off-by: Luca Barbato > --- > libavutil/pixdesc.c | 28 >

Re: [libav-devel] [PATCH 2/7] utvideodec: Support UQY2

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Paul B Mahol > > Signed-off-by: Luca Barbato > --- > libavcodec/utvideo.c| 6 ++ > libavcodec/utvideo.h| 4 +- > libavcodec/utvideodec.c | 282 >

Re: [libav-devel] [PATCH 1/7] utvideodec: Prevent possible signed overflow

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 6:42 AM, Luca Barbato wrote: > From: Ganesh Ajjanagadde > > Doing slice_end - slice_start is unsafe and can lead to undefined behavior > until slice_end has been properly sanitized. ok -- Vittorio

Re: [libav-devel] [PATCH 1/3 v2] avutil/spherical: add functions to retrieve and request projection names

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 11:49 AM, James Almer wrote: >> In my opinion it would be enough to return int and >> just AVERROR(EINVAL) in case it's not found. James would you be ok >> with that, or do you have any preference? > > IMO, PROJECTION_UNKNOWN is an interesting addition.

Re: [libav-devel] [PATCH] examples: Fixed and extended Doxygen documentation.

2017-04-10 Thread Vittorio Giovara
On Mon, Apr 10, 2017 at 7:06 AM, Andreas Unterweger wrote: > Added parameter descriptions for all functions > and converted in-function comments into regular > (non-Doxygen) comments. > --- > doc/examples/transcode_aac.c | 378 > ---

Re: [libav-devel] [PATCH 1/3 v2] avutil/spherical: add functions to retrieve and request projection names

2017-04-10 Thread Vittorio Giovara
On Fri, Apr 7, 2017 at 10:22 AM, Luca Barbato wrote: > On 07/04/2017 16:09, James Almer wrote: >> +int av_spherical_from_name(const char *name); > > It can directly output the enum now, it is fine both ways to me. Wait a minute, I don't think PROJECTION_UNKNOWN makes much

Re: [libav-devel] [PATCH 2/8] libavutil: add mastering display metadata sidedata

2017-04-10 Thread Vittorio Giovara
On Fri, Apr 7, 2017 at 3:13 PM, James Almer <jamr...@gmail.com> wrote: > On 4/7/2017 3:20 PM, Vittorio Giovara wrote: >> On Fri, Apr 7, 2017 at 8:13 PM, James Almer <jamr...@gmail.com> wrote: >>> On 4/7/2017 1:48 PM, Vittorio Giovara wrote: >>>> On Fri,

Re: [libav-devel] [PATCH 2/8] libavutil: add mastering display metadata sidedata

2017-04-07 Thread Vittorio Giovara
On Fri, Apr 7, 2017 at 8:13 PM, James Almer <jamr...@gmail.com> wrote: > On 4/7/2017 1:48 PM, Vittorio Giovara wrote: >> On Fri, Apr 7, 2017 at 2:27 PM, Steve Lhomme <rob...@gmail.com> wrote: >>> + * @note The struct should be allocated with >>&

Re: [libav-devel] [PATCH 2/8] libavutil: add mastering display metadata sidedata

2017-04-07 Thread Vittorio Giovara
On Fri, Apr 7, 2017 at 2:27 PM, Steve Lhomme wrote: > + * @note The struct should be allocated with > av_mastering_display_metadata_alloc() > + * and its size is not a part of the public ABI. > + */ > +typedef struct AVMasteringDisplayMetadata { > +}

Re: [libav-devel] [PATCH] matroskaenc: fix writing ProjectionPrivate element on Cubemap projections

2017-04-07 Thread Vittorio Giovara
On Fri, Apr 7, 2017 at 11:54 AM, Hendrik Leppkes <h.lepp...@gmail.com> wrote: > On Fri, Apr 7, 2017 at 11:32 AM, Vittorio Giovara > <vittorio.giov...@gmail.com> wrote: >> On Thu, Apr 6, 2017 at 10:45 PM, James Almer <jamr...@gmail.com> wrote: >>> Callin

Re: [libav-devel] [PATCH] matroskaenc: fix writing ProjectionPrivate element on Cubemap projections

2017-04-07 Thread Vittorio Giovara
On Thu, Apr 6, 2017 at 10:45 PM, James Almer wrote: > Calling put_ebml_binary() with sizeof(private) as argument is currently > only valid for Equirectangular projections. > > Signed-off-by: James Almer > --- > Please, be more careful when making cosmetic

Re: [libav-devel] [PATCH 1/3] avutil/spherical: add functions to retrieve and request projection names

2017-04-06 Thread Vittorio Giovara
On Tue, Apr 4, 2017 at 10:24 PM, James Almer wrote: > Signed-off-by: James Almer > --- > doc/APIchanges| 4 > libavutil/spherical.c | 28 > libavutil/spherical.h | 18 ++ > libavutil/version.h |

Re: [libav-devel] ff_thread_get_format and metadata

2017-04-06 Thread Vittorio Giovara
On Thu, Apr 6, 2017 at 12:22 PM, wm4 wrote: > On Thu, 6 Apr 2017 11:48:54 +0200 > Steve Lhomme wrote: > >> On Thu, Apr 6, 2017 at 11:38 AM, wm4 wrote: >> > On Thu, 6 Apr 2017 11:08:24 +0200 >> > Hendrik Leppkes

Re: [libav-devel] [PATCH] lavfi: Drop unused and empty header file

2017-04-05 Thread Vittorio Giovara
On Wed, Apr 5, 2017 at 5:40 PM, wm4 <nfx...@googlemail.com> wrote: > On Wed, 5 Apr 2017 17:22:53 +0200 > Diego Biurrun <di...@biurrun.de> wrote: > >> On Wed, Apr 05, 2017 at 05:16:24PM +0200, wm4 wrote: >> > On Wed, 5 Apr 2017 16:27:48 +0200 >> > Vittor

Re: [libav-devel] [PATCH] lavfi: Drop unused and empty header file

2017-04-05 Thread Vittorio Giovara
On Wed, Apr 5, 2017 at 4:11 PM, wm4 <nfx...@googlemail.com> wrote: > On Wed, 5 Apr 2017 15:35:26 +0200 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > >> This header was public but deprecated on 2013-04-11 (lavfi 3.8.0). >> --- >> libavfilter

[libav-devel] [PATCH] lavfi: Drop unused and empty header file

2017-04-05 Thread Vittorio Giovara
This header was public but deprecated on 2013-04-11 (lavfi 3.8.0). --- libavfilter/Makefile| 1 - libavfilter/avfiltergraph.h | 29 - 2 files changed, 30 deletions(-) delete mode 100644 libavfilter/avfiltergraph.h diff --git a/libavfilter/Makefile

Re: [libav-devel] [PATCH] cfhd: Use proper ISO C printf conversion specifiers

2017-04-04 Thread Vittorio Giovara
On Tue, Apr 4, 2017 at 6:24 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Tue, Apr 04, 2017 at 05:47:35PM +0200, Vittorio Giovara wrote: >> On Tue, Apr 4, 2017 at 5:10 PM, Diego Biurrun <di...@biurrun.de> wrote: >> > On Tue, Apr 04, 2017 at 04:39:23PM

[libav-devel] [PATCH] filtfmts-test: Mark filter as const

2017-04-04 Thread Vittorio Giovara
libavfilter/tests/filtfmts.c:57:18: warning: assigning to 'AVFilter *' (aka 'struct AVFilter *') from 'const AVFilter *' (aka 'const struct AVFilter *') discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] --- libavfilter/tests/filtfmts.c | 2 +- 1 file

[libav-devel] [PATCH] dnxhddec: Use proper ISO C printf conversion specifiers

2017-04-04 Thread Vittorio Giovara
libavcodec/dnxhddec.c:134:55: warning: format specifies type 'char' but the argument has type 'int' [-Wformat] --- libavcodec/dnxhddec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index fd58795de3..a6a65f0e75 100644 ---

Re: [libav-devel] [PATCH] cfhd: Use proper ISO C printf conversion specifiers

2017-04-04 Thread Vittorio Giovara
On Tue, Apr 4, 2017 at 5:10 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Tue, Apr 04, 2017 at 04:39:23PM +0200, Vittorio Giovara wrote: >> libavcodec/cfhd.c:258:16: warning: format specifies >> type 'unsigned short' but the argument has type 'int' [-Wformat] >&

[libav-devel] [PATCH] cfhd: Use proper ISO C printf conversion specifiers

2017-04-04 Thread Vittorio Giovara
libavcodec/cfhd.c:258:16: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] --- libavcodec/cfhd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index e122deb7a4..a6556dfaee 100644 ---

[libav-devel] [PATCH] decode: Initialize ret before using it

2017-04-03 Thread Vittorio Giovara
libavcodec/decode.c:608:9: warning: variable 'ret' is used uninitialized whenever 'if' condition is false --- libavcodec/decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index e4f6a0d727..8aa27095b6 100644 ---

[libav-devel] [PATCH] dcadec: remove extra indirection

2017-03-29 Thread Vittorio Giovara
From: Anton Khirnov num_core_channels is always equal to s->audio_header.prim_channels, neither one of those variables ever get changed. --- libavcodec/dcadec.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/libavcodec/dcadec.c

Re: [libav-devel] [RFC] Changing AV_PIX_FMT_NONE from -1 to 0

2017-03-28 Thread Vittorio Giovara
On Tue, Mar 28, 2017 at 12:43 PM, wm4 wrote: > I propose that AV_PIX_FMT_NONE is changed from -1 to 0. The reason is > that default-initializing an AVPixelFormat should set an invalid or > neutral value, instead of a "random" valid value. > > Currently, 0 means

Re: [libav-devel] [PATCH 2/3] Add FM Screen Capture Codec decoder

2017-03-27 Thread Vittorio Giovara
On Mon, Mar 27, 2017 at 12:17 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Fri, Mar 24, 2017 at 04:47:55PM +0100, Vittorio Giovara wrote: >> On Fri, Mar 24, 2017 at 4:10 PM, Diego Biurrun <di...@biurrun.de> wrote: >> > --- a/Changelog >> > +++ b/C

Re: [libav-devel] [PATCH] hevc: Add NEON 4x4 and 8x8 IDCT

2017-03-27 Thread Vittorio Giovara
On Mon, Mar 27, 2017 at 9:52 AM, Alexandra Hájková wrote: > Optimized by Martin Storsjö . > --- > libavcodec/arm/Makefile | 2 + > libavcodec/arm/hevc_idct.S| 228 > ++ >

Re: [libav-devel] [PATCH] nsvdec: don't ignore the return value of av_get_packet()

2017-03-24 Thread Vittorio Giovara
On Fri, Mar 24, 2017 at 10:44 PM, Luca Barbato wrote: > On 24/03/2017 18:36, Sean McGovern wrote: >> Fixes invalid reads with corrupted files. >> >> CC: libav-sta...@libav.org >> Bug-Id: 1039 >> --- >> libavformat/nsvdec.c | 7 +-- >> 1 file changed, 5 insertions(+), 2

Re: [libav-devel] [PATCH] APIchanges: Update bump dates

2017-03-24 Thread Vittorio Giovara
On Fri, Mar 24, 2017 at 7:46 PM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > --- > doc/APIchanges | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) please ignore -- Vittorio ___ libav-devel mailing l

[libav-devel] [PATCH] vc1_pred: Fix undefined negative shifts

2017-03-24 Thread Vittorio Giovara
From: Michael Niedermayer <michae...@gmx.at> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/vc1_pred.c | 28 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/libavcodec/vc1_pred.c b/libavcodec/vc1_pred.c inde

[libav-devel] [PATCH] APIchanges: Update bump dates

2017-03-24 Thread Vittorio Giovara
--- doc/APIchanges | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index c6a5d82b99..a0ca3b7ac0 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,13 +2,13 @@ Never assume the API of libav* to be stable unless at least 1

Re: [libav-devel] [PATCH] nsvdec: don't ignore the return value of av_get_packet()

2017-03-24 Thread Vittorio Giovara
On Fri, Mar 24, 2017 at 6:36 PM, Sean McGovern wrote: > Fixes invalid reads with corrupted files. > > CC: libav-sta...@libav.org > Bug-Id: 1039 > --- > libavformat/nsvdec.c | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavformat/nsvdec.c

Re: [libav-devel] [PATCH 2/3] Add FM Screen Capture Codec decoder

2017-03-24 Thread Vittorio Giovara
On Fri, Mar 24, 2017 at 4:10 PM, Diego Biurrun wrote: > From: Paul B Mahol > > Signed-off-by: Paul B Mahol > Signed-off-by: Diego Biurrun > --- > > decode_type2() is, ummm, interesting .. > > Changelog | 1

Re: [libav-devel] [PATCH 1/3] Add av_calloc() helper

2017-03-24 Thread Vittorio Giovara
On Fri, Mar 24, 2017 at 4:10 PM, Diego Biurrun wrote: > From: Laurent Aimar > > Signed-off-by: Diego Biurrun > --- > libavutil/mem.c | 7 +++ > libavutil/mem.h | 12 > 2 files changed, 19 insertions(+) > > diff --git

Re: [libav-devel] [PATCH] lavc: deprecate old vdpau APIs

2017-03-23 Thread Vittorio Giovara
On Thu, Mar 23, 2017 at 2:01 PM, wm4 wrote: > This deprecates the old vdpau API (av_vdpau_bind_context()) and the very > old vdpau API (setting up AVVDPAUContext manually). We don't need 3 > APIs. > > AV_HWACCEL_FLAG_ALLOW_HIGH_DEPTH makes sense only with one of the old >

Re: [libav-devel] [PATCH] avplay: Fix buffersrc args

2017-03-23 Thread Vittorio Giovara
On Thu, Mar 23, 2017 at 12:29 PM, Luca Barbato wrote: > Use the named format to avoid confusion. > --- > avtools/avplay.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/avtools/avplay.c b/avtools/avplay.c > index 18879e1..26279e8 100644 > ---

[libav-devel] [PATCH] APIchanges: Update bump dates

2017-03-23 Thread Vittorio Giovara
--- doc/APIchanges | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index c6a5d82b99..a0ca3b7ac0 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -2,13 +2,13 @@ Never assume the API of libav* to be stable unless at least 1

Re: [libav-devel] [PATCH 00/40] bump v3

2017-03-23 Thread Vittorio Giovara
On Thu, Mar 16, 2017 at 10:20 PM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > Hi, this is the third iteration of the set, with a couple of additional > API removal to fullfill our 18 months 'promise', and contains a few > patches queued for ABI changes, namely related to

[libav-devel] [PATCH] lavc: Drop deprecated options moved to private contexts

2017-03-17 Thread Vittorio Giovara
Deprecated in 10/2014 and 07/2015. --- libavcodec/avcodec.h | 114 - libavcodec/dnxhdenc.c | 6 --- libavcodec/internal.h | 2 - libavcodec/libvpxenc.c | 9 libavcodec/libx264.c | 21 + libavcodec/libxavs.c

[libav-devel] [PATCH] lavfi: Drop deprecated non-const filter retrieval

2017-03-17 Thread Vittorio Giovara
Deprecated in 10/2013. --- Updated to fix a couple of warnings that the removal introduced. Vittorio libavfilter/avfilter.c | 5 + libavfilter/avfilter.h | 5 + libavfilter/avfiltergraph.c | 2 +- libavfilter/graphparser.c | 2 +- libavfilter/version.h | 4 5 files

[libav-devel] [PATCH 21/40] lavc: Remove deprecated XvMC support hacks

2017-03-16 Thread Vittorio Giovara
From: Diego Biurrun Deprecated in 11/2013. --- configure | 3 - libavcodec/4xm.c | 2 +- libavcodec/Makefile | 3 - libavcodec/allcodecs.c| 3 - libavcodec/asvdec.c | 2 +- libavcodec/avcodec.h |

[libav-devel] [PATCH 08/40] lavf: Drop deprecated AVFract type and related field

2017-03-16 Thread Vittorio Giovara
Deprecated in 05/2014. --- libavformat/avformat.h | 21 - libavformat/version.h | 3 --- 2 files changed, 24 deletions(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 547b88b2f1..1bf66b15d1 100644 --- a/libavformat/avformat.h +++

[libav-devel] [PATCH 32/40] lavc: Drop deprecated time_base variable for decoding

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2015. --- libavcodec/decode.c | 5 - libavcodec/mpegvideo_parser.c | 5 - libavcodec/utils.c| 5 - libavcodec/version.h | 3 --- 4 files changed, 18 deletions(-) diff --git a/libavcodec/decode.c b/libavcodec/decode.c index

[libav-devel] [PATCH 25/40] lavc: Drop deprecated av_fast_malloc() compatibility

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 5 - libavcodec/version.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0cd8338a27..b8c2352452 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -41,11 +41,6 @@

[libav-devel] [PATCH 06/40] lavfi: Drop deprecated non-const filter retrieval

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavfilter/avfilter.c | 5 + libavfilter/avfilter.h | 5 + libavfilter/version.h | 4 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 3ae7a591db..83c1a7c20d 100644 ---

[libav-devel] [PATCH 35/40] lavu: Drop deprecated VDPAU pixel formats

2017-03-16 Thread Vittorio Giovara
Deprecated in 07/2013. --- libavutil/pixdesc.c | 38 -- libavutil/pixfmt.h | 10 -- libavutil/version.h | 3 --- 3 files changed, 51 deletions(-) diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c index e4e5674a66..815e084155 100644 ---

[libav-devel] [PATCH 09/40] lavf: Drop deprecated hint to set muxer timebase

2017-03-16 Thread Vittorio Giovara
Deprecated in 05/2014. --- libavformat/mux.c | 11 --- libavformat/version.h | 4 +--- 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index dfda89d983..cc92f2a960 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -110,17

[libav-devel] [PATCH 12/40] lavc: Drop deprecated lowres option

2017-03-16 Thread Vittorio Giovara
Deprecated in 04/2013. --- libavcodec/avcodec.h | 14 -- libavcodec/version.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 1ecffc751c..ab36f77dd4 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2810,17

[libav-devel] [PATCH 13/40] lavc: Drop deprecated VDPAU codec capability

2017-03-16 Thread Vittorio Giovara
Deprecated in 07/2013. --- libavcodec/avcodec.h | 6 -- libavcodec/vdpau.h | 34 -- libavcodec/version.h | 3 --- 3 files changed, 43 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index ab36f77dd4..0f39911bb8 100644 ---

[libav-devel] [PATCH 37/40] lavu: Drop deprecated av_dlog macro

2017-03-16 Thread Vittorio Giovara
Deprecated in 05/2015. --- libavutil/log.h | 14 -- libavutil/version.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/libavutil/log.h b/libavutil/log.h index d4daea9c1a..ce00bccc7b 100644 --- a/libavutil/log.h +++ b/libavutil/log.h @@ -249,20 +249,6 @@ void

[libav-devel] [PATCH 20/40] lavc: Drop deprecated architectures symbols

2017-03-16 Thread Vittorio Giovara
Alpha deprecated in 11/2013. Sh4 and sparc deprecated in 01/2014. --- libavcodec/avcodec.h | 9 - libavcodec/options_table.h | 6 -- libavcodec/version.h | 9 - 3 files changed, 24 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH 39/40] spherical: Change types of bounding and pad to uint32_t

2017-03-16 Thread Vittorio Giovara
These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Based on a patch by Micahel Niedermayer <mich...@niedermayer.cc>. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/dump.c| 2 +-

[libav-devel] [PATCH 17/40] lavc: Drop deprecated debug mv functionality

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 21 - libavcodec/options_table.h | 13 - libavcodec/version.h | 3 --- 3 files changed, 37 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0059e785f3..4c719ef067 100644 ---

[libav-devel] [PATCH 23/40] lavc: Drop deprecated public symbols

2017-03-16 Thread Vittorio Giovara
qscale types and maximum number of bframes deprecated in 10/2013. Negative linesizes deprecated in 11/2013. xvidmmx deprecated in 08/2014. --- libavcodec/avcodec.h | 23 --- libavcodec/options_table.h | 3 --- libavcodec/version.h | 12 3 files

[libav-devel] [PATCH 36/40] lavu: Drop deprecated option type

2017-03-16 Thread Vittorio Giovara
Deprecated in 02/2014. --- libavutil/opt.h | 3 --- libavutil/version.h | 3 --- 2 files changed, 6 deletions(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index a65c4f41ba..b68a396da7 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -263,9 +263,6 @@ typedef struct AVOption {

[libav-devel] [PATCH 40/40] spherical: Mark map pointer as const in av_spherical_tile_bounds()

2017-03-16 Thread Vittorio Giovara
From: Carl Eugen Hoyos <ceho...@ag.or.at> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavutil/spherical.c | 2 +- libavutil/spherical.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/spherical.c b/libavutil/spherical.c inde

[libav-devel] [PATCH 29/40] lavc: Drop deprecated avctx codec name

2017-03-16 Thread Vittorio Giovara
Deprecated in 04/2014. --- libavcodec/avcodec.h | 7 --- libavcodec/version.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 5e585f7c13..8991eb3347 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1219,13 +1219,6 @@

[libav-devel] [PATCH 34/40] lavc: Drop deprecated stream codec tag

2017-03-16 Thread Vittorio Giovara
Deprecated in 07/2015. --- libavcodec/avcodec.h | 8 libavcodec/options_table.h | 3 --- libavcodec/version.h | 5 + libavutil/version.h| 4 ++-- 4 files changed, 3 insertions(+), 17 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH 38/40] mpeg4audio: make avpriv_copy_pce_data() inline

2017-03-16 Thread Vittorio Giovara
From: Anton Khirnov The function currently accepts a PutBitContext and a GetBitContext, which hardcodes their sizes into the lavc ABI. Since the function is quite small and only called in a few places, the simplest solution is making it inline, thus avoiding a runtime

[libav-devel] [PATCH 27/40] lavc: Drop deprecated unused public members

2017-03-16 Thread Vittorio Giovara
Deprecated in 07/2014. --- libavcodec/avcodec.h | 18 -- libavcodec/options_table.h | 12 libavcodec/version.h | 3 --- 3 files changed, 33 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 11b30fc445..7dd41476d8 100644 ---

[libav-devel] [PATCH 26/40] lavc: Drop deprecated emu edge functionality

2017-03-16 Thread Vittorio Giovara
Deprecated in 01/2014. --- libavcodec/avcodec.h | 22 -- libavcodec/options_table.h | 3 --- libavcodec/utils.c | 7 --- libavcodec/version.h | 3 --- 4 files changed, 35 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH 33/40] lavc: Drop deprecated options moved to private contexts

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2014 and 07/2015. --- libavcodec/avcodec.h | 114 - libavcodec/internal.h | 2 - libavcodec/libx264.c | 21 + libavcodec/libxavs.c | 26 --- libavcodec/libxvid.c | 24 --

[libav-devel] [PATCH 31/40] lavc: Drop deprecated way of setting audio delay on encode

2017-03-16 Thread Vittorio Giovara
Deprecated in 08/2014. --- libavcodec/encode.c | 4 libavcodec/utils.c | 5 - libavcodec/version.h | 3 --- 3 files changed, 12 deletions(-) diff --git a/libavcodec/encode.c b/libavcodec/encode.c index fc27a070e1..9bb7ae5bde 100644 --- a/libavcodec/encode.c +++ b/libavcodec/encode.c

[libav-devel] [PATCH 30/40] lavc: Drop deprecated global afd field

2017-03-16 Thread Vittorio Giovara
Deprecated in 08/2014. --- libavcodec/avcodec.h | 20 libavcodec/mpeg12dec.c | 5 - libavcodec/options_table.h | 3 --- libavcodec/pthread_frame.c | 5 - libavcodec/version.h | 3 --- 5 files changed, 36 deletions(-) diff --git

[libav-devel] [PATCH 28/40] lavc: Drop deprecated codec flags

2017-03-16 Thread Vittorio Giovara
Deprecated between 04/2014 - 05/2015. --- libavcodec/avcodec.h | 158 - libavcodec/libxvid.c | 6 -- libavcodec/mpegvideo_enc.c | 14 libavcodec/options_table.h | 12 libavcodec/version.h | 15 - 5 files changed, 205

[libav-devel] [PATCH 14/40] lavc: Drop deprecated VDPAU buffer fields

2017-03-16 Thread Vittorio Giovara
Deprecated in 07/2013. --- libavcodec/vdpau.h | 44 libavcodec/version.h | 3 --- 2 files changed, 47 deletions(-) diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h index 2f4fa86ba4..a5d31cb37b 100644 --- a/libavcodec/vdpau.h +++

[libav-devel] [PATCH 15/40] lavc: Drop deprecated voxware codec entry

2017-03-16 Thread Vittorio Giovara
Deprecated in 08/2013. --- libavcodec/avcodec.h| 3 --- libavcodec/codec_desc.c | 9 - libavcodec/version.h| 3 --- 3 files changed, 15 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 0f39911bb8..95decec4f9 100644 --- a/libavcodec/avcodec.h +++

[libav-devel] [PATCH 18/40] lavc: Drop deprecated workaround bugs options

2017-03-16 Thread Vittorio Giovara
Illegal ac_vlc and old msmpeg4 detection deprecated in 10/2013. --- libavcodec/avcodec.h | 6 -- libavcodec/options_table.h | 6 -- libavcodec/version.h | 6 -- 3 files changed, 18 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH 11/40] lavc: Drop deprecated missing sample log function

2017-03-16 Thread Vittorio Giovara
Deprecated in 01/2013. --- libavcodec/avcodec.h | 30 -- libavcodec/utils.c | 29 - libavcodec/version.h | 3 --- 3 files changed, 62 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 18a96083d1..1ecffc751c

[libav-devel] [PATCH 24/40] lavc: Drop deprecated macroblock type symbols

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 26 -- libavcodec/mpegutils.h | 2 -- libavcodec/version.h | 3 --- 3 files changed, 31 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 67d840396c..0cd8338a27 100644 ---

[libav-devel] [PATCH 22/40] lavc: Drop deprecated error rate option

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 9 - libavcodec/mpegvideo_enc.c | 7 --- libavcodec/options_table.h | 3 --- libavcodec/version.h | 3 --- 4 files changed, 22 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index

[libav-devel] [PATCH 16/40] lavc: Drop deprecated way of setting codec dimensions

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 8 libavcodec/utils.c | 7 --- libavcodec/version.h | 3 --- 3 files changed, 18 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 95decec4f9..0059e785f3 100644 --- a/libavcodec/avcodec.h +++

[libav-devel] [PATCH 19/40] lavc: Drop deprecated extended aspect ratio symbol

2017-03-16 Thread Vittorio Giovara
Deprecated in 10/2013. --- libavcodec/avcodec.h | 4 libavcodec/h263.h| 2 -- libavcodec/version.h | 3 --- 3 files changed, 9 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a2472887e6..ba4b588e27 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h

[libav-devel] [PATCH 04/40] lavfi: Drop deprecated filter initialization

2017-03-16 Thread Vittorio Giovara
Deprecated in 03/2013. --- libavfilter/avfilter.c | 7 --- libavfilter/avfilter.h | 15 --- libavfilter/version.h | 3 --- 3 files changed, 25 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index d6bddef4a0..439eee4dd4 100644 ---

[libav-devel] [PATCH 01/40] Bump major versions of all libraries

2017-03-16 Thread Vittorio Giovara
This disables everything that was deprecated at least 18 months ago. Readjust the minimum API version as needed, postponing any API-incompatible changes until the next bump. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/version.h

[libav-devel] [PATCH 02/40] lavfi: Drop deprecated way of passing options for a few filters

2017-03-16 Thread Vittorio Giovara
Deprecated in 02/2013. --- libavfilter/af_channelmap.c | 7 - libavfilter/af_join.c | 8 - libavfilter/avfilter.c | 76 - libavfilter/buffersrc.c | 8 - libavfilter/version.h | 3 -- libavfilter/vf_aspect.c | 46

[libav-devel] [PATCH 10/40] lavc: Drop deprecated chroma subsample function

2017-03-16 Thread Vittorio Giovara
Deprecated in 11/2012. --- libavcodec/avcodec.h| 6 -- libavcodec/imgconvert.c | 9 - libavcodec/version.h| 3 --- 3 files changed, 18 deletions(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 62a4fab8f9..18a96083d1 100644 --- a/libavcodec/avcodec.h +++

[libav-devel] [PATCH 07/40] lavf: Drop deprecated bitexact functionality

2017-03-16 Thread Vittorio Giovara
Deprecated in 05/2014. --- libavformat/mux.c | 7 --- libavformat/version.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/libavformat/mux.c b/libavformat/mux.c index a85c3c79db..dfda89d983 100644 --- a/libavformat/mux.c +++ b/libavformat/mux.c @@ -99,13 +99,6 @@ static int

[libav-devel] [PATCH 05/40] lavfi: Drop deprecated filter registration

2017-03-16 Thread Vittorio Giovara
Deprecated in 04/2013. --- libavfilter/avfilter.c | 11 --- libavfilter/avfilter.h | 18 -- libavfilter/version.h | 3 --- 3 files changed, 32 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index 439eee4dd4..3ae7a591db 100644 ---

<    1   2   3   4   5   6   7   8   9   10   >