Re: [FFmpeg-devel] [PATCH V1 2/3] lavc/options_table: Correct the flags for AVCodecContext.flags2

2019-10-07 Thread myp...@gmail.com
On Sat, Oct 5, 2019 at 9:44 PM Michael Niedermayer wrote: > > On Fri, Oct 04, 2019 at 09:36:54PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Correct the flags for AVCodecContext.flags2. > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/options_table.h |4 ++-- > > 1 files changed

Re: [FFmpeg-devel] [PATCH V1 1/2] avutil/common: Fix underflow for ROUNDED_DIV with unsigned integer

2019-10-07 Thread myp...@gmail.com
On Sat, Oct 5, 2019 at 10:16 PM Michael Niedermayer wrote: > > On Thu, Oct 03, 2019 at 09:53:15AM +0800, Jun Zhao wrote: > > From: Mengye Lv > > > > When used ROUNDED_DIV(a,b), if a is unsigned integer zero, it's > > will lead to an underflow issue(it called unsigned integer > > wrapping). > > >

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_delogo: make the interp value compute method simple

2019-10-07 Thread myp...@gmail.com
On Mon, Oct 7, 2019 at 11:14 PM Limin Wang wrote: > > On Mon, Oct 07, 2019 at 01:12:46PM +0800, Steven Liu wrote: > > because the interp >= 0UL comparison of an unsigned value is always true > > fix CID: 1454642 > > > > Signed-off-by: Steven Liu > > --- > > libavfilter/vf_delogo.c | 2 +- > > 1

Re: [FFmpeg-devel] [PATCH V2] lavfi/hqdn3d: add slice thread optimization

2019-10-08 Thread myp...@gmail.com
On Tue, Oct 8, 2019 at 10:57 PM Paul B Mahol wrote: > > On 10/8/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Enabled one thread per planar, used the test command for 1080P video > > (YUV420P format) as follow: > > > > ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul > > > > This optimizatio

Re: [FFmpeg-devel] [PATCH] avfilter: fix typo in comments

2019-10-09 Thread myp...@gmail.com
On Wed, Oct 9, 2019 at 8:06 PM wrote: > > From: Zhao Zhili > > --- > libavfilter/avfilter.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h > index 9d70e7118b..3eaa8a4089 100644 > --- a/libavfilter/avfilter.h > +++ b/libavf

Re: [FFmpeg-devel] [PATCH V3] lavfi/hqdn3d: add slice thread optimization

2019-10-09 Thread myp...@gmail.com
On Wed, Oct 9, 2019 at 10:49 PM Paul B Mahol wrote: > > On 10/9/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Enabled one thread per planar, used the test command for 1080P video > > (YUV420P format) as follow: > > > > ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul > > > > This optimizatio

Re: [FFmpeg-devel] [PATCH V1 1/4] lavfi/colorspace: typedef ThreadData as all other filters

2019-10-09 Thread myp...@gmail.com
On Wed, Oct 9, 2019 at 10:52 PM Paul B Mahol wrote: > > Whole set looks fine to me. Applied, thx > > On 10/9/19, Jun Zhao wrote: > > From: Jun Zhao > > > > typedef ThreadData as all other filters. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/vf_colorspace.c |8 > > 1 fi

Re: [FFmpeg-devel] [PATCH] avfilter: add median filter

2019-10-10 Thread myp...@gmail.com
On Wed, Feb 6, 2019 at 1:06 AM Paul B Mahol wrote: > > On 2/1/19, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > doc/filters.texi | 15 +++ > > libavfilter/Makefile | 1 + > > libavfilter/allfilters.c | 1 + > > libavfilter/median.h | 4

Re: [FFmpeg-devel] [PATCH] avfilter: add median filter

2019-10-11 Thread myp...@gmail.com
On Fri, Oct 11, 2019 at 4:38 PM Moritz Barsnick wrote: > > On Fri, Oct 11, 2019 at 14:18:22 +0800, myp...@gmail.com wrote: > > On Wed, Feb 6, 2019 at 1:06 AM Paul B Mahol wrote: > > > On 2/1/19, Paul B Mahol wrote: > > > will apply. > > Has it pushed? I j

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

2019-10-12 Thread myp...@gmail.com
On Sat, Oct 12, 2019 at 6:58 PM wrote: > > From: Limin Wang > > The multithread is avoid one core cpu is full with other filter like scale > etc. > About the performance, the gain is very small, below is my testing for > performance. > In order to avoid the disk bottleneck, I'll use stream_loop

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

2019-10-12 Thread myp...@gmail.com
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/libavformat/mpegts.h b/libavformat/mpegts.h > index ecc3d33..78abe72 100644 > --

Re: [FFmpeg-devel] [PATCH V1] lavfi/bilateral: Clean the option description and unused code

2019-10-23 Thread myp...@gmail.com
On Wed, Oct 23, 2019 at 3:16 PM Paul B Mahol wrote: > > lgtm Thanks the quick review, will apply > > On 10/23/19, Jun Zhao wrote: > > From: Jun Zhao > > > > Clean the option description and unused code. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/vf_bilateral.c |7 +-- > >

Re: [FFmpeg-devel] [PATCH] avfilter/vf_bilateral: process command to set the parameter at runtime

2019-10-23 Thread myp...@gmail.com
On Wed, Oct 23, 2019 at 8:34 PM leozhang wrote: > > --- > libavfilter/vf_bilateral.c | 21 +++-- > 1 file changed, 11 insertions(+), 10 deletions(-) > > diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c > index 3c9d800..a06f434 100644 > --- a/libavfilter/vf_bila

Re: [FFmpeg-devel] [PATCH] avfilter: remove useless cast

2019-10-27 Thread myp...@gmail.com
On Mon, Oct 28, 2019 at 12:03 AM Zhao Zhili wrote: > > --- > libavfilter/allfilters.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c > index d136734338..6156066028 100644 > --- a/libavfilter/allfilters.c > +++ b/libavfi

