[FFmpeg-devel] [PATCH] configure: improve the checks for gmtime_r and localtime_r

2015-06-05 Thread James Almer
They are inlined wrapper functions inside the time.h header on MinGW-w64, so neither check_func() or check_func_headers() work with them. Signed-off-by: James Almer --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index e29fe91..8168edc

Re: [FFmpeg-devel] colorspace.h

2015-06-05 Thread Chris
Here is a somewhat improved routine to calculate colors in colorspace.h, using the round() function. It is for calculating BT.601 and BT.709 colors. The rounding is very important for accurate colors. Is anyone else concerned about accurate colors in ffpeg? =

[FFmpeg-devel] [PATCH] hevc: fix typo (mpv -> mvp).

2015-06-05 Thread Ronald S. Bultje
--- libavcodec/hevc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c index f950349..698baa2 100644 --- a/libavcodec/hevc.c +++ b/libavcodec/hevc.c @@ -1612,7 +1612,7 @@ static void hevc_await_progress(HEVCContext *s, HEVCFrame *ref,

[FFmpeg-devel] [PATCH] avformat/mxfenc: Allow overriding /manual setting of the signal standard

2015-06-05 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/mxfenc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index c612747..f2a7f0a 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -316,6 +316,7 @@ typedef struct MXFConte

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mxfenc: Add mxf muxer avclass

2015-06-05 Thread Michael Niedermayer
On Fri, May 22, 2015 at 02:27:35PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mxfenc.c | 12 > 1 file changed, 12 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never

Re: [FFmpeg-devel] [PATCH] avcodec/s302m: Check for non PCM Streams and provide a informative error message instead of noise

2015-06-05 Thread Michael Niedermayer
On Thu, Jun 04, 2015 at 10:18:12PM +0100, Kieran Kunhya wrote: > On 4 June 2015 at 15:57, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/s302m.c | 34 ++ > > 1 file changed, 34 insertions(+) > > This should be made opti

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread Ganesh Ajjanagadde
On Fri, Jun 5, 2015 at 5:17 PM, wm4 wrote: > On Fri, 5 Jun 2015 16:28:39 -0400 > Ganesh Ajjanagadde wrote: > >> On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: >> > On Fri, 5 Jun 2015 11:15:29 -0400 >> > Ganesh Ajjanagadde wrote: >> > >> >> Although it has been deprecated from version 2.20, >> >> v

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 16:28:39 -0400 Ganesh Ajjanagadde wrote: > On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: > > On Fri, 5 Jun 2015 11:15:29 -0400 > > Ganesh Ajjanagadde wrote: > > > >> Although it has been deprecated from version 2.20, > >> version 2.19 adds the _DEFAULT_SOURCE macro > >> added i

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread Ganesh Ajjanagadde
On Fri, Jun 5, 2015 at 11:30 AM, wm4 wrote: > On Fri, 5 Jun 2015 11:15:29 -0400 > Ganesh Ajjanagadde wrote: > >> Although it has been deprecated from version 2.20, >> version 2.19 adds the _DEFAULT_SOURCE macro >> added in Feb 2014, see >> e.g man feature_test_macros. >> >> I posted this because

[FFmpeg-devel] [PATCH] vf_colormatrix: calculate coefficients only once

2015-06-05 Thread Ganesh Ajjanagadde
calc_coefficients is no longer being called every frame Signed-off-by: Ganesh Ajjanagadde --- libavfilter/vf_colormatrix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index fde4b89..4971cac 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH] flvdec: fix lack of duration for some files

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 02:14:58PM -0400, Ganesh Ajjanagadde wrote: > Fixes #4579 > > Signed-off-by: Ganesh Ajjanagadde > --- > libavformat/flvdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread James Almer
On 05/06/15 3:20 PM, Michael Niedermayer wrote: > On Fri, Jun 05, 2015 at 08:05:33PM +0200, Michael Niedermayer wrote: >> On Fri, Jun 05, 2015 at 07:59:47PM +0200, Michael Niedermayer wrote: >>> On Fri, Jun 05, 2015 at 10:04:54AM -0400, Ronald S. Bultje wrote: Hi, On Fri, Jun 5, 2015

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 20:05:33 +0200 Michael Niedermayer wrote: > On Fri, Jun 05, 2015 at 07:59:47PM +0200, Michael Niedermayer wrote: > > On Fri, Jun 05, 2015 at 10:04:54AM -0400, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Fri, Jun 5, 2015 at 5:54 AM, Nedeljko Babic > > > wrote: > > > > >

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 08:05:33PM +0200, Michael Niedermayer wrote: > On Fri, Jun 05, 2015 at 07:59:47PM +0200, Michael Niedermayer wrote: > > On Fri, Jun 05, 2015 at 10:04:54AM -0400, Ronald S. Bultje wrote: > > > Hi, > > > > > > On Fri, Jun 5, 2015 at 5:54 AM, Nedeljko Babic > > > wrote: > > >

