Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
On Wed, Jul 22, 2015 at 8:28 AM, Martin Storsjö wrote: > On Wed, 22 Jul 2015, Steve Lhomme wrote: > >> On Tue, Jul 21, 2015 at 6:45 PM, Martin Storsjö wrote: >>> >>> On Tue, 21 Jul 2015, Steve Lhomme wrote: >>> On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö wrote: > > > On

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Steve Lhomme
On Wed, Jul 22, 2015 at 8:22 AM, Martin Storsjö wrote: > On Wed, 22 Jul 2015, Steve Lhomme wrote: > >> On Tue, Jul 21, 2015 at 7:13 PM, Martin Storsjö wrote: >>> >>> On Tue, 21 Jul 2015, Steve Lhomme wrote: >>> In case the VideoContext is used by different threads internally or other th

Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Martin Storsjö
On Wed, 22 Jul 2015, Steve Lhomme wrote: On Tue, Jul 21, 2015 at 6:45 PM, Martin Storsjö wrote: On Tue, 21 Jul 2015, Steve Lhomme wrote: On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö wrote: On Tue, 21 Jul 2015, Steve Lhomme wrote: renaming /usr/bin/link.exe in msys2 to /usr/bin/link p

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Martin Storsjö
On Wed, 22 Jul 2015, Steve Lhomme wrote: On Tue, Jul 21, 2015 at 7:13 PM, Martin Storsjö wrote: On Tue, 21 Jul 2015, Steve Lhomme wrote: In case the VideoContext is used by different threads internally or other threads externally --- libavcodec/d3d11va.h | 5 + libavcodec/dxva2.c | 15

[libav-devel] [PATCH 3/6] qsvdec: move qsv_process_data() from qsvdec_h264 to the common code

2015-07-21 Thread Anton Khirnov
It will be shared with the upcoming mpeg2 and hevc decoders. --- libavcodec/qsvdec.c | 109 +-- libavcodec/qsvdec.h | 12 -- libavcodec/qsvdec_h264.c | 107 ++ 3 files changed, 118 insertions(+),

Re: [libav-devel] [PATCH] checkasm: Always link statically

2015-07-21 Thread Anton Khirnov
Quoting Andreas Cadhalpun (2015-07-22 00:01:09) > On 21.07.2015 23:23, Luca Barbato wrote: > > Checkasm needs to use internal symbols that should not be made public. > > --- > > Makefile| 1 + > > common.mak | 5 +++-- > > tests/checkasm/Makefile | 4 ++-- > > 3 files

[libav-devel] [PATCH 4/6] lavc: add Intel libmfx-based MPEG2 decoder.

2015-07-21 Thread Anton Khirnov
--- configure | 3 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 2 + libavcodec/qsvdec_mpeg2.c | 179 ++ 4 files changed, 185 insertions(+) create mode 100644 libavcodec/qsvdec_mpeg2.c diff --git a/configure b/co

[libav-devel] [PATCH 5/6] lavc: add a HEVC mp4->annex B bitstream filter

2015-07-21 Thread Anton Khirnov
--- libavcodec/Makefile | 1 + libavcodec/allcodecs.c| 1 + libavcodec/hevc_mp4toannexb_bsf.c | 186 ++ 3 files changed, 188 insertions(+) create mode 100644 libavcodec/hevc_mp4toannexb_bsf.c diff --git a/libavcodec/Makefile b/lib

[libav-devel] [PATCH 6/6] lavc: add Intel libmfx-based HEVC decoder.