Re: [FFmpeg-devel] [PATCH] FATE: add a test for the bilateral filter

2019-10-31 Thread myp...@gmail.com
On Thu, Oct 31, 2019 at 4:30 PM leozhang wrote: > > Signed-off-by: leozhang > --- > tests/fate/filter-video.mak | 3 +++ > tests/ref/fate/filter-bilateral | 55 + > 2 files changed, 58 insertions(+) > create mode 100644 tests/ref/fate/filter-bilatera

Re: [FFmpeg-devel] [PATCH V1 1/3] lavf/mpegtsenc: fix logic check error

2019-11-03 Thread myp...@gmail.com
On Mon, Nov 4, 2019 at 3:24 AM Andriy Gelman wrote: > On Sun, 16. Jun 01:13, Jun Zhao wrote: > > From: Jun Zhao > > > > fix the logic check error > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/mpegtsenc.c |2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > diff --g

Re: [FFmpeg-devel] [PATCH] lavfi/normalize: remove the unused pointer

2019-11-03 Thread myp...@gmail.com
On Sun, Sep 29, 2019 at 4:05 PM Zhong Li wrote: > Signed-off-by: Zhong Li > --- > libavfilter/vf_normalize.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavfilter/vf_normalize.c b/libavfilter/vf_normalize.c > index 48eea59..d5cb536 100644 > --- a/libavfilter/vf_normalize.c > +++

Re: [FFmpeg-devel] [PATCH V1] lavf/dashdec: drop unnecessary check before ff_format_io_close

2019-11-03 Thread myp...@gmail.com
On Tue, Sep 24, 2019 at 12:41 AM Jun Zhao wrote: > From: Jun Zhao > > ff_format_io_close will check the AVIOContext pointer pb, so drop > the unnecessary check before ff_format_io_close. > > Signed-off-by: Jun Zhao > --- > libavformat/dashdec.c | 12 > 1 files changed, 4 inserti

Re: [FFmpeg-devel] [PATCH] avformat/mlvdec:drop unnecessary check before ff_format_io_close

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 6:50 AM Steven Liu wrote: > Signed-off-by: Steven Liu > --- > libavformat/mlvdec.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavformat/mlvdec.c b/libavformat/mlvdec.c > index 68ca2c5e1c..3b4cb6befd 100644 > --- a/libavformat/mlvdec.c > +++ b/libavformat/ml

Re: [FFmpeg-devel] [PATCH 2/2] avfilter/Makefile: add missing framesync dependency to bm3d & mix filters

2019-11-07 Thread myp...@gmail.com
On Thu, Nov 7, 2019 at 3:53 AM Lou Logan wrote: > Signed-off-by: Lou Logan > --- > bm3d > /usr/bin/ld: libavfilter/libavfilter.a(vf_bm3d.o): in function `activate': > vf_bm3d.c:(.text+0x3100): undefined reference to `ff_framesync_activate' > /usr/bin/ld: libavfilter/libavfilter.a(vf_bm3d.o): in

Re: [FFmpeg-devel] [PATCH v1] avfilter/vf_vaguedenoiser: use fabsf() instead of FFABS()

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 10:09 AM Limin Wang wrote: > > On Wed, Nov 06, 2019 at 08:10:53PM +0100, Carl Eugen Hoyos wrote: > > Am Mi., 6. Nov. 2019 um 12:04 Uhr schrieb Limin Wang > > : > > > > > > On Wed, Nov 06, 2019 at 11:11:08AM +0100, Carl Eugen Hoyos wrote: > > > > Am Mi., 6. Nov. 2019 um 10:3

Re: [FFmpeg-devel] [PATCH V1 1/5] lavf/hls: fix the log context setting in log message

2019-11-07 Thread myp...@gmail.com
On Sat, Nov 2, 2019 at 10:55 PM Jun Zhao wrote: > > From: Jun Zhao > > Fix the log context setting in log message > > Signed-off-by: Jun Zhao > --- > libavformat/hls.c | 14 +++--- > 1 files changed, 7 insertions(+), 7 deletions(-) > > diff --git a/libavformat/hls.c b/libavformat/hls.

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 10:58 AM manuelyuan wrote: > > I have try to make fate again and it still works, I do not know why it breaks > fate-binsub-movtextenc on your side > My steps are: > 1、./configure > 2、make fate > If I'm wrong, what should I do? > > > At 2019-11-08 02:21:16, "Michael Niederma

Re: [FFmpeg-devel] [PATCH] avcodec/vp9_raw_reorder_bsf.c adjust params keep same with api

2019-11-07 Thread myp...@gmail.com
On Fri, Nov 8, 2019 at 2:14 PM darling.zhong wrote: > > > > Signed-off-by: darling.zhong > --- > libavcodec/h265_metadata_bsf.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > mode change 100644 => 100755 libavcodec/h265_metadata_bsf.c > Please don't change the file mode > > diff --gi

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-12 Thread myp...@gmail.com
On Tue, Nov 12, 2019 at 5:37 PM Paul B Mahol wrote: > > Isn't this same as boxblur? > After going deep into the boxblur, I think the superfastblur same as the boxblur, please ignore the patch, thx. > On 11/12/19, Steven Liu wrote: > > > > > >> 在 2019年11月12日,15:51,Jun Zhao 写道: > >> > >> From: Jun

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-12 Thread myp...@gmail.com
On Tue, Nov 12, 2019 at 4:14 PM Jun Zhao wrote: > > From: Jun Zhao > > add superfastblur filter > > Signed-off-by: Jun Zhao > --- > doc/filters.texi | 15 ++ > libavfilter/Makefile |1 + > libavfilter/allfilters.c |1 + > libavfilter/vf_superfastblur.c |

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-12 Thread myp...@gmail.com
On Wed, Nov 13, 2019 at 7:24 AM Paul B Mahol wrote: > > On 11/13/19, Michael Niedermayer wrote: > > On Tue, Nov 12, 2019 at 12:48:09PM +0100, Paul B Mahol wrote: > >> If this filter is same speed or better than boxblur, it should replace > >> boxblur filter, as boxblur filter is GPL. > > > > reli

