[FFmpeg-devel] [PATCH v3 2/4] lavc/libxavs2: optimize data access

2019-10-13 Thread hwrenx
From: hwren Optimize data access from multiplication to iteration. Signed-off-by: hwren --- libavcodec/libxavs2.c | 45 + 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index 0179a1e..b5c

[FFmpeg-devel] [PATCH v3 3/4] lavc/libxavs2: optimize using of spaces and indents

2019-10-13 Thread hwrenx
From: hwren Signed-off-by: hwren --- libavcodec/libxavs2.c | 51 +++ 1 file changed, 23 insertions(+), 28 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index b5c07ec..8077607 100644 --- a/libavcodec/libxavs2.c +++ b/liba

[FFmpeg-devel] [PATCH v3 1/4] lavc/libxavs2: fix parameter setting result determination

2019-10-13 Thread hwrenx
From: hwren Signed-off-by: hwren --- libavcodec/libxavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index d5c4557..0179a1e 100644 --- a/libavcodec/libxavs2.c +++ b/libavcodec/libxavs2.c @@ -31,7 +31,7 @@ int err; \

[FFmpeg-devel] [PATCH v3 4/4] lavc/libxavs2: replace 'FrameRate' with 'fps'

2019-10-13 Thread hwrenx
From: hwren Remove deprecated parameter FrameRate (frame rate code) and use fps (frame rate) instead. Avoid encoder warnings. Signed-off-by: hwren --- libavcodec/libxavs2.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libx

Re: [FFmpeg-devel] [PATCH v2 3/4] lavc/libxavs2: optimize using of spaces and indents

2019-10-13 Thread Steven Liu
> 在 2019年10月14日,11:09,hwren 写道: > > Signed-off-by: hwren > --- > libavcodec/libxavs2.c | 98 --- > 1 file changed, 46 insertions(+), 52 deletions(-) > > diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c > index 7a41ca2..e52f0c4 100644 >

Re: [FFmpeg-devel] [PATCH v2 2/4] lavc/libxavs2: optimize data access

2019-10-13 Thread Steven Liu
> 在 2019年10月14日,11:09,hwren 写道: > > Optimize data access from multiplication to iteration. > > Signed-off-by: hwren > --- > libavcodec/libxavs2.c | 41 + > 1 file changed, 25 insertions(+), 16 deletions(-) > > diff --git a/libavcodec/libxavs2.c b/libavc

[FFmpeg-devel] [PATCH v2 4/4] lavc/libxavs2: replace 'FrameRate' with 'fps'

2019-10-13 Thread hwren
Remove deprecated parameter FrameRate (frame rate code) and use fps (frame rate) instead. Avoid encoder warnings. Signed-off-by: hwren --- libavcodec/libxavs2.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index e5

[FFmpeg-devel] [PATCH v2 1/4] lavc/libxavs2: fix parameter setting result determination

2019-10-13 Thread hwren
Signed-off-by: hwren --- libavcodec/libxavs2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index d5c4557..0179a1e 100644 --- a/libavcodec/libxavs2.c +++ b/libavcodec/libxavs2.c @@ -31,7 +31,7 @@ int err; \ av_strlcatf

[FFmpeg-devel] [PATCH v2 3/4] lavc/libxavs2: optimize using of spaces and indents

2019-10-13 Thread hwren
Signed-off-by: hwren --- libavcodec/libxavs2.c | 98 --- 1 file changed, 46 insertions(+), 52 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index 7a41ca2..e52f0c4 100644 --- a/libavcodec/libxavs2.c +++ b/libavcodec/libxavs

[FFmpeg-devel] [PATCH v2 2/4] lavc/libxavs2: optimize data access

2019-10-13 Thread hwren
Optimize data access from multiplication to iteration. Signed-off-by: hwren --- libavcodec/libxavs2.c | 41 + 1 file changed, 25 insertions(+), 16 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index 0179a1e..7a41ca2 100644 --- a/

Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: grow packet if vaMapBuffer returns multiple buffers

2019-10-13 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel On Behalf Of Fu, > Linjie > Sent: Sunday, September 29, 2019 09:19 > To: Li, Zhong ; FFmpeg development discussions and > patches > Subject: Re: [FFmpeg-devel] [PATCH, v2] lavc/vaapi_encode: grow packet if > vaMapBuffer returns multiple buffers >

Re: [FFmpeg-devel] [PATCH v4 2/2] avcodec/v210dec: add the frame and slice threading support

