Re: [FFmpeg-devel] [PATCH 2/2] avutil/slicethread: Add a maximum constraint of 16 slice threads

2021-11-06 Thread Hendrik Leppkes
On Sat, Nov 6, 2021 at 6:26 AM wrote: > > On Fri, Nov 05, 2021 at 10:00:41PM +0100, Michael Niedermayer wrote: > > On Fri, Nov 05, 2021 at 08:32:16PM +0800, lance.lmw...@gmail.com wrote: > > > From: Limin Wang > > > > > > Signed-off-by: Limin Wang > > > --- > > > libavutil/slicethread.c | 2 +-

Re: [FFmpeg-devel] [PATCH v3] libavfilter: add a gblur_vulkan filter

2021-11-06 Thread Wu Jianhua
Lynne wrote: 9 Sept 2021, 07:44 by jianhua...@intel.com: > This commit adds a powerful and customizable gblur Vulkan filter, > which provides a maximum 127x127 kernel size of Gaussian Filter. > The size could be adjusted by requirements on quality or performance. > > The following command is on ho

Re: [FFmpeg-devel] [PATCH v2] avfilter/src_movie: Add a maximum constraint of 16 slice threads

2021-11-06 Thread Paul B Mahol
NACK ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 2/2] avutil/slicethread: Add a maximum constraint of 16 slice threads

2021-11-06 Thread lance . lmwang
On Sat, Nov 06, 2021 at 08:42:38AM +0100, Hendrik Leppkes wrote: > On Sat, Nov 6, 2021 at 6:26 AM wrote: > > > > On Fri, Nov 05, 2021 at 10:00:41PM +0100, Michael Niedermayer wrote: > > > On Fri, Nov 05, 2021 at 08:32:16PM +0800, lance.lmw...@gmail.com wrote: > > > > From: Limin Wang > > > > > >

Re: [FFmpeg-devel] [PATCH v2] avfilter/src_movie: Add a maximum constraint of 16 slice threads

2021-11-06 Thread lance . lmwang
On Sat, Nov 06, 2021 at 11:44:08AM +0100, Paul B Mahol wrote: > NACK What's your suggestion? any objection if add a thread option for src_movie filter? -- Thanks, Limin Wang ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mail

[FFmpeg-devel] [PATCH v3] avfilter/src_movie: make the number of decode thread configurable

2021-11-06 Thread lance . lmwang
From: Limin Wang Please use threads option if you want the number of thread configurable. Signed-off-by: Limin Wang --- libavfilter/src_movie.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/src_movie.c b/libavfilter/src_movie.c index 573f363..5811675 100644

Re: [FFmpeg-devel] [PATCH v3] avfilter/src_movie: make the number of decode thread configurable

2021-11-06 Thread Paul B Mahol
On Sat, Nov 6, 2021 at 2:48 PM wrote: > From: Limin Wang > > Please use threads option if you want the number of thread configurable. > > Generally bad idea to use number of filtering threads for decoding threads. > Signed-off-by: Limin Wang > --- > libavfilter/src_movie.c | 4 +++- > 1 file

Re: [FFmpeg-devel] [PATCH v3] avfilter/src_movie: make the number of decode thread configurable

2021-11-06 Thread lance . lmwang
On Sat, Nov 06, 2021 at 02:59:06PM +0100, Paul B Mahol wrote: > On Sat, Nov 6, 2021 at 2:48 PM wrote: > > > From: Limin Wang > > > > Please use threads option if you want the number of thread configurable. > > > > > Generally bad idea to use number of filtering threads for decoding threads. I a

[FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add x86 SIMD

2021-11-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_nlmeans.c | 9 ++- libavfilter/vf_nlmeans.h | 1 + libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_nlmeans.asm| 97 +++ libavfilter/x86/vf_nlmeans_init.c | 40 + 5 files cha

[FFmpeg-devel] [PATCH v4] avfilter/src_movie: make the number of decode thread configurable

2021-11-06 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/filters.texi| 3 +++ libavfilter/src_movie.c | 10 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index b537e42..c9ef854 100644 --- a/doc/filters.texi +++ b/doc/filters.te

Re: [FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add x86 SIMD

2021-11-06 Thread James Almer
On 11/6/2021 11:41 AM, Paul B Mahol wrote: Signed-off-by: Paul B Mahol --- libavfilter/vf_nlmeans.c | 9 ++- libavfilter/vf_nlmeans.h | 1 + libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_nlmeans.asm| 97 +++ libavfilter/x86

Re: [FFmpeg-devel] [PATCH] seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14

2021-11-06 Thread Andreas Rheinhardt
Martin Storsjö: > Passing an uninitialized variable as argument to a function is > undefined behaviour (UB). The compiler can assume that UB does not > happen. > > Hence, the compiler can assume that the variables are never > uninitialized when passed as argument, which means that the codepaths >

Re: [FFmpeg-devel] [PATCH] seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14

2021-11-06 Thread Martin Storsjö
On Sat, 6 Nov 2021, Andreas Rheinhardt wrote: Martin Storsjö: Passing an uninitialized variable as argument to a function is undefined behaviour (UB). The compiler can assume that UB does not happen. Hence, the compiler can assume that the variables are never uninitialized when passed as argum

Re: [FFmpeg-devel] [PATCH] seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14

2021-11-06 Thread Andreas Rheinhardt
Martin Storsjö: > On Sat, 6 Nov 2021, Andreas Rheinhardt wrote: > >> Martin Storsjö: >>> Passing an uninitialized variable as argument to a function is >>> undefined behaviour (UB). The compiler can assume that UB does not >>> happen. >>> >>> Hence, the compiler can assume that the variables are n

Re: [FFmpeg-devel] [PATCH] Fix first_pcr initial update

2021-11-06 Thread Marton Balint
On Wed, 3 Nov 2021, lance.lmw...@gmail.com wrote: On Wed, Nov 03, 2021 at 01:01:29PM +0200, Maksym Veremeyenko wrote: On 02.11.2021 12:47, Maksym Veremeyenko wrote: > One of latest commit https://source.ffmpeg.org/?p=ffmpeg.git;a=commitdiff;h=6f36eb0da71d22aadf8f056f0966bd86656ea57e > claim

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: Dont include adaptation field in teletext TS packets.

2021-11-06 Thread Marton Balint
On Thu, 21 Oct 2021, Alex Shumsky wrote: From ETSI EN 300 472 V1.3.1 (2003-05) Specification for conveying ITU-R System B Teletext in DVB bitstreams: 4.1 Transport Stream (TS) packet format The standard TS packet syntax and semantics are followed, noting the following constraint: - adaptat

Re: [FFmpeg-devel] [PATCH v4] avformat/libsrt: print streamid at client

2021-11-06 Thread Marton Balint
On Mon, 25 Oct 2021, Raghavendra Rao Sidlagatta wrote: On Friday, July 23, 2021 10:59 BST, "Raghavendra Rao Sidlagatta" wrote:    On Monday, March 22, 2021 06:45 GMT, "Raghavendra Rao Sidlagatta" wrote:    On Wednesday, January 20, 2021 09:48 GMT, "Raghavendra Rao Sidlagatta" wrote:   

Re: [FFmpeg-devel] [PATCH] seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14

2021-11-06 Thread Martin Storsjö
On Sat, 6 Nov 2021, Andreas Rheinhardt wrote: Martin Storsjö: On Sat, 6 Nov 2021, Andreas Rheinhardt wrote: For GCC and Clang av_uninit(x) is defined as x=x. And that is a problem: In case this macro is used to declare an automatic variable that is could be declared with the register storage

Re: [FFmpeg-devel] [PATCH] seek: Fix crashes in ff_seek_frame_binary if built with latest Clang 14

2021-11-06 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Martin Storsjö: >> On Sat, 6 Nov 2021, Andreas Rheinhardt wrote: >> >>> Martin Storsjö: Passing an uninitialized variable as argument to a function is undefined behaviour (UB). The compiler can assume that UB does not happen. Hence, the compiler can as

[FFmpeg-devel] [PATCH] avfilter/vf_nlmeans: add x86 SIMD

2021-11-06 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/vf_nlmeans.c | 9 ++- libavfilter/vf_nlmeans.h | 1 + libavfilter/x86/Makefile | 2 + libavfilter/x86/vf_nlmeans.asm| 97 +++ libavfilter/x86/vf_nlmeans_init.c | 40 + 5 files cha

[FFmpeg-devel] [PATCH v3 1/4] avformat/imf: Headers

2021-11-06 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: The IMF demuxer accepts as input an IMF CPL. The assets referenced by the CPL can be contained in multiple deliveries, each defined by an ASSETMAP file: ffmpeg -assetmaps ,,... -i If -asset

[FFmpeg-devel] [PATCH v3 2/4] avformat/imf: CPL processor

2021-11-06 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Implements IMF Composition Playlist (CPL) parsing. libavformat/imf_cpl.c | 706 ++ 1 file changed, 706 insertions(+) create mode 100644 libavformat/imf_cpl.c diff --git

[FFmpeg-devel] [PATCH v3 3/4] avformat/imf: Demuxer implementation

2021-11-06 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Implements the IMF demuxer. libavformat/imfdec.c | 773 +++ 1 file changed, 773 insertions(+) create mode 100644 libavformat/imfdec.c diff --git a/libavformat/imfdec.c b

[FFmpeg-devel] [PATCH v3 4/4] avformat/imf: Tests and build files

2021-11-06 Thread pal
From: Pierre-Anthony Lemieux Signed-off-by: Pierre-Anthony Lemieux --- Notes: Tests and build files for the IMF demuxer. MAINTAINERS | 1 + configure| 3 +- doc/demuxers.texi| 6 + libavformat/Makefile | 2 + libavformat/allformats.c | 1

Re: [FFmpeg-devel] [PATCH 2/3 v2] avcodec/hevcdec: Export Dolby Vision RPUs as side data

2021-11-06 Thread Andreas Rheinhardt
Derek Buitenhuis: > Signed-off-by: Derek Buitenhuis > --- > libavcodec/h2645_parse.c | 28 > libavcodec/hevcdec.c | 29 + > libavcodec/hevcdec.h | 2 ++ > libavcodec/version.h | 2 +- > 4 files changed, 60 insertions(+), 1 del

[FFmpeg-devel] [PATCH] swscale/input: clamp rgbf32 values between 0, 1 before scaling

2021-11-06 Thread mindmark
From: Mark Reid if the float pixel * 65535.0f > 2147483647.0f lrintf may overfow and return negative values, depending on implementation. nan and +/-inf values may also be implementation defined clamp the values between 0,1 before scaling, so lrintf always works. values <=0.0f, -inf, nan = 0.0f