Re: [FFmpeg-devel] [PATCH V1] lavfi/superfastblur: add superfastblur filter

2019-11-14 Thread myp...@gmail.com
On Fri, Nov 15, 2019 at 1:26 AM Michael Niedermayer wrote: > > On Wed, Nov 13, 2019 at 12:24:34AM +0100, Paul B Mahol wrote: > > On 11/13/19, Michael Niedermayer wrote: > > > On Tue, Nov 12, 2019 at 12:48:09PM +0100, Paul B Mahol wrote: > > >> If this filter is same speed or better than boxblur,

Re: [FFmpeg-devel] [PATCH] lavf/rtmpproto: fix the playpath truncation if the len > 512

2019-11-17 Thread myp...@gmail.com
On Sun, Nov 17, 2019 at 4:05 AM Michael Niedermayer wrote: > > On Fri, Nov 15, 2019 at 07:46:33PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > fix the playpath truncation if the len > 512 > > > > Found-by: liuwenhuang > > Signed-off-by: Jun Zhao > > --- > > libavformat/rtmpproto.c |8

Re: [FFmpeg-devel] [PATCH v1] avcodec/vaapi: set more flags for VASurfaceAttrib

2019-11-19 Thread myp...@gmail.com
On Tue, Nov 19, 2019 at 4:24 PM Wangfei wrote: > > flags and value.type is needed when pass VASurfaceAttrib to driver. > Otherwise the attribute will be considered invalid in driver. > > Signed-off-by: Wangfei > --- > libavcodec/vaapi_decode.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff -

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

2019-11-19 Thread myp...@gmail.com
On Wed, Nov 20, 2019 at 6:43 AM Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > --- > libavfilter/aarch64/vf_nlmeans_init.c | 4 +- > libavfilter/nlmeans_template.c| 366 ++ > libavfilter/vf_nlmeans.c | 526 ++ > libavfilter/vf

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add >8 bit support

2019-11-20 Thread myp...@gmail.com
On Wed, Nov 20, 2019 at 5:55 PM Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > --- > libavfilter/aarch64/vf_nlmeans_init.c | 6 +- > libavfilter/nlmeans_template.c| 370 ++ > libavfilter/vf_nlmeans.c | 539 ++ > libavfilter/vf

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/stackblur: add stackblur filter

2019-11-20 Thread myp...@gmail.com
On Wed, Nov 13, 2019 at 10:17 PM Jun Zhao wrote: > > From: Jun Zhao > > add stackblur filter > > Signed-off-by: Jun Zhao > --- > doc/filters.texi | 22 +++ > libavfilter/Makefile |1 + > libavfilter/allfilters.c |1 + > libavfilter/vf_stackblur.c | 362 +

Re: [FFmpeg-devel] [PATCH 2/2] lavfi/stackblur: add stackblur filter

2019-11-24 Thread myp...@gmail.com
On Wed, Nov 20, 2019 at 8:38 PM Paul B Mahol wrote: > > How can this be fast at all? > It does not use slice threading and also supports only packed rgb formats. > Have you actually benchmarked with and without lookup table? > Will support other format like RGBA and YUV420P with slice threading en

Re: [FFmpeg-devel] [PATCH] lavc/libx264: enable the PC(2^n -1) colorspace in libx264rgb

2019-11-27 Thread myp...@gmail.com
On Wed, Nov 27, 2019 at 6:58 PM Carl Eugen Hoyos wrote: > > > > > Am 27.11.2019 um 10:52 schrieb Jun Zhao : > > > > From: Jun Zhao > > > > enable the PC(2^n -1) colorspace in libx264rgb > > > > fix #8404 > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/libx264.c |5 + > > 1 files ch

Re: [FFmpeg-devel] [PATCH v1 1/3] avfilter/vf_yadif: rename config_props -> config_input, link -> outlink

2019-11-28 Thread myp...@gmail.com
On Thu, Nov 28, 2019 at 9:34 AM wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavfilter/vf_yadif.c | 20 ++-- > 1 file changed, 10 insertions(+), 10 deletions(-) > > diff --git a/libavfilter/vf_yadif.c b/libavfilter/vf_yadif.c > index 3107924932..0b34c5045b

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread myp...@gmail.com
On Thu, Nov 28, 2019 at 10:37 PM Andreas Rheinhardt wrote: > > Jun Zhao: > > From: Jun Zhao > > > > check avformat_new_stream() return. > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/vividas.c |4 > > 1 files changed, 4 insertions(+), 0 deletions(-) > > > > diff --git a/libavf

Re: [FFmpeg-devel] [PATCH 1/3] lavf/vividas: check avformat_new_stream() return

2019-11-28 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 6:59 AM Michael Niedermayer wrote: > > On Thu, Nov 28, 2019 at 09:40:58PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > check avformat_new_stream() return. > > > > Signed-off-by: Jun Zhao > > --- > > libavformat/vividas.c |4 > > 1 files changed, 4 insertion

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: remove duplicate code block

2019-11-28 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 12:46 PM Steven Liu wrote: > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 27 ++- > 1 file changed, 6 insertions(+), 21 deletions(-) > > diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c > index 043438368e..34ffab49a0 100644 >

Re: [FFmpeg-devel] [PATCH] lavc/qsvenc: add Tiles encode support for HEVC

