Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-03 Thread Oliver Collyer
> On 2 Jan 2019, at 17:52, Oliver Collyer wrote: > > > >> On 2 Jan 2019, at 11:30, Oliver Collyer wrote: >> >> >> >>> On 1 Jan 2019, at 23:58, James Almer wrote: >>> >>> On 1/1/2019 5:01 PM, Oliver Collyer wrote: -- Block 26224 at 0x74240F70: 151 bytes -- >>

Re: [FFmpeg-devel] [PATCH V4 1/2] avutil: add ROI data struct and bump version

2019-01-03 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Michael Niedermayer > Sent: Thursday, January 03, 2019 6:07 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH V4 1/2] avutil: add ROI

Re: [FFmpeg-devel] [PATCH V3] avfilter: Add tonemap vaapi filter

2019-01-03 Thread Zhou, Zachary
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Monday, December 31, 2018 3:39 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V3] avfilter: Add tonemap vaapi filter > > On 29/12/2018 07:02, Zac

[FFmpeg-devel] [PATCH V5 1/2] avutil: add ROI (Region Of Interest) data struct and bump version

2019-01-03 Thread Guo, Yejun
The encoders such as libx264 support different QPs offset for different MBs, it makes possible for ROI-based encoding. It makes sense to add support within ffmpeg to generate/accept ROI infos and pass into encoders. Typical usage: After AVFrame is decoded, a ffmpeg filter or user's code generates

[FFmpeg-devel] [PATCH V5 2/2] avcodec/libx264: add support for ROI-based encoding

2019-01-03 Thread Guo, Yejun
This patch just enables the path from ffmpeg to libx264, the more encoders can be added later. Signed-off-by: Guo, Yejun --- libavcodec/libx264.c | 49 + 1 file changed, 49 insertions(+) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c ind

Re: [FFmpeg-devel] [PATCH 2/4] avfilter/af_afir: split off fcmul_add into a DSP context

2019-01-03 Thread Paul B Mahol
On 1/3/19, James Almer wrote: > Signed-off-by: James Almer > --- > libavfilter/af_afir.c | 15 ++- > libavfilter/af_afir.h | 12 +--- > libavfilter/x86/af_afir_init.c | 2 +- > 3 files changed, 20 insertions(+), 9 deletions(-) > > diff --git a/libavfilter/a

Re: [FFmpeg-devel] [PATCH 4/4] x86/af_afir: add ff_fcmul_add_avx()

2019-01-03 Thread Paul B Mahol
On 1/3/19, James Almer wrote: > fcmul_add_c: 1228.8 > fcmul_add_sse3: 334.3 > fcmul_add_avx: 186.3 > > Signed-off-by: James Almer > --- > libavfilter/x86/af_afir.asm| 8 +++- > libavfilter/x86/af_afir_init.c | 5 + > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/l

Re: [FFmpeg-devel] [PATCH 1/4] x86/af_afir: fix processing the last element

2019-01-03 Thread Paul B Mahol
On 1/3/19, James Almer wrote: > ff_fcmul_add_sse3() is now identical to the C version. > > Signed-off-by: James Almer > --- > libavfilter/x86/af_afir.asm | 7 +-- > 1 file changed, 5 insertions(+), 2 deletions(-) > > diff --git a/libavfilter/x86/af_afir.asm b/libavfilter/x86/af_afir.asm > in

Re: [FFmpeg-devel] [PATCH 3/4] checkasm: add an af_afir test

2019-01-03 Thread Paul B Mahol
On 1/3/19, James Almer wrote: > Signed-off-by: James Almer > --- > tests/checkasm/Makefile | 1 + > tests/checkasm/af_afir.c | 83 +++ > tests/checkasm/checkasm.c | 3 ++ > tests/checkasm/checkasm.h | 1 + > tests/fate/checkasm.mak | 1 + > 5 files ch

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: allow disabling streams by type for inputs

2019-01-03 Thread Michael Niedermayer
On Sat, Dec 29, 2018 at 04:40:34PM +0530, Gyan wrote: > -vn/-an/-sn/-dn now work for inputs > > Gyan. > > ffmpeg_opt.c |7 +++ > 1 file changed, 7 insertions(+) > 80740bd4538cc641b429476a77cb3b98f16cc41d > 0002-ffmpeg-allow-disabling-streams-by-type-for-inputs.patch > From b6efe47010c

Re: [FFmpeg-devel] patch for failing on WavPack DSD files