[FFmpeg-devel] [PATCH] flvdec: fix lack of duration for some files

2015-06-05 Thread Ganesh Ajjanagadde
Fixes #4579 Signed-off-by: Ganesh Ajjanagadde --- libavformat/flvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 07f7b68..cc3b9bb 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -841,7 +841,7 @@ static in

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 07:59:47PM +0200, Michael Niedermayer wrote: > On Fri, Jun 05, 2015 at 10:04:54AM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Fri, Jun 5, 2015 at 5:54 AM, Nedeljko Babic > > wrote: > > > > > New functions are added to fixed_dsp, so the documentation is changed > > >

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 10:04:54AM -0400, Ronald S. Bultje wrote: > Hi, > > On Fri, Jun 5, 2015 at 5:54 AM, Nedeljko Babic > wrote: > > > New functions are added to fixed_dsp, so the documentation is changed > > accordingly. > > > > Signed-off-by: Nedeljko Babic > > --- > > doc/APIchanges

Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-05 Thread Chris
Here is some interesting reading on the subject: http://en.wikipedia.org/wiki/Rec._2020 https://www.itu.int/dms_pubrec/itu-r/rec/bt/R-REC-BT.2020-1-201406-I!!PDF-E.pdf There are two bit depths in BT.2020: 10 bits and 12 bits. There are also two screen resolutions, known informally as "4k" and "

Re: [FFmpeg-devel] colormatrix high-bit-depth input support

2015-06-05 Thread Kevin Wells
> To: ffmpeg-devel@ffmpeg.org > From: ceho...@ag.or.at > Date: Wed, 3 Jun 2015 22:53:09 + > Subject: Re: [FFmpeg-devel] colormatrix high-bit-depth input support > > Kevin Wells hotmail.co.uk> writes: > >> Hi, I believe that currently the colormatrix fil

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 11:15:29 -0400 Ganesh Ajjanagadde wrote: > Although it has been deprecated from version 2.20, > version 2.19 adds the _DEFAULT_SOURCE macro > added in Feb 2014, see > e.g man feature_test_macros. > > I posted this because lots of major projects have now > shifted to the new ma

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 11:15:29AM -0400, Ganesh Ajjanagadde wrote: > Although it has been deprecated from version 2.20, > version 2.19 adds the _DEFAULT_SOURCE macro > added in Feb 2014, see > e.g man feature_test_macros. > > I posted this because lots of major projects have now > shifted to the

Re: [FFmpeg-devel] [PATCH] arm: only enable setend on ARMv6

2015-06-05 Thread Andreas Cadhalpun
On 05.06.2015 16:29, Michael Niedermayer wrote: > On Fri, Jun 05, 2015 at 01:40:31PM +0200, Andreas Cadhalpun wrote: >> On 05.06.2015 00:47, Michael Niedermayer wrote: >>> or (AV_CPU_FLAG_ARMV6T2 | AV_CPU_FLAG_ARMV6) >> >> That seems better, assuming setend is useful on ARMv6t2. > > AFAIK its even