2019-11-28 Thread myp...@gmail.com
On Tue, Nov 26, 2019 at 12:04 PM Linjie Fu wrote: > > Add -tile_rows and -tile_cols option to specify the number of tile rows > and columns for ICL+ (gen 11) platform. > > A tile must wholly contain all the slices within it. Slices cannot cross > tile boundaries. So the slice number would be impli

Re: [FFmpeg-devel] [PATCH v1 1/4] avformat/dashenc: remove unused check of avformat_free_context

2019-11-28 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 1:16 PM Steven Liu wrote: > > Signed-off-by: Steven Liu > --- > libavformat/dashenc.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c > index a462876c13..8c28fb6b6e 100644 > --- a/libavformat/dashenc

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Replace dts by pts to calculate duration

2019-11-29 Thread myp...@gmail.com
On Fri, Nov 29, 2019 at 3:44 PM manuelyuan wrote: > > Of course I did,and I can give you the bad case videos for your analysis if > you need. > How can I give them to you? > > At 2019-11-28 14:38:34, "Carl Eugen Hoyos" wrote: > > > > > >> Am 28.11.2019 um 03:34 schrieb manuelyuan : > >> > >> In

Re: [FFmpeg-devel] [PATCH V2 1/2] lavf/libsrt: add linger parameter to libsrt

2019-12-01 Thread myp...@gmail.com
On Mon, Dec 2, 2019 at 12:57 PM Andriy Gelman wrote: > > On Sun, 01. Dec 21:31, Jun Zhao wrote: > > From: Jun Zhao > > > > add linger parameter to libsrt, it's setting he number of seconds > > that the socket waits for unsent data when closing. > > minor spelling > Will fix > > > > Signed-off-by:

Re: [FFmpeg-devel] [PATCH V3 1/2] lavf/libsrt: add linger parameter to libsrt

2019-12-03 Thread myp...@gmail.com
On Tue, Dec 3, 2019 at 7:17 PM Gyan wrote: > > > On 03-12-2019 04:27 pm, Jun Zhao wrote: > > From: Jun Zhao > > > > add linger parameter to libsrt, it's setting the number of seconds > > that the socket waits for unsent data when closing. > > > > Reviewed-by: Andriy Gelman > > Signed-off-by: Ju

Re: [FFmpeg-devel] [PATCH V3 2/2] lavf/libsrt: enable other encryption parameters

2019-12-03 Thread myp...@gmail.com
On Tue, Dec 3, 2019 at 11:01 PM Michael Niedermayer wrote: > > On Tue, Dec 03, 2019 at 06:57:27PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ > > SRTO_KMPREANNOUNCE for srt encryption control. > > > > Signed-off-by: Jun Zhao > > --- >

Re: [FFmpeg-devel] [PATCH V3 2/2] lavf/libsrt: enable other encryption parameters