2019-01-03 Thread Michael Niedermayer
On Wed, Jan 02, 2019 at 09:19:30PM -0800, David Bryant wrote: > On 12/28/18 3:56 AM, Paul B Mahol wrote: > > On 12/24/18, Derek Buitenhuis wrote: > >> On 24/12/2018 17:47, David Bryant wrote: > >>> I want to do that, but am swamped at work right now, so it will probably > >>> be a few months befor

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: allow disabling streams by type for inputs

2019-01-03 Thread Gyan
On 03-01-2019 03:37 PM, Michael Niedermayer wrote: ffmpeg_opt.c | 7 +++ 1 file changed, 7 insertions(+) 80740bd4538cc641b429476a77cb3b98f16cc41d 0002-ffmpeg-allow-disabling-streams-by-type-for-inputs.patch From b6efe47010cda7b9d53d7464d68f5c63d0df7ff7 Mon Sep 17 00:00:00 2001 From: Gya

Re: [FFmpeg-devel] [PATCH] fate: add tests/fate/hlsenc.mak for hls FATE

2019-01-03 Thread Michael Niedermayer
On Mon, Dec 24, 2018 at 05:44:56PM +0800, Steven Liu wrote: > init add three test examples: > 1. check no endlist at the end > 2. check endlist at the end > 3. check hls_list_size 0 full list > > Signed-off-by: Steven Liu > --- > tests/Makefile| 1 + > tests/fate/hlsenc.mak | 43 +++

Re: [FFmpeg-devel] [PATCH 4/4] x86/af_afir: add ff_fcmul_add_avx()

2019-01-03 Thread James Almer
On 1/3/2019 5:47 AM, Paul B Mahol wrote: > On 1/3/19, James Almer wrote: >> fcmul_add_c: 1228.8 >> fcmul_add_sse3: 334.3 >> fcmul_add_avx: 186.3 >> >> Signed-off-by: James Almer >> --- >> libavfilter/x86/af_afir.asm| 8 +++- >> libavfilter/x86/af_afir_init.c | 5 + >> 2 files changed

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-03 Thread James Almer
On 1/3/2019 4:59 AM, Oliver Collyer wrote: > > >> On 2 Jan 2019, at 17:52, Oliver Collyer wrote: >> >> >> >>> On 2 Jan 2019, at 11:30, Oliver Collyer wrote: >>> >>> >>> On 1 Jan 2019, at 23:58, James Almer wrote: On 1/1/2019 5:01 PM, Oliver Collyer wrote: > -- Block

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-03 Thread Oliver Collyer
It was the file that was produced after a commit using git format-patch -n HEAD^1 I’m not all that familiar with these tools but that is what I typed and I attached the file it produced. This was using Windows. >> On 3 Jan 2019, at 18:42, James Almer wrote: >> >> On 1/3/2019 4:59 AM, Oliver C

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-03 Thread Oliver Collyer
Version created using git format-patch. 0001-Fixed-some-minor-memory-leaks.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/3] flvdec: Mark the demuxer as allowing discontinuous timestamps

2019-01-03 Thread Derek Buitenhuis
On 03/01/2019 01:33, Michael Niedermayer wrote: > The file looks like 2 files concatenated, even with FLV main header between > them. Yes, they all seem to be. I was under the impression FLV didn't have a header to check against like this. Seems I was wrong. > the patch below should make this w

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-03 Thread James Almer
On 1/3/2019 1:12 PM, Oliver Collyer wrote: > Version created using git format-patch. Applied, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v3] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2019-01-03 Thread Michael Niedermayer
On Wed, Dec 26, 2018 at 04:15:27PM +0800, Steven Liu wrote: > Before patch: > init nbits = 17, get 1 samples, average cost: 16175 us > After patch: > init nbits = 17, get 1 samples, average cost: 14989 us > > Signed-off-by: Steven Liu > --- > libavcodec/fft_template.c | 46 ++

Re: [FFmpeg-devel] [PATCH] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-03 Thread Mohammad Izadi
Hi James, Thank you for your comments. I applied all your notes and will sent you two patches in reply to your email. -- Best, Mohammad On Wed, Dec 26, 2018 at 12:11 PM James Almer wrote: > On 12/26/2018 4:40 PM, Mohammad Izadi wrote: > > Decode HDR10+ metadata from SEI message and propagate

[FFmpeg-devel] logo detection

2019-01-03 Thread Uwe Freese
Hello, By the way, you would not be interested in developing a logo-detection filter, per chance? Something that detects is a certain rectangle is likely to contain a logo and computes its bounding box. Currently, I don't need it so much, but nonetheless I though a bit about it: 1) Is there