2019-10-13 Thread Limin Wang
On Sun, Oct 13, 2019 at 02:10:02PM +0100, Kieran Kunhya wrote: > > > > Michael, I have updated the patch to limit thread_count to [1,1, > > avctx->height/4], > > why height/4, it's borrowed from dxv.c, please give comments whether it's > > proper. > > > > For the lack of big speed improvement, mak

[FFmpeg-devel] [WinRT] VDD 2019

2019-10-13 Thread Jean-Baptiste Kempf
Hello fellow devs from the FFmpeg community, VideoLAN is happy to invite you to the usual VDD conference, with a twist: VDD2019 is happending in Tokyo, on the other side of the world, for the first time ever. As usual, this is a very technical conference focused on low-level open source multime

Re: [FFmpeg-devel] [PATCH] avformat/Makefile: Fix aiffdec replaygain dependency

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 06:22:29AM +0200, Andreas Rheinhardt wrote: > Forgotten in 6390f52a. > > Signed-off-by: Andreas Rheinhardt > --- > Found via ubitux random FATE box: > http://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-random&time=20191012015819 will apply thx [...] -- Michael

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/wmaprodec: Check that the streams channels do not exceed the overall channels

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 09:45:54PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Asymptotically faster algorithms should always be preferred if you have asymptotical amounts of data signature.asc Description:

Re: [FFmpeg-devel] [PATCH] avfilter/vf_geq: Use av_clipd() instead of av_clipf()

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 02:28:03PM +0200, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Breaking DRM is a little like attempting to break through a door even though the window is wide open and the only thing in the h

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fixed four warnings in vc1dsp