2019-12-04 Thread myp...@gmail.com
On Wed, Dec 4, 2019 at 5:46 PM Moritz Barsnick wrote: > > On Wed, Dec 04, 2019 at 10:20:00 +0800, myp...@gmail.com wrote: > > > > +{ "enforced_encryption", "Enforces that both connection > > > > parties have the same

Re: [FFmpeg-devel] [PATCH V4 0/2] Enable other srt options.

2019-12-09 Thread myp...@gmail.com
Ping On Wed, Dec 4, 2019 at 10:13 PM Jun Zhao wrote: > > V4: - changed the option enforced_encryption type from int to bool. > tks Michael & Moritz's comments. > - add range info in the docs. tks Gyan's comments. > > V3: - add more details for linger options. tks Andriy Gelman's comment

Re: [FFmpeg-devel] [PATCH V1 2/2] lavf/tls_openssl: support both pre-1.1.0 and post-1.1.0 init

2019-12-10 Thread myp...@gmail.com
On Wed, Dec 11, 2019 at 3:47 AM James Almer wrote: > > On 12/10/2019 11:02 AM, Jun Zhao wrote: > > From: Jun Zhao > > > > supporting both pre-1.1.0 and post-1.1.0 version of the OpenSSL > > library as the link: > > https://wiki.openssl.org/index.php/Library_Initialization > > > > Signed-off-by: J

Re: [FFmpeg-devel] [PATCH 01/11] avformat/mov: Use ff_alloc_extradata for dvdsub extradata

2019-12-11 Thread myp...@gmail.com
On Wed, Dec 11, 2019 at 6:00 AM Andreas Rheinhardt wrote: > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/mov.c | 11 --- > 1 file changed, 4 insertions(+), 7 deletions(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 7553a7fdfc..733f4e4a34 100644 > --- a/libav

Re: [FFmpeg-devel] [PATCH v4] avfilter/buffersrc: deprecate sws_param option

2019-12-11 Thread myp...@gmail.com
On Wed, Dec 11, 2019 at 11:33 PM Zhao Zhili wrote: > > Ping for review, thanks! > > > On Dec 4, 2019, at 6:57 PM, quinkbl...@foxmail.com wrote: > > > > From: Zhao Zhili > > > > --- > > patch v4: update doc > > > > doc/filters.texi| 8 > > libavfilter/buffersrc.c | 14

Re: [FFmpeg-devel] [PATCH] avfilter/vsrc_cellauto/life: Fix av_log type

2019-12-12 Thread myp...@gmail.com
On Fri, Dec 13, 2019 at 12:15 AM Andreas Rheinhardt wrote: > > This fixes an oversight in 1d757b11 and 5ee4c12e. > > Signed-off-by: Andreas Rheinhardt > --- > libavfilter/vsrc_cellauto.c | 2 +- > libavfilter/vsrc_life.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --g

Re: [FFmpeg-devel] [PATCH V4 2/2] lavf/libsrt: enable other encryption parameters

2019-12-14 Thread myp...@gmail.com
On Sun, Dec 15, 2019 at 4:48 AM Marton Balint wrote: > > > On Wed, 4 Dec 2019, Jun Zhao wrote: > > > From: Jun Zhao > > > > Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/ > > SRTO_KMPREANNOUNCE for srt encryption control. > > > > Signed-off-by: Jun Zhao > > --- > > doc/protocols.texi |

Re: [FFmpeg-devel] [PATCH] lavc/cbs_av1: Add read/write flag in log message

2019-12-15 Thread myp...@gmail.com
On Mon, Dec 16, 2019 at 6:37 AM Michael Niedermayer wrote: > > On Sun, Dec 15, 2019 at 02:40:52PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > Before this change, the command: > > > > ffmpeg -y -i bear-av1.mp4 -c:v copy bear-av1.ivf -loglevel 99 > > > > always dump the log message like: > >

Re: [FFmpeg-devel] [PATCH 3/4] avfilter/vf_dnn_processing: add format GRAY8 and GRAYF32 support

2019-12-16 Thread myp...@gmail.com
On Mon, Dec 16, 2019 at 7:18 PM Guo, Yejun wrote: > > > > > -Original Message- > > From: Pedro Arthur [mailto:bygran...@gmail.com] > > Sent: Friday, December 13, 2019 10:40 PM > > To: Guo, Yejun > > Cc: ffmpeg-devel@ffmpeg.org > > Subject: Re: [FFmpeg-devel] [PATCH 3/4] avfilter/vf_dnn_pr

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/vc1dec: Fix "return -1" cases

2019-12-16 Thread myp...@gmail.com
On Tue, Dec 17, 2019 at 7:23 AM Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > --- > libavcodec/vc1dec.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c > index d2f25fabec..fcc482e7eb 100644 > --- a/l

Re: [FFmpeg-devel] [PATCH V1] fftools/cmdutils: Fix break command dump for -map option

2019-12-17 Thread myp...@gmail.com
On Fri, Dec 13, 2019 at 12:20 AM Jun Zhao wrote: > > From: Jun Zhao > > Before this fix, ffmpeg -h full | grep map get the command dump > like: > > -map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s set input > stream mapping >

Re: [FFmpeg-devel] [PATCH v4] avfilter/buffersrc: deprecate sws_param option

2019-12-29 Thread myp...@gmail.com
On Mon, Dec 23, 2019 at 8:23 PM Nicolas George wrote: > > myp...@gmail.com (12019-12-12): > > LGTM, but need to wait next release cycle? > > What do you mean? There is all the necessary code to let the option > disappear automatically at the next release. > > I shall

Re: [FFmpeg-devel] [PATCH 05/20] avformat/matroskaenc: Check return value of ff_isom_write_hvcc()

2019-12-31 Thread myp...@gmail.com
On Wed, Jan 1, 2020 at 8:59 AM Andreas Rheinhardt wrote: > > The Matroska muxer currently does not check the return value of > ff_isom_write_hvcc(), the function used to write mp4-style > HEVC-extradata as Matroska also uses it. This was intentionally done in > 7a5356c72 to allow remuxing from mpe

Re: [FFmpeg-devel] [PATCH] configure: bump year

2019-12-31 Thread myp...@gmail.com
On Wed, Jan 1, 2020 at 2:46 PM Gyan Doshi wrote: > > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 43dc409fe6..965b4c71b8 100755 > --- a/configure > +++ b/configure > @@ -7456,7 +7456,7 @@ cat > $TMPH < #define FFMPEG_CONFI

Re: [FFmpeg-devel] [PATCH V1 02/12] lavc/libkvazaar: fix memory leak after av_dict_parse_string fail

2020-01-01 Thread myp...@gmail.com
On Thu, Jan 2, 2020 at 12:46 AM Marton Balint wrote: > > > > On Wed, 1 Jan 2020, James Almer wrote: > > > On 1/1/2020 2:20 AM, Jun Zhao wrote: > >> From: Jun Zhao > >> > >> In case of failure, all the successfully set entries are stored in > >> *pm. We need to manually free the created dictionary

Re: [FFmpeg-devel] [PATCH V2] lavf/libsrt: add version guard for srt encryption control

2020-01-01 Thread myp...@gmail.com
On Sun, Dec 29, 2019 at 9:57 AM Jun Zhao wrote: > > From: Jun Zhao > > add version guard for srt encryption control. and use > SRTO_STRICTENC(53) for compatibility. > > Signed-off-by: Jun Zhao > --- > libavformat/libsrt.c | 11 +-- > 1 files changed, 9 insertions(+), 2 deletions(-) >

Re: [FFmpeg-devel] [PATCH V2 5/5] tools/aviocat: fix memory leak after av_dict_parse_string fail

2020-01-03 Thread myp...@gmail.com
On Fri, Jan 3, 2020 at 7:39 AM Michael Niedermayer wrote: > > On Thu, Jan 02, 2020 at 07:55:05PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > In case of failure, all the successfully set entries are stored in > > *pm. We need to manually free the created dictionary to avoid > > memory leak.

Re: [FFmpeg-devel] [PATCH V1 04/12] lavc/libvpxenc: fix memory leak after av_dict_parse_string fail

2020-01-05 Thread myp...@gmail.com
On Sat, Jan 4, 2020 at 7:34 AM James Zern wrote: > > Hi, > > On Tue, Dec 31, 2019 at 9:21 PM Jun Zhao wrote: > > > > From: Jun Zhao > > > > In case of failure, all the successfully set entries are stored in > > *pm. We need to manually free the created dictionary to avoid > > memory leak. > > >

Re: [FFmpeg-devel] [PATCH] lavf/libsrt: Fix typo

2020-01-06 Thread myp...@gmail.com
On Tue, Jan 7, 2020 at 1:43 AM Anthony Delannoy wrote: > > --- > libavformat/libsrt.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c > index a727b1c3e4..16975b6d94 100644 > --- a/libavformat/libsrt.c > +++ b/libavformat/lib

Re: [FFmpeg-devel] [PATCH V1 11/11] lavfi/vulume: enable runtime change flag

2020-01-12 Thread myp...@gmail.com
On Sun, Jan 12, 2020 at 2:44 AM Michael Niedermayer wrote: > > On Sat, Jan 11, 2020 at 12:13:58PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > enable runtime change flag. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/af_volume.c |3 ++- > > 1 files changed, 2 insertions(+),

Re: [FFmpeg-devel] [PATCH V1] doc/general: Add avs2 decoder/encoder entry

2020-01-12 Thread myp...@gmail.com
On Sat, Jan 11, 2020 at 1:26 PM Gyan wrote: > > > > On 11-01-2020 09:42 am, Jun Zhao wrote: > > From: Jun Zhao > > > > Add avs2 decoder/encoder entry > > > > Signed-off-by: Jun Zhao > > --- > > doc/general.texi |2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git

Re: [FFmpeg-devel] New Defects reported by Coverity Scan for FFmpeg/FFmpeg (fwd)

2020-01-12 Thread myp...@gmail.com
On Sun, Jan 12, 2020 at 5:54 AM Marton Balint wrote: > > Hi, > > Has anybody reported these and similar false positives involving > av_dict_set() with a 0 flag to Coverity? > > These are popping up all over the codebase, something should be done to > make Coverity smarter about them. Any ideas? In

Re: [FFmpeg-devel] [PATCH V1 01/11] lavfi/spp: add "quality" option in runtime change path

2020-01-12 Thread myp...@gmail.com
On Sun, Jan 12, 2020 at 2:50 AM Michael Niedermayer wrote: > > On Sat, Jan 11, 2020 at 12:13:48PM +0800, Jun Zhao wrote: > > From: Jun Zhao > > > > it's stranage to use option "level" in runtime change path but used > > "quality" in option, add "quality" in runtime change path, it's more > > intu

Re: [FFmpeg-devel] [PATCH V1 01/11] lavfi/spp: add "quality" option in runtime change path

2020-01-12 Thread myp...@gmail.com
On Mon, Jan 13, 2020 at 9:19 AM myp...@gmail.com wrote: > > On Sun, Jan 12, 2020 at 2:50 AM Michael Niedermayer > wrote: > > > > On Sat, Jan 11, 2020 at 12:13:48PM +0800, Jun Zhao wrote: > > > From: Jun Zhao > > > > > > it's stranage

Re: [FFmpeg-devel] [PATCH V1 01/11] lavfi/spp: add "quality" option in runtime change path

2020-01-13 Thread myp...@gmail.com
On Mon, Jan 13, 2020 at 9:27 PM Moritz Barsnick wrote: > > On Sat, Jan 11, 2020 at 12:13:48 +0800, Jun Zhao wrote: > > +@item level > > +@item quality > > +Same as quality option. And the command accepts the @code{max} same as the > > @code{6}. > > +@end table > > I'm sorry for coming in late, bu

Re: [FFmpeg-devel] [PATCH V1 01/11] lavfi/spp: add "quality" option in runtime change path

2020-01-14 Thread myp...@gmail.com
On Tue, Jan 14, 2020 at 8:46 PM Moritz Barsnick wrote: > > On Tue, Jan 14, 2020 at 09:31:56 +0800, myp...@gmail.com wrote: > > > On Sat, Jan 11, 2020 at 12:13:48 +0800, Jun Zhao wrote: > > > > +Same as quality option. And the command accepts the @code{max} s

Re: [FFmpeg-devel] [PATCH 1/4] avformat/udp: add newline after warning

2020-01-16 Thread myp...@gmail.com
On Thu, Jan 16, 2020 at 8:20 AM Marton Balint wrote: > > Signed-off-by: Marton Balint > --- > libavformat/udp.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/udp.c b/libavformat/udp.c > index f4ec148a2f..e42a069b24 100644 > --- a/libavformat/udp.c > +++ b/l

Re: [FFmpeg-devel] [PATCH V1 1/2] doc/bsfs: h264_metadata: Update docs about display orientation SEI

2020-01-18 Thread myp...@gmail.com
On Sat, Jan 18, 2020 at 10:29 AM Andreas Rheinhardt wrote: > > On Sat, Jan 18, 2020 at 3:11 AM Jun Zhao wrote: > > > From: Jun Zhao > > > > Add docs about display orientation SEI. > > > > Signed-off-by: Jun Zhao > > --- > > doc/bitstream_filters.texi | 21 + > > 1 files c

Re: [FFmpeg-devel] [PATCH V2] doc/spp: Update spp command options docs

2020-01-18 Thread myp...@gmail.com
On Sun, Jan 19, 2020 at 5:50 AM Moritz Barsnick wrote: > > On Sat, Jan 18, 2020 at 16:11:01 +0800, Jun Zhao wrote: > > Suggested-by: Moritz Barsnick > > You don't really need to do this. ;-) Especially as Gyan's suggestion > (which was better) is now in. > > > +@item quality, level > > +Set quali

Re: [FFmpeg-devel] [PATCH] lavfi/vf_scale_qsv: fix the class_name in help for scale_qsv

2020-01-21 Thread myp...@gmail.com
On Tue, Jan 21, 2020 at 4:51 PM Linjie Fu wrote: > > Class name is used in show_help_children(avfilter_get_class(),...) > to prompt the available filters. > > $ ffmpeg -h full > > Before: > qsvscale AVOptions: > > After: > scale_qsv AVOptions: > > Signed-off-by: Linjie Fu > --- > libavfilter/vf_

Re: [FFmpeg-devel] [PATCH] Escape braces in a regex, fixing warnings with newer perl

2020-02-17 Thread myp...@gmail.com
On Mon, Feb 17, 2020 at 3:46 PM Martin Storsjö wrote: > > Perl 5.28 warns about this, saying it will be fatal in Perl 5.32. > > Signed-off-by: Martin Storsjö > --- > gas-preprocessor.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gas-preprocessor.pl b/gas-preprocesso

Re: [FFmpeg-devel] [PATCH 1/3] avutil/frame: add use_last_roi

2020-02-17 Thread myp...@gmail.com
On Tue, Feb 18, 2020 at 11:06 AM Guo, Yejun wrote: > > > > > -Original Message- > > From: Guo, Yejun > > Sent: Tuesday, February 18, 2020 10:35 AM > > To: Guo, Yejun > > Subject: RE: [FFmpeg-devel] [PATCH 1/3] avutil/frame: add use_last_roi > > > > > > > > From: Ronald S. Bultje [mailto:r

Re: [FFmpeg-devel] [PATCH 2/2] lavf/mpegts: fix av_log use the uninitialized stream id

2021-05-10 Thread myp...@gmail.com
On Mon, May 10, 2021 at 6:33 AM Marton Balint wrote: > > > > On Fri, 7 May 2021, Jun Zhao wrote: > > > From: Jun Zhao > > > > fix av_log use the uninitialized stream id > > Actually i is not the correct value even if it is initialized because the > loop is executed in full. > > Either remove remo

Re: [FFmpeg-devel] [PATCH 1/2] doc/filters: Update commands doc for amix

2021-05-10 Thread myp...@gmail.com
On Mon, May 10, 2021 at 10:11 PM Gyan Doshi wrote: > > > > On 2021-05-07 18:33, Jun Zhao wrote: > > From: Jun Zhao > > > > commit 95b854dd06 "rename sum option to normalize" missed command > > part docs > > > > Signed-off-by: Jun Zhao > > --- > > doc/filters.texi | 2 +- > > 1 file changed, 1

Re: [FFmpeg-devel] [PATCH] GSoC: Support fast guided filter.

2021-05-10 Thread myp...@gmail.com
On Mon, May 10, 2021 at 9:42 PM Xuewei Meng <928826...@qq.com> wrote: > > From: Xuewei Meng > > Two modes are supported in guided filter, basic mode and fast mode. > Basic mode is the initial pushed guided filter without optimization. > Fast mode is implemented based on the basic one by sub-sampli

Re: [FFmpeg-devel] [PATCH] GSoC: Support fast guided filter.

2021-05-10 Thread myp...@gmail.com
On Tue, May 11, 2021 at 1:08 PM myp...@gmail.com wrote: > > On Mon, May 10, 2021 at 9:42 PM Xuewei Meng <928826...@qq.com> wrote: > > > > From: Xuewei Meng > > > > Two modes are supported in guided filter, basic mode and fast mode. > > Basic mode i

Re: [FFmpeg-devel] [PATCH] avformat/udp: fix check for pthread_cond_wait return value

2021-06-22 Thread myp...@gmail.com
LGTM, check the negative return value/errno is wrong before this patch On Mon, Jun 21, 2021 at 10:33 PM Zhao Zhili wrote: > > POSIX errno is positive. We have strict_pthread_cond_wait to handle > error code during development. > --- > libavformat/udp.c | 4 +--- > 1 file changed, 1 insertion(+)

Re: [FFmpeg-devel] [PATCH 1/3] lavc/libsvtav1: Enable svtav1-params like x264-params in libx264

2021-07-05 Thread myp...@gmail.com
On Sun, Jul 4, 2021 at 8:16 PM Lynne wrote: > > 4 Jul 2021, 03:40 by mypopy...@gmail.com: > > > From: Jun Zhao > > > > Enabled the svtav1-params, then we can set all the params > > > > The whole purpose of the params field was to give it off to the encoder > and have it do its own parsing, such t

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvdec: update color properties in codec context

2021-07-28 Thread myp...@gmail.com
On Wed, Jul 28, 2021 at 4:16 PM Haihao Xiang wrote: > > User may get color properties from the SDK via VIDEO_SIGNAL_INFO extbuf > --- > libavcodec/qsvdec.c | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c > ind

Re: [FFmpeg-devel] [PATCH 1/3] lavc/options_table: Change some options location in opt table.

2018-12-16 Thread myp...@gmail.com
On Sun, Dec 16, 2018 at 8:03 AM Michael Niedermayer wrote: > > On Sat, Dec 15, 2018 at 07:31:35PM +0800, Jun Zhao wrote: > > Change the some options location in avcodec_options to make code more > > readable. > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/options_table.h | 48 > >

Re: [FFmpeg-devel] [PATCH V5 0/2] Add libsvt HEVC encoder wrapper

2018-12-23 Thread myp...@gmail.com
On Sun, Dec 23, 2018 at 12:57 AM Jean-Baptiste Kempf wrote: > > Hello, > > On Sat, 22 Dec 2018, at 13:02, Carl Eugen Hoyos wrote: > > > HEVC-compliant encoder library core that achieves excellent > > > density-quality > > > > I don't find it ideal that FFmpeg git claims that an Intel encoder > >

Re: [FFmpeg-devel] [PATCH V2 1/2] lavf/utils: fix error like "offset 0x1f85: partial file"

2019-01-14 Thread myp...@gmail.com
On Tue, Jan 15, 2019 at 12:44 AM Nicolas George wrote: > > Hendrik Leppkes (12019-01-14): > >http is > > probably the only network protocol you're ever going to read a mov/mp4 > > file from > > Why? Generic file access like SFTP or Sa

Re: [FFmpeg-devel] [PATCH 1/3] lavc/libxavs2: remove unused context parameter

2019-01-21 Thread myp...@gmail.com
On Tue, Jan 22, 2019 at 2:38 PM hwrenx wrote: > > Signed-off-by: hwrenx > --- > libavcodec/libxavs2.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c > index 52c50a1..2d29427 100644 > --- a/libavcodec/libxavs2.c > +++ b/libavcodec/libxavs2.c

Re: [FFmpeg-devel] Rename RSHIFT macro to ROUNDED_RSHIFT

2019-01-22 Thread myp...@gmail.com
On Wed, Jan 23, 2019 at 3:31 AM Uoti Urpala wrote: > > On Tue, 2019-01-22 at 15:35 -0300, James Almer wrote: > > I'm not against renaming it to AV_ROUNDED_RSHIFT or similar, but other > > than an entry in APIChanges we have no way to let library users that > > RSHIFT will be removed two or so year

Re: [FFmpeg-devel] [PATCH] lavfi/vf_nlmeans: Remove the pdiff_lut_scale to improve the performance

2019-01-30 Thread myp...@gmail.com
On Wed, Jan 30, 2019 at 10:24 PM Carl Eugen Hoyos wrote: > > 2019-01-30 11:56 GMT+01:00, Jun Zhao : > > Remove the pdiff_lut_scale in nlmeans > > This sentence is very misleading. > > > and this change will avoid > > using pdiff_lut_scale in the exp table search in nlmean_slice, it's will > > impr

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: Skip writing trailer for MP4 output when in streaming mode

2019-01-30 Thread myp...@gmail.com
On Thu, Jan 24, 2019 at 2:01 PM Karthick J wrote: > > In streaming mode mp4 trailer is not required for playout. > --- > libavformat/dashenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c > index 9c90cf17e5..6299e179c2 1006

Re: [FFmpeg-devel] [PATCH] lavfi/vf_nlmeans: Improve the performance for nlmeans

2019-01-31 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 3:57 AM Carl Eugen Hoyos wrote: > > 2019-01-31 14:55 GMT+01:00, Jun Zhao : > > Remove the pdiff_lut_scale in nlmeans, when search the weight_luttable > > in nlmeans_slices(), the old way need to the float-point arithmetic > > using pdiff_lut_scale. This change will avoid usi

Re: [FFmpeg-devel] [PATCH] avcodec/h264_parse: no need check ref list1 for P slices.

2019-01-31 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 1:28 PM Lin, Decai wrote: > > > > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > > Michael Niedermayer > > Sent: 2019年2月1日 1:12 > > To: FFmpeg development discussions and patches > > > > Subject: Re: [FFmpeg-devel

Re: [FFmpeg-devel] [PATCH V2] lavfi/vf_nlmeans: Improve the performance for nlmeans

2019-02-01 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 4:29 PM Clément Bœsch wrote: > > On Fri, Feb 01, 2019 at 10:45:24AM +0800, Jun Zhao wrote: > > Remove the pdiff_lut_scale in nlmeans and increase weight_lut table size > > from 2^9 to 80, this change will avoid using pdiff_lut_scale in > > nlmeans_slice() for weight_lut

Re: [FFmpeg-devel] [PATCH V2] lavfi/vf_nlmeans: Improve the performance for nlmeans

2019-02-01 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 5:11 PM Clément Bœsch wrote: > > On Fri, Feb 01, 2019 at 04:57:37PM +0800, myp...@gmail.com wrote: > [...] > > > > -#define WEIGHT_LUT_NBITS 9 > > > > -#define WEIGHT_LUT_SIZE (1< > > > +#define WEIGHT_LUT_SIZE (80) // n

Re: [FFmpeg-devel] [PATCH V2] lavfi/vf_nlmeans: Improve the performance for nlmeans

2019-02-01 Thread myp...@gmail.com
On Fri, Feb 1, 2019 at 5:43 PM Clément Bœsch wrote: > On Fri, Feb 01, 2019 at 05:19:53PM +0800, myp...@gmail.com wrote: > > On Fri, Feb 1, 2019 at 5:11 PM Clément Bœsch wrote: > > > > > > On Fri, Feb 01, 2019 at 04:57:37PM +0800, myp...@gmail.com wrote: >

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/tests/integral: Fix build warning after adjust the location

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 1:48 AM Michael Niedermayer wrote: > > On Sun, Feb 10, 2019 at 02:53:57PM +0800, Jun Zhao wrote: > > Fix build warning like "warning: ISO C90 forbids mixed declarations > > and code" after adjust the location for malloc fail check. > > > > Signed-off-by: Jun Zhao > > --- >

Re: [FFmpeg-devel] [PATCH] avfilter/tests/integral: Check malloc fail before using it

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 1:48 AM Michael Niedermayer wrote: > > On Sun, Feb 10, 2019 at 01:07:20PM +0800, Jun Zhao wrote: > > Need to check malloc fail before using it, so adjust the location > > in the code. > > > > Signed-off-by: Jun Zhao > > --- > > libavfilter/tests/integral.c |6 +++--- >

Re: [FFmpeg-devel] [PATCH V2] tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts

2019-02-11 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 7:38 AM Michael Niedermayer wrote: > > On Mon, Feb 11, 2019 at 11:21:27AM +0800, Jun Zhao wrote: > > Add AV_NOPTS_VALUE check for AVFrame.pkt_dts to avoid print the > > pkt_dts as negative number like: > > "0,3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65

Re: [FFmpeg-devel] [PATCH V3] tests/api/api-h264-test: Add AV_NOPTS_VALUE check for AVFrame.pkt_dts/pts

2019-02-12 Thread myp...@gmail.com
On Tue, Feb 12, 2019 at 9:27 PM Michael Niedermayer wrote: > > On Tue, Feb 12, 2019 at 02:31:20PM +0800, Jun Zhao wrote: > > Use av_ts2str() for AVFrame.pkt_dts/pts to avoid print the > > pkt_dts/pts as negative number like: > > "0,3616613, -9223372036854775808, 1001, 3110400, 0x75e37a65"

<    1   2   3   4   5   6   >