2015-07-21 Thread Anton Khirnov
--- configure| 3 + libavcodec/Makefile | 3 +- libavcodec/allcodecs.c | 2 + libavcodec/qsvdec.c | 3 +- libavcodec/qsvdec.h | 2 + libavcodec/{qsvdec_h264.c =

[libav-devel] [PATCH 2/6] qsvenc_hevc: fix enum declaration

2015-07-21 Thread Anton Khirnov
Declare a named enum, not a variable with anonymous enum type. --- libavcodec/qsvenc_hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c index 03007f1..7fe1fa2 100644 --- a/libavcodec/qsvenc_hevc.c +++ b/libavcodec/qsve

[libav-devel] [PATCH 1/6] qsvdec: fix a memleak of async_fifo

2015-07-21 Thread Anton Khirnov
init() is called whenever format changes, so current code would leak the fifo in this case. --- libavcodec/qsvdec.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 489375c..ef781d9 100644 --- a/libavcodec/qsvdec.c +++ b

Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 6:45 PM, Martin Storsjö wrote: > On Tue, 21 Jul 2015, Steve Lhomme wrote: > >> On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö wrote: >>> >>> On Tue, 21 Jul 2015, Steve Lhomme wrote: >>> renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes >>

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 7:13 PM, Martin Storsjö wrote: > On Tue, 21 Jul 2015, Steve Lhomme wrote: > >> In case the VideoContext is used by different threads internally or >> other threads externally >> --- >> libavcodec/d3d11va.h | 5 + >> libavcodec/dxva2.c | 15 +-- >> libavcode

Re: [libav-devel] [PATCH] checkasm: Always link statically

2015-07-21 Thread Luca Barbato
On 22/07/15 00:01, Andreas Cadhalpun wrote: > This works basically fine and avoids the problems of making > more internal symbols public. > Consider my patch drop in favor of this. > > The only problem I see with this is that it ignores --disable-static. It works as intended even in that situatio

Re: [libav-devel] [PATCH] checkasm: Always link statically

2015-07-21 Thread Andreas Cadhalpun
On 21.07.2015 23:23, Luca Barbato wrote: > Checkasm needs to use internal symbols that should not be made public. > --- > Makefile| 1 + > common.mak | 5 +++-- > tests/checkasm/Makefile | 4 ++-- > 3 files changed, 6 insertions(+), 4 deletions(-) > > diff --git a/Mak

[libav-devel] [PATCH] checkasm: Always link statically

2015-07-21 Thread Luca Barbato
Checkasm needs to use internal symbols that should not be made public. --- Makefile| 1 + common.mak | 5 +++-- tests/checkasm/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 5807acd..e9a95aa 100644 --- a/Make

Re: [libav-devel] [FFmpeg-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Jerome Martinez
Le 21/07/2015 20:03, Ronald S. Bultje a écrit : +1. I can't stress how important this is. In addition, the spec should be the master, not any one implementation (because then the bugs in that one implementation will "be" the spec, regardless of what the bug is). In theory, spec should be the

Re: [libav-devel] [PATCH] checkasm: fix build with --enable-shared

2015-07-21 Thread Luca Barbato
On 21/07/15 22:16, Andreas Cadhalpun wrote: > How can one force the linking? Patch coming soon =) lu ___ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel

Re: [libav-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Luca Barbato
On 21/07/15 19:09, Dave Rice wrote: > Hi Kostya, > >> On Jul 21, 2015, at 12:58 PM, Kostya Shishkov >> wrote: >> >> On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: >>> Hi all, >> [...] >>> The FFV1 specification work may also be reviewed at github [5] >>> with recent rendering in HTML

Re: [libav-devel] [PATCH] checkasm: fix build with --enable-shared

2015-07-21 Thread Andreas Cadhalpun
On 21.07.2015 21:31, Luca Barbato wrote: > On 21/07/15 21:18, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/bswapdsp.c | 4 >> libavcodec/bswapdsp.h | 1 + >> libavcodec/h264pred.c | 7 +++ >> libavcodec/h264pred.h | 2 ++ >> libavcodec

Re: [libav-devel] [FFmpeg-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Dave Rice
> On Jul 21, 2015, at 2:59 PM, Michael Niedermayer > wrote: > > On Tue, Jul 21, 2015 at 02:03:16PM -0400, Ronald S. Bultje wrote: >> Hi, >> >> On Tue, Jul 21, 2015 at 12:58 PM, Kostya Shishkov >> wrote: >> >>> On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: Hi all, >>> [...] >

Re: [libav-devel] [FFmpeg-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Michael Niedermayer
On Tue, Jul 21, 2015 at 02:03:16PM -0400, Ronald S. Bultje wrote: > Hi, > > On Tue, Jul 21, 2015 at 12:58 PM, Kostya Shishkov > wrote: > > > On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: > > > Hi all, > > [...] > > > The FFV1 specification work may also be reviewed at github [5] wit

Re: [libav-devel] [PATCH] checkasm: fix build with --enable-shared

2015-07-21 Thread Luca Barbato
On 21/07/15 21:18, Andreas Cadhalpun wrote: > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/bswapdsp.c | 4 > libavcodec/bswapdsp.h | 1 + > libavcodec/h264pred.c | 7 +++ > libavcodec/h264pred.h | 2 ++ > libavcodec/h264qpel.c | 5 + > libavcodec/h264qpel.h

[libav-devel] [PATCH] checkasm: fix build with --enable-shared

2015-07-21 Thread Andreas Cadhalpun
Signed-off-by: Andreas Cadhalpun --- libavcodec/bswapdsp.c | 4 libavcodec/bswapdsp.h | 1 + libavcodec/h264pred.c | 7 +++ libavcodec/h264pred.h | 2 ++ libavcodec/h264qpel.c | 5 + libavcodec/h264qpel.h | 1 + tests/checkasm/bswapdsp.c | 2 +- tests/checkasm

Re: [libav-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Ronald S. Bultje
Hi, On Tue, Jul 21, 2015 at 12:58 PM, Kostya Shishkov wrote: > On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: > > Hi all, > [...] > > The FFV1 specification work may also be reviewed at github [5] with > recent rendering in HTML [6] and PDF [7] available. To participate in the > curr

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Martin Storsjö
On Tue, 21 Jul 2015, Steve Lhomme wrote: In case the VideoContext is used by different threads internally or other threads externally --- libavcodec/d3d11va.h | 5 + libavcodec/dxva2.c | 15 +-- libavcodec/version.h | 4 ++-- 3 files changed, 20 insertions(+), 4 deletions(-) B

Re: [libav-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Dave Rice
Hi Kostya, > On Jul 21, 2015, at 12:58 PM, Kostya Shishkov > wrote: > > On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: >> Hi all, > [...] >> The FFV1 specification work may also be reviewed at github [5] with recent >> rendering in HTML [6] and PDF [7] available. To participate in

Re: [libav-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Kostya Shishkov
On Tue, Jul 21, 2015 at 11:52:55AM -0400, Dave Rice wrote: > Hi all, [...] > The FFV1 specification work may also be reviewed at github [5] with recent > rendering in HTML [6] and PDF [7] available. To participate in the current > standardization efforts of FFV1 please visit the ffmpeg-devel mai

Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Martin Storsjö
On Tue, 21 Jul 2015, Steve Lhomme wrote: On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö wrote: On Tue, 21 Jul 2015, Steve Lhomme wrote: renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes and allows using MSVC when it's in the PATH --- configure | 2 +- 1 file changed,

[libav-devel] Remote participation options for IETF session on MKV/FFV1 at July 22 @ 9 CEST

2015-07-21 Thread Dave Rice
Hi all, Tomorrow, Wednesday, July 22nd, at 9:00am CEST, the Dispatch working group of the IETF is holding their meeting at IETF93 in Prague. The standardization of FFV1 and Matroska is on the agenda [1] and will be chaired by Tessa Fallon. Also presenting will be Emanuel Lorrain representing th

Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 4:46 PM, Martin Storsjö wrote: > On Tue, 21 Jul 2015, Steve Lhomme wrote: > >> renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes >> and allows using MSVC when it's in the PATH >> --- >> configure | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-

Re: [libav-devel] [PATCH] configure: use link.exe matching cl.exe, not the msys one

2015-07-21 Thread Martin Storsjö
On Tue, 21 Jul 2015, Hendrik Leppkes wrote: On Tue, Jul 21, 2015 at 3:07 PM, Steve Lhomme wrote: On Tue, Jul 21, 2015 at 2:52 PM, Hendrik Leppkes wrote: On Tue, Jul 21, 2015 at 2:07 PM, Steve Lhomme wrote: so no environment hack is needed when calling --toolchain=msvc --- configure | 2 +-

Re: [libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Martin Storsjö
On Tue, 21 Jul 2015, Steve Lhomme wrote: renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes and allows using MSVC when it's in the PATH --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) So this still requires you to hack your environment? I'd rather skip

[libav-devel] [PATCH] configure: use link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes and allows using MSVC when it's in the PATH --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 16bf852..b9d714f 100755 --- a/configure +++ b/configure @@ -2633,7 +26

Re: [libav-devel] [PATCH] configure: use the path to link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 4:33 PM, Steve Lhomme wrote: > Forget it, it doesn't work with pathes that have spaces. Which I only managed to fix by using cygpath -d... > On Tue, Jul 21, 2015 at 4:19 PM, Steve Lhomme wrote: >> renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes

Re: [libav-devel] [PATCH] configure: use the path to link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
Forget it, it doesn't work with pathes that have spaces. On Tue, Jul 21, 2015 at 4:19 PM, Steve Lhomme wrote: > renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes > and allows using MSVC when it's in the PATH > --- > configure | 3 ++- > 1 file changed, 2 insertions(+), 1

[libav-devel] [PATCH] configure: use the path to link.exe when building with MSVC

2015-07-21 Thread Steve Lhomme
renaming /usr/bin/link.exe in msys2 to /usr/bin/link preserves the pathes and allows using MSVC when it's in the PATH --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 16bf852..be313d4 100755 --- a/configure +++ b/configure @@ -2633,7 +

Re: [libav-devel] [PATCH] configure: use link.exe matching cl.exe, not the msys one

2015-07-21 Thread Hendrik Leppkes
On Tue, Jul 21, 2015 at 3:07 PM, Steve Lhomme wrote: > On Tue, Jul 21, 2015 at 2:52 PM, Hendrik Leppkes wrote: >> On Tue, Jul 21, 2015 at 2:07 PM, Steve Lhomme wrote: >>> so no environment hack is needed when calling --toolchain=msvc >>> --- >>> configure | 2 +- >>> 1 file changed, 1 insertion

Re: [libav-devel] [PATCH] configure: use link.exe matching cl.exe, not the msys one

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 2:52 PM, Hendrik Leppkes wrote: > On Tue, Jul 21, 2015 at 2:07 PM, Steve Lhomme wrote: >> so no environment hack is needed when calling --toolchain=msvc >> --- >> configure | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/configure b/configure >

Re: [libav-devel] [PATCH] configure: use link.exe matching cl.exe, not the msys one

2015-07-21 Thread Hendrik Leppkes
On Tue, Jul 21, 2015 at 2:07 PM, Steve Lhomme wrote: > so no environment hack is needed when calling --toolchain=msvc > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 16bf852..5afaaa6 100755 > --- a/configure > +++ b/configur

[libav-devel] [PATCH] configure: use link.exe matching cl.exe, not the msys one

2015-07-21 Thread Steve Lhomme
so no environment hack is needed when calling --toolchain=msvc --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 16bf852..5afaaa6 100755 --- a/configure +++ b/configure @@ -2633,7 +2633,7 @@ case "$toolchain" in else

Re: [libav-devel] [PATCH 9/9] asfdec: ommit the wrong condition

2015-07-21 Thread Alexandra Hájková
this is another thing that breaks reading from the pipe On Fri, Jul 17, 2015 at 3:42 PM, Luca Barbato wrote: > On 17/07/15 14:17, Alexandra Hájková wrote: >> --- >> libavformat/asfdec.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavformat/asfdec.c b/libavformat

[libav-devel] [PATCH] asfdec: avoid crash in the case when chunk_len is 0 or pkt_len is 0

2015-07-21 Thread Alexandra Hájková
--- libavformat/asfdec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 467adec..a52ea0b 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -777,6 +777,8 @@ static int asf_read_stream_properties(AVFormatContext *s, const GUIDP

[libav-devel] [PATCH 2/2] asfdec: do not align the Object when its size is invalid

2015-07-21 Thread Alexandra Hájková
--- libavformat/asfdec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index a4ca78b..467adec 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -168,8 +168,9 @@ static void swap_guid(ff_asf_guid guid) static vo

[libav-devel] [PATCH 1/2] asfdec: do not align Data Object when Broadcast Flag is set

2015-07-21 Thread Alexandra Hájková
its size is invalid in this case --- libavformat/asfdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 6a71be9..a4ca78b 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -926,7 +926,7 @@ static int asf_read_

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Hendrik Leppkes
On Tue, Jul 21, 2015 at 9:42 AM, Hendrik Leppkes wrote: > On Tue, Jul 21, 2015 at 9:31 AM, Steve Lhomme wrote: >> On Tue, Jul 21, 2015 at 9:13 AM, Hendrik Leppkes wrote: >>> On Tue, Jul 21, 2015 at 8:43 AM, Steve Lhomme wrote: In case the VideoContext is used by different threads internall

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Hendrik Leppkes
On Tue, Jul 21, 2015 at 9:31 AM, Steve Lhomme wrote: > On Tue, Jul 21, 2015 at 9:13 AM, Hendrik Leppkes wrote: >> On Tue, Jul 21, 2015 at 8:43 AM, Steve Lhomme wrote: >>> In case the VideoContext is used by different threads internally or >>> other threads externally >>> --- >>> libavcodec/d3d1

[libav-devel] [PATCH] asfdec: close the demuxer properly when read_header is failing

2015-07-21 Thread Alexandra Hájková
--- annotation: rebased patch libavformat/asfdec.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 7d28f18..7458e19 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -1646,14 +1646,14 @@ static int as

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Steve Lhomme
On Tue, Jul 21, 2015 at 9:13 AM, Hendrik Leppkes wrote: > On Tue, Jul 21, 2015 at 8:43 AM, Steve Lhomme wrote: >> In case the VideoContext is used by different threads internally or >> other threads externally >> --- >> libavcodec/d3d11va.h | 5 + >> libavcodec/dxva2.c | 15 +-

Re: [libav-devel] [PATCH] d3d11va: WindowsPhone requires a mutex around ID3D11VideoContext

2015-07-21 Thread Hendrik Leppkes
On Tue, Jul 21, 2015 at 8:43 AM, Steve Lhomme wrote: > In case the VideoContext is used by different threads internally or > other threads externally > --- > libavcodec/d3d11va.h | 5 + > libavcodec/dxva2.c | 15 +-- > libavcodec/version.h | 4 ++-- > 3 files changed, 20 inser