Re: [FFmpeg-devel] [PATCH] libavformat, libswscale: fix warning for deprecated macros

2015-06-05 Thread Ganesh Ajjanagadde
Although it has been deprecated from version 2.20, version 2.19 adds the _DEFAULT_SOURCE macro added in Feb 2014, see e.g man feature_test_macros. I posted this because lots of major projects have now shifted to the new macros, it has been available for 1.5 years now, and the old macros are deprec

Re: [FFmpeg-devel] [PATCH] arm: only enable setend on ARMv6

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 01:40:31PM +0200, Andreas Cadhalpun wrote: > On 05.06.2015 00:47, Michael Niedermayer wrote: > > On Thu, Jun 04, 2015 at 11:17:45PM +0200, Andreas Cadhalpun wrote: > >> Without this check it causes SIGILL crashes on ARMv5. > >> > >> Signed-off-by: Andreas Cadhalpun > >> ---

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Ronald S. Bultje
Hi, On Fri, Jun 5, 2015 at 5:54 AM, Nedeljko Babic wrote: > New functions are added to fixed_dsp, so the documentation is changed > accordingly. > > Signed-off-by: Nedeljko Babic > --- > doc/APIchanges | 7 +++ > libavutil/version.h | 2 +- > 2 files changed, 8 insertions(+), 1 deleti

Re: [FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 11:54:44AM +0200, Nedeljko Babic wrote: > New functions are added to fixed_dsp, so the documentation is changed > accordingly. > > Signed-off-by: Nedeljko Babic > --- > doc/APIchanges | 7 +++ > libavutil/version.h | 2 +- > 2 files changed, 8 insertions(+), 1 de

Re: [FFmpeg-devel] [PATCH] arm: only enable setend on ARMv6

2015-06-05 Thread Andreas Cadhalpun
On 05.06.2015 00:47, Michael Niedermayer wrote: > On Thu, Jun 04, 2015 at 11:17:45PM +0200, Andreas Cadhalpun wrote: >> Without this check it causes SIGILL crashes on ARMv5. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavutil/arm/cpu.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(

Re: [FFmpeg-devel] [PATCH] libavutil/softfloat: Fix normalizations.

2015-06-05 Thread Michael Niedermayer
On Fri, Jun 05, 2015 at 09:27:56AM +, Nedeljko Babic wrote: > >> >> -while((a.mant + 0x2000U)<0x4000U){ > >> >> +while((FFABS(a.mant) + 0x2000U)<0x4000U){ > >> > > >> >when exactly is this needed and how does a.mant reach that value > >> >for which this is needed

[FFmpeg-devel] [PATCH] libavutil/doc: Changes in documentation due to changes to fixed_dsp

2015-06-05 Thread Nedeljko Babic
New functions are added to fixed_dsp, so the documentation is changed accordingly. Signed-off-by: Nedeljko Babic --- doc/APIchanges | 7 +++ libavutil/version.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 5c36dca..bcf4fe6 1

Re: [FFmpeg-devel] [PATCH] libavutil/softfloat: Fix normalizations.

2015-06-05 Thread Nedeljko Babic
>> >> -while((a.mant + 0x2000U)<0x4000U){ >> >> +while((FFABS(a.mant) + 0x2000U)<0x4000U){ >> > >> >when exactly is this needed and how does a.mant reach that value >> >for which this is needed? >> >FFABS would significantly slow this down i suspect and it just looks

Re: [FFmpeg-devel] [PATCH] swresample/soxr: never return negative delay

2015-06-05 Thread wm4
On Fri, 5 Jun 2015 01:03:13 +0200 Michael Niedermayer wrote: > On Thu, Jun 04, 2015 at 07:54:15PM +0200, wm4 wrote: > > This makes no sense in this context, and can cause swr_get_out_samples() > > and swr_get_delay() negative numbers that are not error codes. > > --- > > libswresample/soxr_resam