2019-10-13 Thread Michael Niedermayer
On Sun, Oct 13, 2019 at 05:23:55PM +0800, Shiyou Yin wrote: > >-Original Message- > >From: ffmpeg-devel-boun...@ffmpeg.org > >[mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of gxw > >Sent: Saturday, October 12, 2019 10:48 AM > >To: ffmpeg-devel@ffmpeg.org > >Subject: [FFmpeg-devel] [PA

[FFmpeg-devel] [PATCH] avfilter/vf_bwdif: fix heap-buffer overflow

2019-10-13 Thread Paul B Mahol
Fixes #8261 Signed-off-by: Paul B Mahol --- libavfilter/vf_bwdif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_bwdif.c b/libavfilter/vf_bwdif.c index 37165584cf..b6aed7a450 100644 --- a/libavfilter/vf_bwdif.c +++ b/libavfilter/vf_bwdif.c @@ -343,8 +343,

Re: [FFmpeg-devel] [PATCH v1] avformat/tee.c: steal bsf option before passing to fifo muxer

2019-10-13 Thread Jun Li
On Sun, Oct 13, 2019 at 10:39 AM Nicolas George wrote: > Jun Li (12019-10-05): > > Fix #7620 > > In the case tee muxer with both "bsf" and "use_fifo" parameters > > wil trigger this bug. Tee muxer will first steal parameters (like "f", > > will > > > "select"...) and then "use_fifo" will try read

[FFmpeg-devel] [PATCH v2] avformat/tee.c: steal bsf option before passing to fifo muxer

2019-10-13 Thread Jun Li
Fix #7620 In the case tee muxer with both "bsf" and "use_fifo" parameters will trigger this bug. Tee muxer will first steal parameters (like "f", "select"...) and then "use_fifo" will try reading out remaining options and pass them to fifo as option "format_options". Current code miss the part of s

Re: [FFmpeg-devel] [PATCH V1 2/3] fftools/ffmpeg_opt: add error handle if av_asprintf return null

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 09:14:39AM +0800, Jun Zhao wrote: > From: Jun Zhao > > add error handle if av_asprintf return null. > > Signed-off-by: Jun Zhao > --- > fftools/ffmpeg_opt.c |6 ++ > 1 files changed, 6 insertions(+), 0 deletions(-) LGTM thx [...] -- Michael GnuPG fingerp

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxavs2: replace 'FrameRate' with 'fps'

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 09:28:34AM +0800, hwren wrote: > From: hwrenx > > Remove deprecated paramete FrameRate (frame rate code) and use fps (frame > rate). > Avoid encoder warning. theres at least one spelling error in here (paramete) > > Signed-off-by: hwrenx > --- > libavcodec/libxavs2.

Re: [FFmpeg-devel] [PATCH 2/3] lavc/libxvas2: optimize code style and data acces

2019-10-13 Thread Michael Niedermayer
On Sat, Oct 12, 2019 at 09:28:33AM +0800, hwren wrote: > From: hwrenx > > Optimize using of spaces and indents, change data access from multiplication > to iteration. > > Signed-off-by: hwrenx > --- > libavcodec/libxavs2.c | 139 > ++ > 1 file

Re: [FFmpeg-devel] [PATCH 01/14] avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flag

2019-10-13 Thread Nicolas George
Paul B Mahol (12019-10-13): > R is already taken for realtime option. > Another patch uses T for this. I meant the code you did use in the other patch, I neglected to check. -- Nicolas George signature.asc Description: PGP signature ___ ffmpeg-deve

Re: [FFmpeg-devel] [PATCH 01/14] avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flag

2019-10-13 Thread Paul B Mahol
On 10/13/19, Nicolas George wrote: > Paul B Mahol (12019-10-10): >> Signed-off-by: Paul B Mahol >> --- >> libavutil/opt.h | 1 + >> 1 file changed, 1 insertion(+) > > The patch series looks reasonable on the whole. It changes the return > code of process_command() in a few cases, but that should

Re: [FFmpeg-devel] [PATCH v1] avformat/tee.c: steal bsf option before passing to fifo muxer

2019-10-13 Thread Nicolas George
Jun Li (12019-10-05): > Fix #7620 > In the case tee muxer with both "bsf" and "use_fifo" parameters > wil trigger this bug. Tee muxer will first steal parameters (like "f", will > "select"...) and then "use_fifo" will try reading out remaining options > and pass them to fifo as option "format_opt

Re: [FFmpeg-devel] [PATCH 01/14] avutil/opt: add AV_OPT_FLAG_RUNTIME_PARAM flag

2019-10-13 Thread Nicolas George
Paul B Mahol (12019-10-10): > Signed-off-by: Paul B Mahol > --- > libavutil/opt.h | 1 + > 1 file changed, 1 insertion(+) The patch series looks reasonable on the whole. It changes the return code of process_command() in a few cases, but that should not have consequences. But it is completely m

Re: [FFmpeg-devel] [PATCH 3/3] avformat/mpegts: add support for non-standard NIT pid

2019-10-13 Thread Anthony Delannoy
Ping -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-

[FFmpeg-devel] [PATCH] avfilter: add bilateral filter

2019-10-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 17 ++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_bilateral.c | 372 + 4 files changed, 391 insertions(+) create mode 100644 libavfilter/vf_bilateral.c d

Re: [FFmpeg-devel] [PATCH] lavf/mpegtsenc: add stream type AVS2

2019-10-13 Thread hwren
At 2019-10-12 19:40:15, "myp...@gmail.com" wrote: >On Sat, Oct 12, 2019 at 10:00 AM hwren wrote: >> >> From: hwrenx >> >> Signed-off-by: hwrenx >> --- >> libavformat/mpegts.h| 1 + >> libavformat/mpegtsenc.c | 3 +++ >> 2 files changed, 4 insertions(+) >> >> diff --git a/libavform

Re: [FFmpeg-devel] [PATCH v2 1/5] avformat/chromaprint: Fix fp_format option

2019-10-13 Thread Gyan
On 06-10-2019 11:19 AM, Andriy Gelman wrote: From: Andriy Gelman The fp_format option was incorrectly declared, meaning that it could not be set on the cli (via recommended settings raw/compressed/base64). This is fixed in the commit. --- libavformat/chromaprint.c | 2 +- 1 file changed, 1

Re: [FFmpeg-devel] [PATCH v2 3/5] avformat/chromaprint: Improve logging message

2019-10-13 Thread Gyan
On 06-10-2019 11:19 AM, Andriy Gelman wrote: From: Andriy Gelman Setting silence_threshold requires that -algorithm 3 option is also set. Add this to the logging message. --- libavformat/chromaprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/chromapri

Re: [FFmpeg-devel] [PATCH v4 2/2] avcodec/v210dec: add the frame and slice threading support

2019-10-13 Thread Kieran Kunhya
> > Michael, I have updated the patch to limit thread_count to [1,1, > avctx->height/4], > why height/4, it's borrowed from dxv.c, please give comments whether it's > proper. > For the lack of big speed improvement, make sure you are giving each thread a slice in order. Kieran ___

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Fixed four warnings in vc1dsp

2019-10-13 Thread Shiyou Yin
>-Original Message- >From: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] >On Behalf Of gxw >Sent: Saturday, October 12, 2019 10:48 AM >To: ffmpeg-devel@ffmpeg.org >Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Fixed four warnings in vc1dsp > >Change the stride ar