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

2017-03-16 Thread Vittorio Giovara
Carl Eugen Hoyos (1): spherical: Mark map pointer as const in av_spherical_tile_bounds() Diego Biurrun (1): lavc: Remove deprecated XvMC support hacks Vittorio Giovara (37): Bump major versions of all libraries lavfi: Drop deprecated way of passing options for a few filters lavfi: Drop

[libav-devel] [PATCH 03/40] lavfi: Drop deprecated functions to open a filter or a filterchain

2017-03-16 Thread Vittorio Giovara
Deprecated in 03/2013. --- libavfilter/avfilter.c | 8 libavfilter/avfilter.h | 30 -- libavfilter/avfiltergraph.c | 17 - libavfilter/version.h | 3 --- 4 files changed, 58 deletions(-) diff --git a/libavfilter/avfilter.c

Re: [libav-devel] [PATCH] mpeg4audio: make avpriv_copy_pce_data() inline

2017-03-16 Thread Vittorio Giovara
On Thu, Mar 16, 2017 at 12:48 PM, Anton Khirnov wrote: > Well, I think it still needs to be namespaced somehow. ff_? ffpriv_ -- Vittorio ___ libav-devel mailing list libav-devel@libav.org

[libav-devel] [PATCH 2/2] vf_showinfo: Display spherical properties

2017-03-15 Thread Vittorio Giovara
--- libavfilter/vf_showinfo.c | 41 + 1 file changed, 41 insertions(+) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index b44f3d2bf2..d5605e6922 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -29,6 +29,7 @@

[libav-devel] [PATCH 1/2] vf_showinfo: Simplify reporting stereo3d information

2017-03-15 Thread Vittorio Giovara
--- libavfilter/vf_showinfo.c | 14 +- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 204ff7a857..b44f3d2bf2 100644 --- a/libavfilter/vf_showinfo.c +++ b/libavfilter/vf_showinfo.c @@ -51,19 +51,7 @@ static void

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

2017-03-15 Thread Vittorio Giovara
On Wed, Mar 15, 2017 at 5:52 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 15/03/2017 22:38, Vittorio Giovara wrote: >> These values are defined to be 32bit in the specification, >> so it makes more sense to store them as fixed width. >> >> Signed-off-by

Re: [libav-devel] [PATCH] matroskaenc: add support for Spherical Video elements

2017-03-15 Thread Vittorio Giovara
On Thu, Mar 9, 2017 at 1:11 PM, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/matroskaenc.c | 81 > +++ > libavformat/version.h | 2 +- > 2 files changed, 82 insertions(+), 1

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

2017-03-15 Thread Vittorio Giovara
These values are defined to be 32bit in the specification, so it makes more sense to store them as fixed width. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Updated commit message, changed a couple of internal types. Vittorio libavformat/dump.c| 2 +- libav

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

2017-03-15 Thread Vittorio Giovara
On Wed, Mar 15, 2017 at 10:54 AM, Anton Khirnov wrote: > > I'm not against this change, but as this is an ABI break, it should be > done during the major bump (which should be happening around now anyway). > It should also be mentioned in apichages. I am aware that this is an

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

2017-03-14 Thread Vittorio Giovara
These types better reflect the ones described in the specification and avoid any platform-specific implementation issues. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/dump.c| 2 +- libavutil/spherical.h | 10 +- 2 files changed, 6 insertions

Re: [libav-devel] [PATCH] rtsp: Spin in a separate function the rtsp message parsing

2017-03-14 Thread Vittorio Giovara
On Tue, Mar 14, 2017 at 12:44 PM, Luca Barbato wrote: > Makes easier manage the polling function pending the > threading support. > --- rtsp: Move message parsing to a separate function Makes it easier to handle the polling function before we implement full threading

Re: [libav-devel] [PATCH] pixlet: Fix architecture-dependent code and values