[FFmpeg-devel] [PATCH 2/2] Pass through HDR dynamic metdata (HDR10+) to AV packet side data.

2019-01-03 Thread Mohammad Izadi
--- libavcodec/avcodec.h | 8 libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavcodec/version.h | 2 +- 4 files changed, 11 insertions(+), 1 deletion(-) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 92567ec6d0..75fd44d74c 100644 --- a/libavcodec/avcodec.h

[FFmpeg-devel] [PATCH 1/2] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-03 Thread Mohammad Izadi
--- libavcodec/hevc_sei.c | 219 -- libavcodec/hevc_sei.h | 46 + libavcodec/hevcdec.c | 195 + 3 files changed, 454 insertions(+), 6 deletions(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index

Re: [FFmpeg-devel] [PATCH] libavcodec: Remove dynamic relocs from aarch64/h264idct_neon.S

2019-01-03 Thread Michael Niedermayer
On Wed, Jan 02, 2019 at 06:29:22PM -0800, Manoj Gupta wrote: > On Wed, Jan 2, 2019 at 2:33 PM Michael Niedermayer > wrote: > > > > On Wed, Jan 02, 2019 at 10:12:33AM -0800, Manoj Gupta wrote: > > > On Mon, Dec 31, 2018 at 8:31 AM Michael Niedermayer > > > wrote: > > > > > > > > On Fri, Dec 28, 20

[FFmpeg-devel] [PATCH] avformat/vapoursynth: properly initialize err variable in read_header_vs()

2019-01-03 Thread nu774
The variable "err" is not initialized, and set only when something went wrong. When everything is OK, nobody sets it, so using it result in UB. --- libavformat/vapoursynth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/vapoursynth.c b/libavformat/vapoursynth.c in

Re: [FFmpeg-devel] [PATCH 1/2] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-03 Thread Rostislav Pehlivanov
On Thu, 3 Jan 2019 at 20:13, Mohammad Izadi wrote: > > /** > @@ -94,6 +95,50 @@ typedef struct HEVCSEIMasteringDisplay { > uint32_t min_luminance; > } HEVCSEIMasteringDisplay; > > +typedef struct HEVCSEIDynamicHDRPlus{ > +int present; > +uint8_t itu_t_t35_country_code; > +uint8

Re: [FFmpeg-devel] [PATCH 1/2] Support HDR dynamic metdata (HDR10+) in HEVC decoder.

2019-01-03 Thread James Almer
On 1/3/2019 10:07 PM, Rostislav Pehlivanov wrote: > On Thu, 3 Jan 2019 at 20:13, Mohammad Izadi wrote: > >> >> /** >> @@ -94,6 +95,50 @@ typedef struct HEVCSEIMasteringDisplay { >> uint32_t min_luminance; >> } HEVCSEIMasteringDisplay; >> >> +typedef struct HEVCSEIDynamicHDRPlus{ >> +in

[FFmpeg-devel] [PATCH] avcodec/tests/rangecoder: initialize array to avoid valgrind warning

2019-01-03 Thread Michael Niedermayer
Found-by: jamrial Signed-off-by: Michael Niedermayer --- libavcodec/tests/rangecoder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/tests/rangecoder.c b/libavcodec/tests/rangecoder.c index b6edc1493f..d6cf9ec380 100644 --- a/libavcodec/tests/rangecoder.c +++ b/li

Re: [FFmpeg-devel] [PATCH v3] avcodec/fft_template: improve performance of the ff_fft_init in fft_template

2019-01-03 Thread Steven Liu
Michael Niedermayer 于2019年1月4日周五 上午3:01写道: > > On Wed, Dec 26, 2018 at 04:15:27PM +0800, Steven Liu wrote: > > Before patch: > > init nbits = 17, get 1 samples, average cost: 16175 us > > After patch: > > init nbits = 17, get 1 samples, average cost: 14989 us > > > > Signed-off-by: Steven

Re: [FFmpeg-devel] [PATCH] fate: add tests/fate/hlsenc.mak for hls FATE

2019-01-03 Thread Steven Liu
Michael Niedermayer 于2019年1月3日周四 下午8:32写道: > > On Mon, Dec 24, 2018 at 05:44:56PM +0800, Steven Liu wrote: > > init add three test examples: > > 1. check no endlist at the end > > 2. check endlist at the end > > 3. check hls_list_size 0 full list > > > > Signed-off-by: Steven Liu > > --- > > tes