2017-03-06 Thread Vittorio Giovara
On Thu, Mar 2, 2017 at 4:34 PM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > @@ -389,29 +387,29 @@ static void filterfn(int16_t *dest, int16_t *tmp, > size_t size, float SCALE) > } > > for (i = 0; i < hsize; i++) { > -value = low [i +

[libav-devel] [PATCH] pixlet: Fix architecture-dependent code and values

2017-03-02 Thread Vittorio Giovara
point (32.32) arithmetics everywhere, replacing floating constants with precomputed integer values, and force the pixel format output to be the same in the fate test. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/pixlet.c

Re: [libav-devel] [PATCH] fate: Set output pixel format in pixlet test

2017-03-02 Thread Vittorio Giovara
On Wed, Mar 1, 2017 at 9:56 PM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > --- > This should partially alleviate the breakage. > Partially as in powerpc boxes should output the same hash, I still to > verify whether it fixes the 32bit ones too. > Vittorio > >

Re: [libav-devel] [PATCH 0/7] spherical set

2017-03-02 Thread Vittorio Giovara
On Tue, Feb 28, 2017 at 1:52 PM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 28/02/2017 16:58, Vittorio Giovara wrote: >> Hi, >> this should be the final version of the set. A couple of these have >> been reviewed, but I would like to have a final complete pass befo

[libav-devel] [PATCH] fate: Set output pixel format in pixlet test

2017-03-01 Thread Vittorio Giovara
--- This should partially alleviate the breakage. Partially as in powerpc boxes should output the same hash, I still to verify whether it fixes the 32bit ones too. Vittorio tests/fate/video.mak | 2 +- tests/ref/fate/pixlet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [libav-devel] [PATCH] configure: Fix typo in objcc default setting

2017-02-28 Thread Vittorio Giovara
On Tue, Feb 28, 2017 at 1:32 PM, Diego Biurrun wrote: > Also drop stray duplicate OBJCC config.mak entry. > --- > configure | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/configure b/configure > index 9f5f009..2adaa23 100755 > --- a/configure > +++

Re: [libav-devel] [PATCH 5/7] mov: Export bounds and padding from spherical metadata

2017-02-28 Thread Vittorio Giovara
On Tue, Feb 28, 2017 at 10:58 AM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > Update the fate test as needed. > > Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> > --- > libavformat/mov.c| 28 +++- > tes

[libav-devel] [PATCH] mkv: Export bounds and padding from spherical metadata

2017-02-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Updated according James' suggestion. Vittorio libavformat/matroskadec.c | 55 +-- 1 file changed, 53 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libav

Re: [libav-devel] [PATCH 1/4] put_bits: bounds check buffer

2017-02-28 Thread Vittorio Giovara
On Tue, Feb 28, 2017 at 11:35 AM, John Stebbins <stebb...@jetheaddev.com> wrote: > On 02/28/2017 09:16 AM, John Stebbins wrote: >> On 02/28/2017 08:40 AM, Luca Barbato wrote: >>> On 28/02/2017 16:27, Vittorio Giovara wrote: >>>> On Sun, Feb 26, 20

[libav-devel] [PATCH 3.5/7] mov: Validate cubemap layout

2017-02-28 Thread Vittorio Giovara
--- As suggested by James, this goes immediately after 3/7. Vittorio libavformat/mov.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f406831..2bd4807 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3235,7 +3235,7

Re: [libav-devel] [PATCH 3/3] Add Apple Pixlet decoder

2017-02-28 Thread Vittorio Giovara
On Thu, Feb 23, 2017 at 6:18 AM, Diego Biurrun <di...@biurrun.de> wrote: > On Wed, Feb 22, 2017 at 12:53:35PM -0500, Vittorio Giovara wrote: >> --- /dev/null >> +++ b/libavcodec/pixlet.c >> @@ -0,0 +1,689 @@ >> +static int read_high_coeffs(AVCodecContext *avct

[libav-devel] [PATCH 5/7] mov: Export bounds and padding from spherical metadata

2017-02-28 Thread Vittorio Giovara
Update the fate test as needed. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/mov.c| 28 +++- tests/fate/mov.mak | 2 +- tests/ref/fate/mov-spherical | 6 +- 3 files changed, 33 insertions(+), 3 deletions(-)

[libav-devel] [PATCH 7/7] mkv: Export bounds and padding from spherical metadata

2017-02-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/matroskadec.c | 60 +-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 3dd54eb..adcb553

[libav-devel] [PATCH 2/7] mov: Ignore old spherical metadata when newer version is present

2017-02-28 Thread Vittorio Giovara
--- libavformat/mov.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index d5de5d6..f1ff6ad 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3335,7 +3335,8 @@ static int mov_parse_uuid_spherical(MOVStreamContext *sc,

[libav-devel] [PATCH 1/7] mov: Fix spherical metadata_source parsing

2017-02-28 Thread Vittorio Giovara
From: Aaron Colwell Signed-off-by: James Almer --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 5c9f85c..d5de5d6 100644 --- a/libavformat/mov.c +++

[libav-devel] [PATCH 4/7] spherical: Add tiled equirectangular type and projection-specific properties

2017-02-28 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- avtools/avprobe.c | 18 ++--- doc/APIchanges| 5 libavformat/dump.c| 15 +-- libavutil/spherical.c | 18 + libavutil/spherical.

[libav-devel] [PATCH 6/7] matroskadec: add support for Spherical Video elements

2017-02-28 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> --- libavformat/matroska.h| 14 ++ libavformat/matroskadec.c | 69 +++ 2

[libav-devel] [PATCH 3/7] mov: Validate spherical metadata version

2017-02-28 Thread Vittorio Giovara
--- libavformat/mov.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index f1ff6ad..f406831 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3235,7 +3235,7 @@ static int mov_read_sv3d(MOVContext *c,

[libav-devel] [PATCH 0/7] spherical set

2017-02-28 Thread Vittorio Giovara
Video elements Vittorio Giovara (5): mov: Ignore old spherical metadata when newer version is present mov: Validate spherical metadata version spherical: Add tiled equirectangular type and projection-specific properties mov: Export bounds and padding from spherical metadata mkv: Export

Re: [libav-devel] [PATCH 1/4] put_bits: bounds check buffer

2017-02-28 Thread Vittorio Giovara
On Sun, Feb 26, 2017 at 12:58 PM, John Stebbins wrote: > This prevents invalid writes outside put_bits' buffer. > > It also has the side effect of allowing measurement of the required > size of a buffer without the need to pre-allocate an over-sized buffer. > > This fixes

[libav-devel] [PATCH 3/3] Add Apple Pixlet decoder

2017-02-22 Thread Vittorio Giovara
From: Paul B Mahol <one...@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Changes from last iteration: - lowpass_prediction is rewritten to be clearer (by Anton) - bitstream_unget is used instead of read + branch/skip Missing version.h bump, I'll add it

[libav-devel] [PATCH 1/3] intmath: add faster clz support

2017-02-22 Thread Vittorio Giovara
From: Ganesh Ajjanagadde --- libavutil/intmath.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavutil/intmath.h b/libavutil/intmath.h index a5ee652..780bbab 100644 --- a/libavutil/intmath.h +++ b/libavutil/intmath.h @@ -44,6 +44,10 @@ #

[libav-devel] [PATCH 2/3] libavutil: add av_mod_uintp2

2017-02-22 Thread Vittorio Giovara
From: James Almer Signed-off-by: James Almer --- libavutil/common.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavutil/common.h b/libavutil/common.h index d2ddcba..3832f10 100644 --- a/libavutil/common.h +++ b/libavutil/common.h

Re: [libav-devel] [PATCH 5/5] fate: Add build-only targets to FATE

2017-02-22 Thread Vittorio Giovara
On Wed, Feb 22, 2017 at 11:39 AM, Diego Biurrun wrote: > --- > diff --git a/tests/fate/examples.mak b/tests/fate/examples.mak > new file mode 100644 > index 000..9809645 > --- /dev/null > +++ b/tests/fate/examples.mak > @@ -0,0 +1,32 @@ >

Re: [libav-devel] [PATCH 3/5] fate: Rename WMV8_DRM decoder tests to WMV3_DRM

2017-02-22 Thread Vittorio Giovara
On Wed, Feb 22, 2017 at 11:39 AM, Diego Biurrun wrote: > The codec used in those files is WMV3/WMV9, not WMV2/WMV8. > --- > tests/fate/microsoft.mak | 12 ++-- > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/tests/fate/microsoft.mak

Re: [libav-devel] [PATCH 2/5] Use modern avconv syntax for codec selection in documentation and tests

2017-02-22 Thread Vittorio Giovara
On Wed, Feb 22, 2017 at 11:39 AM, Diego Biurrun wrote: > --- > doc/encoders.texi| 2 +- > doc/faq.texi | 8 > doc/filters.texi | 4 ++-- > tests/fate-run.sh| 4 ++-- > tests/fate/demux.mak | 34

[libav-devel] [PATCHv3 3/3] mkv: Export bounds and padding from spherical metadata

2017-02-21 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/matroskadec.c | 60 +-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 3dd54eb..adcb553

[libav-devel] [PATCHv3 2/3] mov: Export bounds and padding from spherical metadata

2017-02-21 Thread Vittorio Giovara
Update the fate test as needed. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavformat/mov.c| 28 +++- tests/fate/mov.mak | 2 +- tests/ref/fate/mov-spherical | 6 +- 3 files changed, 33 insertions(+), 3 deletions(-)

[libav-devel] [PATCHv3 1/3] spherical: Add tiled equirectangular type and projection-specific properties

2017-02-21 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- This leaves bounds unchanged, simplifying future muxing code. Add a convenience function where human-readable values are needed. Update mov and mkv in subsequent patches. Vittorio avtools/avprobe.c | 18 ++--

Re: [libav-devel] [PATCH 1/5] rtsp: Factor out packet reading

2017-02-20 Thread Vittorio Giovara
On Sun, Feb 19, 2017 at 6:10 PM, Luca Barbato wrote: > --- > libavformat/rtsp.c | 67 > +- > 1 file changed, 41 insertions(+), 26 deletions(-) > > diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c > index

Re: [libav-devel] [PATCH] matroskaenc: factor ts_offset in block timecode computation

2017-02-16 Thread Vittorio Giovara
On Thu, Feb 16, 2017 at 11:14 AM, John Stebbins wrote: > On 02/15/2017 10:09 PM, Luca Barbato wrote: >> On 15/02/2017 23:29, John Stebbins wrote: >>> ts_offset was added to cluster timecode, but then effectively subtracted >>> back off the block timecode >>> --- >>>

[libav-devel] [PATCH] h264_sei: Check actual presence of picture timing SEI message

2017-02-15 Thread Vittorio Giovara
From: Michael Niedermayer Signed-off-by: Michael Niedermayer --- This should hopefully be a better fix for the undetected interlaced samples I reported a couple of days ago. Vittorio libavcodec/h264_parser.c | 4 ++-- libavcodec/h264_sei.c|

Re: [libav-devel] [PATCH 4/5] mov: Export bounds and padding from spherical metadata

2017-02-15 Thread Vittorio Giovara
On Wed, Feb 15, 2017 at 11:29 AM, wm4 <nfx...@googlemail.com> wrote: > On Wed, 15 Feb 2017 11:16:40 -0500 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > >> On Wed, Feb 15, 2017 at 11:12 AM, wm4 <nfx...@googlemail.com> wrote: >> > On Fri, 10 Feb

[libav-devel] [PATCHv2 4/6] mov: Export bounds and padding from spherical metadata

2017-02-15 Thread Vittorio Giovara
Update the fate test as needed. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Validate bounding rectangle in spec v2. Use James' suggestion about UINT32_MAX. Vittorio libavformat/mov.c| 53 +++- tests/fate/m

[libav-devel] [PATCHv2 5/6] mkv: Export bounds and padding from spherical metadata

2017-02-15 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Update according to James' review. Vittorio libavformat/matroskadec.c | 65 +-- 1 file changed, 63 insertions(+), 2 deletions(-) diff --git a/libavformat/matroskadec.c b/libav

[libav-devel] [PATCH 6/6] mov: Validate spherical metadata version

2017-02-15 Thread Vittorio Giovara
--- Patch suggested by James. Vittorio libavformat/mov.c | 26 ++ 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index d727612..0d9e83a 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3229,7 +3229,7 @@

[libav-devel] [PATCHv2 1/6] mov: Fix spherical metadata_source parsing

2017-02-15 Thread Vittorio Giovara
From: Aaron Colwell Signed-off-by: James Almer --- Updated to the right chunks. Vittorio libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 11bcff0..6d1b2b2 100644 ---

[libav-devel] [PATCHv2 3/6] spherical: Add tiled equirectangular type and projection-specific properties

2017-02-15 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Modified names and applied other comments. Vittorio avprobe.c | 15 +++--- doc/APIchanges| 5 + libavformat/dump.c| 10 + libavutil/spherical.

[libav-devel] [PATCHv2 2/6] matroskadec: add support for Spherical Video elements

2017-02-15 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> --- Updated according review. Vittorio libavformat/matroska.h| 14 ++ libavformat/

Re: [libav-devel] [PATCH 4/5] mov: Export bounds and padding from spherical metadata

2017-02-15 Thread Vittorio Giovara
On Wed, Feb 15, 2017 at 11:12 AM, wm4 <nfx...@googlemail.com> wrote: > On Fri, 10 Feb 2017 16:08:10 -0500 > Vittorio Giovara <vittorio.giov...@gmail.com> wrote: >> @@ -3369,6 +3393,26 @@ static int mov_parse_uuid_spherical(MOVStreamContext >> *sc, AVIOCont

Re: [libav-devel] [PATCH 4/5] mov: Export bounds and padding from spherical metadata

2017-02-15 Thread Vittorio Giovara
On Wed, Feb 15, 2017 at 2:46 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-02-10 22:08:10) >> Update the fate test as needed. >> --- >> libavformat/mov.c| 46 >> +++- >

Re: [libav-devel] [PATCH 1/5] mov: Fix spherical metadata_source parsing

2017-02-15 Thread Vittorio Giovara
On Wed, Feb 15, 2017 at 2:22 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-02-10 22:08:07) >> From: Aaron Colwell <acolw...@google.com> >> >> Signed-off-by: James Almer <jamr...@gmail.com> >> --- >> libavformat/mo

Re: [libav-devel] [PATCH] mov: Do not try to parse multiple stsd boxes for the same track

2017-02-13 Thread Vittorio Giovara
On Sat, Feb 11, 2017 at 4:44 PM, Luca Barbato wrote: > Bug-Id: 1017 > CC: libav-sta...@libav.org > --- > > libavformat/mov.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 2810960..001abcc 100644 > ---

Re: [libav-devel] [PATCH 3/4] Rename "tools" subdirectory to "utilities"

2017-02-13 Thread Vittorio Giovara
On Sat, Feb 11, 2017 at 2:58 PM, Luca Barbato wrote: > On 06/01/2017 14:45, Diego Biurrun wrote: >> --- > > Seems fine. > I don't mean to bikeshed the name, but why? Is it too similar to avtools directory? If so please mention that in the commit log. -- Vittorio

[libav-devel] [PATCH] h264: Correctly initialize interlaced_frame if tff is set

2017-02-10 Thread Vittorio Giovara
In particular cases, it is possible to initialize top_field_first but not interlaced_frame. Make sure to correctly tag a frame as interlaced when this happens. Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- libavcodec/h264_slice.c | 10 ++ 1 file changed, 6 inse

[libav-devel] [PATCH 1/5] mov: Fix spherical metadata_source parsing

2017-02-10 Thread Vittorio Giovara
From: Aaron Colwell Signed-off-by: James Almer --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 2810960..4a6f9c0 100644 --- a/libavformat/mov.c +++

[libav-devel] [PATCH 5/5] mkv: Export bounds and padding from spherical metadata

2017-02-10 Thread Vittorio Giovara
--- libavformat/matroskadec.c | 34 +- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index a44ceeb..ebfd414 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -1601,17

[libav-devel] [PATCH 4/5] mov: Export bounds and padding from spherical metadata

2017-02-10 Thread Vittorio Giovara
Update the fate test as needed. --- libavformat/mov.c| 46 +++- tests/fate/mov.mak | 2 +- tests/ref/fate/mov-spherical | 6 +- 3 files changed, 51 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c

[libav-devel] [PATCH 2/5] matroskadec: add support for Spherical Video elements

2017-02-10 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> --- libavformat/matroska.h| 14 +++ libavformat/matroskadec.c | 63 +++ 2

[libav-devel] [PATCH 3/5] spherical: Add tiled equirectangular type and projection-specific properties

2017-02-10 Thread Vittorio Giovara
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- avprobe.c | 15 +++--- doc/APIchanges| 5 + libavformat/dump.c| 10 + libavutil/spherical.h | 56 +++ libavutil/version.h | 2

Re: [libav-devel] [PATCH] travis: Ignore the filter-fade test

2017-02-09 Thread Vittorio Giovara
On Thu, Feb 9, 2017 at 8:30 PM, Luca Barbato wrote: > On 26/01/2017 12:42, Luca Barbato wrote: >> It glitches with the stale travis linux target. >> --- >> >> .travis.yml | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/.travis.yml b/.travis.yml >>

Re: [libav-devel] [PATCH] imgutils: Document av_image_get_buffer_size()

2017-02-08 Thread Vittorio Giovara
On Tue, Feb 7, 2017 at 10:01 AM, Vittorio Giovara <vittorio.giov...@gmail.com> wrote: > --- > libavutil/imgutils.h | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/libavutil/imgutils.h b/libavutil/imgutils.h > index 67063a2..ac1bcb8

Re: [libav-devel] [PATCH 3/5] frame: allow align=0 (meaning automatic) for av_frame_get_buffer()

2017-02-08 Thread Vittorio Giovara
On Wed, Feb 8, 2017 at 5:50 AM, Anton Khirnov wrote: > This will avoid every caller from hardcoding some specific alignment, > which may break in the future with new instruction sets. > --- > doc/APIchanges | 4 > libavutil/frame.c | 4 > libavutil/frame.h |

[libav-devel] [PATCH] imgutils: Document av_image_get_buffer_size()

2017-02-07 Thread Vittorio Giovara
--- libavutil/imgutils.h | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavutil/imgutils.h b/libavutil/imgutils.h index 67063a2..ac1bcb8 100644 --- a/libavutil/imgutils.h +++ b/libavutil/imgutils.h @@ -169,7 +169,12 @@ int av_image_fill_arrays(uint8_t *dst_data[4],

Re: [libav-devel] [PATCH] asfdec: use the BMP_HEADER specific Format Data size instead of

2017-02-07 Thread Vittorio Giovara
On Tue, Feb 7, 2017 at 8:15 AM, Alexandra Hájková wrote: > the ASF specific Format Data size. Fixes video decoding problem > part of the bug 1020. > --- > libavformat/asfdec.c | 8 +--- > libavformat/avidec.c | 2 +- > libavformat/riff.h| 2 +- >

[libav-devel] [fosdem] bof room

2017-02-05 Thread Vittorio Giovara
Hi, there will be a BoF room available for Libav talks and development at 1.15pm/13.15 in the H building (first floor). -- Vittorio ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

[libav-devel] [PATCH] Add Apple Pixlet decoder

2017-02-04 Thread Vittorio Giovara
From: Paul B Mahol <one...@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Patch updated according to Diego and Anton's review. Vittorio Changelog | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcod

Re: [libav-devel] [PATCH] Add Apple Pixlet decoder

2017-02-04 Thread Vittorio Giovara
On Sat, Feb 4, 2017 at 11:11 AM, Diego Biurrun <di...@biurrun.de> wrote: > On Fri, Feb 03, 2017 at 05:57:33PM +0100, Vittorio Giovara wrote: >> --- /dev/null >> +++ b/libavcodec/pixlet.c >> +static void postprocess_luma(AVFrame *frame, int w, int h, int depth) &

[libav-devel] [PATCH 2/2] libavutil: add av_mod_uintp2

2017-02-03 Thread Vittorio Giovara
From: James Almer Signed-off-by: James Almer --- Second api requirment for pixlet. Vittorio libavutil/common.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavutil/common.h b/libavutil/common.h index d2ddcba..3832f10 100644 ---

[libav-devel] [PATCH 1/2] intmath: add faster clz support

2017-02-03 Thread Vittorio Giovara
From: Ganesh Ajjanagadde --- One of the api requirements for pixlet. Vittorio libavutil/intmath.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavutil/intmath.h b/libavutil/intmath.h index a5ee652..780bbab 100644 --- a/libavutil/intmath.h

[libav-devel] [PATCH] Add Apple Pixlet decoder

2017-02-03 Thread Vittorio Giovara
From: Paul B Mahol <one...@gmail.com> Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- Changelog | 1 + doc/general.texi| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/

[libav-devel] [PATCH] mov: Rework stsc index validation

2017-02-03 Thread Vittorio Giovara
In order to avoid potential integer overflow change the comparison andmake sure to use the same unsigned type for both elements. --- Thanks to Clement for pointing this issue out. Vittorio libavformat/isom.h | 2 +- libavformat/mov.c | 8 2 files changed, 5 insertions(+), 5

Re: [libav-devel] [PATCH 03/12] configure: Use inline asm check helper function where appropriate

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 6:37 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Wed, Feb 01, 2017 at 01:12:47PM +0100, Vittorio Giovara wrote: >> On Wed, Feb 1, 2017 at 12:23 PM, Diego Biurrun <di...@biurrun.de> wrote: >> > On Wed, Feb 01, 2017 at 10:51:15AM

Re: [libav-devel] [PATCH 03/12] configure: Use inline asm check helper function where appropriate

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 12:23 PM, Diego Biurrun <di...@biurrun.de> wrote: > On Wed, Feb 01, 2017 at 10:51:15AM +0100, Vittorio Giovara wrote: >> On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun <di...@biurrun.de> wrote: >> > --- a/configure >> > +++ b/c

Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 11:34 AM, Anton Khirnov <an...@khirnov.net> wrote: > Quoting Vittorio Giovara (2017-02-01 10:44:11) >> On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov <an...@khirnov.net> wrote: >> > Video decoders always consume full packets. >> &

Re: [libav-devel] [PATCH] svq3: fix the slice size check

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 11:52 AM, Anton Khirnov wrote: > Currently it incorrectly compares bits with bytes. > > Also, move the check right before where it's relevant, so that the > correct number of remaining bits is used. > > CC: libav-sta...@libav.org > --- >

Re: [libav-devel] [PATCH 11/12] configure: Simplify dlopen check

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > --- > @@ -4452,11 +4448,8 @@ check_code cc arm_neon.h "int16x8_t test = > vdupq_n_s16(0)" && enable intrinsics_ > > check_ldflags -Wl,--as-needed > > -if check_func dlopen; then > -ldl= > -elif check_func dlopen -ldl;

Re: [libav-devel] [PATCH 10/12] configure: Drop weak dependencies on external libraries for webm muxer

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > Weak dependencies on external libraries do not obviate having to > explicitly enable these libraries, so the weak dependency does not > simplify the configure command line nor have any real effect. > --- > configure | 1 -

Re: [libav-devel] [PATCH 09/12] configure: Add proper weak dependency of drawtext filter on libfontconfig

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 90bc8b2..9ff6ad0 100755 > --- a/configure > +++ b/configure > @@ -2471,6 +2471,7 @@

Re: [libav-devel] [PATCH 06/12] configure: Add require_cpp_condition() convenience function

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > Simplifies checking for conditions in external library headers and > aborting if said conditions are not met. > --- > configure | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) probably ok --

Re: [libav-devel] [PATCH 05/12] configure: Add require_header() convenience function

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > Simplifies checking for external library headers and aborting if > the external library support was requested, but is not available. > --- > configure | 15 +++ > 1 file changed, 11 insertions(+), 4

Re: [libav-devel] [PATCH 03/12] configure: Use inline asm check helper function where appropriate

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > --- > configure | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/configure b/configure > index f7436c5..c543c05 100755 > --- a/configure > +++ b/configure > @@ -4165,9 +4165,7 @@ EOF > sym=$($nm

Re: [libav-devel] [PATCH 02/12] configure: Merge compiler/libc/os hacks sections

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > --- > configure | 27 +-- > 1 file changed, 13 insertions(+), 14 deletions(-) > > diff --git a/configure b/configure > index 2c8b57e..f7436c5 100755 > --- a/configure > +++ b/configure > @@ -4097,26

Re: [libav-devel] [PATCH 01/12] configure: Use cppflags check helper functions where appropriate

2017-02-01 Thread Vittorio Giovara
On Tue, Jan 24, 2017 at 6:12 PM, Diego Biurrun wrote: > --- > configure | 14 -- > 1 file changed, 4 insertions(+), 10 deletions(-) > > diff --git a/configure b/configure > index 61d1807..2c8b57e 100755 > --- a/configure > +++ b/configure > @@ -3746,18 +3746,12 @@

Re: [libav-devel] [PATCH 2/7] pthread_frame: merge the functionality for normal decoder init and init_thread_copy

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 10:15 AM, Anton Khirnov wrote: > diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c > index b27aa54..771520b 100644 > --- a/libavcodec/h264dec.c > +++ b/libavcodec/h264dec.c > @@ -383,14 +383,16 @@ static av_cold int h264_decode_init(AVCodecContext

Re: [libav-devel] [PATCH 4/4] h264dec: drop pointless counting of consumed bytes

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: > Video decoders always consume full packets. > --- > libavcodec/h264dec.c | 20 +++- > 1 file changed, 3 insertions(+), 17 deletions(-) Do you mean that get_consumed_bytes() was always equal to buf_size?

Re: [libav-devel] [PATCH 3/4] h264dec: replace a pointless ref+unref with move_ref

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: > --- > libavcodec/h264dec.c | 5 + > 1 file changed, 1 insertion(+), 4 deletions(-) > > diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c > index b92795d..6ce0287 100644 > --- a/libavcodec/h264dec.c > +++

Re: [libav-devel] [PATCH 1/4] h264: mark the currently active SPS as const

2017-02-01 Thread Vittorio Giovara
On Wed, Feb 1, 2017 at 10:25 AM, Anton Khirnov wrote: > It is never modified anymore. > --- > libavcodec/h264_ps.h| 3 +-- > libavcodec/h264_slice.c | 2 +- > 2 files changed, 2 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/h264_ps.h b/libavcodec/h264_ps.h >

Re: [libav-devel] [PATCH] build: Move cli tools to a separate subdirectory

2017-01-31 Thread Vittorio Giovara
On Tue, Jan 31, 2017 at 9:11 PM, Diego Biurrun wrote: > This unclutters the top-level directory and groups related files together. > --- > diff --git a/avtools/Makefile b/avtools/Makefile > new file mode 100644 > index 000..04d2a02 > --- /dev/null > +++ b/avtools/Makefile >

Re: [libav-devel] [PATCH 14/14] wma: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > > Carried over from the last batch. > > libavcodec/wma.c| 41 +++ > libavcodec/wma.h| 8 +- > libavcodec/wmadec.c | 64

Re: [libav-devel] [PATCH 12/14] jpeg: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/jpeglsdec.c | 48 +- > libavcodec/jpeglsenc.c | 14 +-- > libavcodec/mjpegbdec.c | 44 - > libavcodec/mjpegdec.c | 242 >

Re: [libav-devel] [PATCH 08/14] shorten: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/shorten.c | 49 + > 1 file changed, 25 insertions(+), 24 deletions(-) ok -- Vittorio

Re: [libav-devel] [PATCH 03/14] cavs: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/cavs.c| 8 +-- > libavcodec/cavs.h| 4 +- > libavcodec/cavsdec.c | 178 > +-- > 3 files

Re: [libav-devel] [PATCH 10/14] ffv1: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/ffv1.h| 4 ++-- > libavcodec/ffv1dec.c | 24 > 2 files changed, 14 insertions(+), 14 deletions(-) ok -- Vittorio

Re: [libav-devel] [PATCH 06/14] loco: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/loco.c | 14 +++--- > 1 file changed, 7 insertions(+), 7 deletions(-) ok i think -- Vittorio ___

Re: [libav-devel] [PATCH 07/14] ralf: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/ralf.c | 68 > --- > 1 file changed, 35 insertions(+), 33 deletions(-) ok i think -- Vittorio

Re: [libav-devel] [PATCH 02/14] aic: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/aic.c | 30 +++--- > 1 file changed, 15 insertions(+), 15 deletions(-) probably ok -- Vittorio

Re: [libav-devel] [PATCH 05/14] fic: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/fic.c | 18 +- > 1 file changed, 9 insertions(+), 9 deletions(-) ok -- Vittorio ___

Re: [libav-devel] [PATCH 11/14] h261dec: Convert to the new bitstream reader

2017-01-26 Thread Vittorio Giovara
On Thu, Jan 26, 2017 at 11:10 AM, Diego Biurrun wrote: > From: Alexandra Hájková > > --- > libavcodec/h261dec.c | 92 > ++ > libavcodec/mpegvideo.h | 3 ++ > libavformat/h261dec.c | 11 +++--- > 3

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