Re: [FFmpeg-devel] [PATCH] lavc/decode: do not use a context variable for function-local data

2020-05-23 Thread Anton Khirnov
Quoting James Almer (2020-05-22 19:32:07) > On 5/22/2020 1:56 PM, Anton Khirnov wrote: > > --- > > libavcodec/decode.c | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/libavcodec/decode.c b/libavcodec/decode.c > > index f3327d74af..dbecdf3f46 100644 > > ---

Re: [FFmpeg-devel] [RFC PATCH v2] libavcodec/jpeg2000_parser: Add jpeg2000 parser

2020-05-23 Thread Gautam Ramakrishnan
On Sat, May 23, 2020 at 1:08 AM Michael Niedermayer wrote: > > On Thu, May 21, 2020 at 09:42:18PM +0200, Carl Eugen Hoyos wrote: > > Am Mi., 20. Mai 2020 um 22:21 Uhr schrieb Michael Niedermayer > > : > > > > > > On Wed, May 20, 2020 at 08:48:41PM +0530, Gautam Ramakrishnan wrote: > > > > On Tue,

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Mattias Wadman
On Sat, May 23, 2020 at 2:23 AM wrote: > > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/ffmpeg.texi | 15 > fftools/ffmpeg.h| 2 ++ > fftools/ffmpeg_filter.c | 20 > fftools/ffmpeg_opt.c| 20 >

[FFmpeg-devel] [PATCH 3/3] libavcodec/libvpxenc: Don't free user-provided AVPacket

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libvpxenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index 60a858853d..05bcc303d1 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -1148,7 +1148,6 @@

[FFmpeg-devel] [PATCH 2/3] libavcodec/libmp3lame: Don't free user-provided AVPacket

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libmp3lame.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/libmp3lame.c b/libavcodec/libmp3lame.c index ecdd2e334c..2beb28e569 100644 --- a/libavcodec/libmp3lame.c +++ b/libavcodec/libmp3lame.c @@ -279,7 +279,6 @@ static int

[FFmpeg-devel] [PATCH 1/3] avcodec/libopusenc: Don't free user-provided AVPacket

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavcodec/libopusenc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c index 7c025a66d7..13017ac323 100644 --- a/libavcodec/libopusenc.c +++ b/libavcodec/libopusenc.c @@ -503,7 +503,6 @@ static int

[FFmpeg-devel] [PATCH 2/2] compat/cuda/ptx2c: fix BSD sed compatibility

2020-05-23 Thread rcombs
This fixes cross-compiling from macOS to other platforms --- compat/cuda/ptx2c.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/cuda/ptx2c.sh b/compat/cuda/ptx2c.sh index 435a9b4b6c..c41875a2d4 100755 --- a/compat/cuda/ptx2c.sh +++ b/compat/cuda/ptx2c.sh @@ -28,7

Re: [FFmpeg-devel] [PATCH v4 2/2] avdevice/lavf: add more options to dump filter graph

2020-05-23 Thread Nicolas George
lance.lmw...@gmail.com (12020-05-23): > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/indevs.texi | 16 ++-- > libavdevice/lavfi.c | 19 +-- > 2 files changed, 27 insertions(+), 8 deletions(-) I think the change to allow to set the format and the

[FFmpeg-devel] [PATCH 1/2] compat/cuda/ptx2c: remove shell loop

2020-05-23 Thread rcombs
This improves build times dramatically --- compat/cuda/ptx2c.sh | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/compat/cuda/ptx2c.sh b/compat/cuda/ptx2c.sh index 0750e7a3b7..435a9b4b6c 100755 --- a/compat/cuda/ptx2c.sh +++ b/compat/cuda/ptx2c.sh @@ -27,10 +27,8 @@

Re: [FFmpeg-devel] [PATCH] lavc/decode: do not use a context variable for function-local data

2020-05-23 Thread Michael Niedermayer
On Fri, May 22, 2020 at 04:51:05PM -0300, James Almer wrote: > On 5/22/2020 4:22 PM, Michael Niedermayer wrote: > > On Fri, May 22, 2020 at 02:32:07PM -0300, James Almer wrote: > >> On 5/22/2020 1:56 PM, Anton Khirnov wrote: > >>> --- > >>> libavcodec/decode.c | 8 > >>> 1 file changed,

Re: [FFmpeg-devel] [PATCH 1/2] compat/cuda/ptx2c: remove shell loop

2020-05-23 Thread Carl Eugen Hoyos
Am Sa., 23. Mai 2020 um 06:01 Uhr schrieb rcombs : > > This improves build times dramatically > --- > compat/cuda/ptx2c.sh | 8 +++- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/compat/cuda/ptx2c.sh b/compat/cuda/ptx2c.sh > index 0750e7a3b7..435a9b4b6c 100755 > ---

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Nicolas George
lance.lmw...@gmail.com (12020-05-23): > From: Limin Wang > > Signed-off-by: Limin Wang > --- > doc/ffmpeg.texi | 15 > fftools/ffmpeg.h| 2 ++ > fftools/ffmpeg_filter.c | 20 > fftools/ffmpeg_opt.c| 20 >

Re: [FFmpeg-devel] [PATCH 1/3] apedec: add ability to check CRC

2020-05-23 Thread Lynne
May 22, 2020, 23:50 by ceffm...@gmail.com: > Am Sa., 23. Mai 2020 um 00:43 Uhr schrieb Lynne : > >> >> Posting this again. >> >> The CRC flag is only signalled once every few minutes but CRC is still >> always present so the patch uses the file version instead. >> >> CRC on 24-bit files wants

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Limin Wang
On Sat, May 23, 2020 at 02:49:39PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-05-23): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/ffmpeg.texi | 15 > > > fftools/ffmpeg.h| 2 ++ > > fftools/ffmpeg_filter.c | 20

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Nicolas George
Limin Wang (12020-05-23): > OK, if nobody object it, I'll remove it after the patchset are OK. That should be in the same patch. > I have no idea how to use parse_key_value_pair() and how to support it in > command > line with option? so I use it as format directly. The answer to something we

Re: [FFmpeg-devel] [PATCH v4 2/2] avdevice/lavf: add more options to dump filter graph

2020-05-23 Thread Limin Wang
On Sat, May 23, 2020 at 02:52:12PM +0200, Nicolas George wrote: > lance.lmw...@gmail.com (12020-05-23): > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/indevs.texi | 16 ++-- > > libavdevice/lavfi.c | 19 +-- > > 2 files changed, 27

Re: [FFmpeg-devel] [PATCH v4 03/11] libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

2020-05-23 Thread Artem Galin
New version of patch is available by link https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=1253 On Sun, 10 May 2020 at 00:55, Soft Works wrote: > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Artem Galin > > Sent: Sunday, May 10, 2020 1:19 AM > > To: FFmpeg

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libopusenc: Don't free user-provided AVPacket

2020-05-23 Thread James Almer
On 5/23/2020 7:44 AM, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/libopusenc.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c > index 7c025a66d7..13017ac323 100644 > --- a/libavcodec/libopusenc.c >

Re: [FFmpeg-devel] [PATCH] lavfi: add untile filter.

2020-05-23 Thread Nicolas George
Nicolas George (12020-04-16): > Signed-off-by: Nicolas George > --- > doc/filters.texi | 34 ++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_untile.c | 198 +++ > tests/fate/filter-video.mak

Re: [FFmpeg-devel] [PATCH 1/2] lavu: add av_gcd_q().

2020-05-23 Thread Nicolas George
Nicolas George (12020-04-16): > TODO APIchanges and minor bump. > > Signed-off-by: Nicolas George > --- > libavutil/rational.c | 9 + > libavutil/rational.h | 6 ++ > 2 files changed, 15 insertions(+) Series pushed. Regards, -- Nicolas George signature.asc Description: PGP

Re: [FFmpeg-devel] [PATCH 1/4] lavfi/formats: add ff_formats_pixdesc_filter().

2020-05-23 Thread Nicolas George
Nicolas George (12020-04-16): > Signed-off-by: Nicolas George > --- > libavfilter/formats.c | 41 + > libavfilter/formats.h | 10 ++ > 2 files changed, 51 insertions(+) Series pushed. Regards, -- Nicolas George signature.asc Description:

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Nicolas George
Limin Wang (12020-05-23): > > In this case, transforming the string into an AVDictionary, passing it > > around and warning if there are remaining options should be the simplest > > choice. > > So I should to use av_find_info_tag to parse the options string? any sample > code > in the existing

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Limin Wang
On Sat, May 23, 2020 at 04:52:47PM +0200, Nicolas George wrote: > Limin Wang (12020-05-23): > > > In this case, transforming the string into an AVDictionary, passing it > > > around and warning if there are remaining options should be the simplest > > > choice. > > > > So I should to use

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/libopusenc: Don't free user-provided AVPacket

2020-05-23 Thread Andreas Rheinhardt
James Almer: > On 5/23/2020 7:44 AM, Andreas Rheinhardt wrote: >> Signed-off-by: Andreas Rheinhardt >> --- >> libavcodec/libopusenc.c | 2 -- >> 1 file changed, 2 deletions(-) >> >> diff --git a/libavcodec/libopusenc.c b/libavcodec/libopusenc.c >> index 7c025a66d7..13017ac323 100644 >> ---

[FFmpeg-devel] [PATCH] x86: cabac: Disable the inline asm on clang on windows on i386

2020-05-23 Thread Martin Storsjö
The cabac inline assembly is very brittle to assemble properly on i386 windows with clang; libavcodec/hevc_cabac.c fails to build in the default mode (which is -march=pentium4), it only works if ffmpeg is configured with --cpu=i686 (translating to -march=i686), and likewise, the inline assembly

[FFmpeg-devel] [PATCH] hwcontext_vulkan: use host mapped buffers when uploading and downloading

2020-05-23 Thread Lynne
Speeds up both use cases by 30%. Patch attached. >From f47b694392eb992601459127e3bfc54a81013b3f Mon Sep 17 00:00:00 2001 From: Lynne Date: Sat, 23 May 2020 19:02:08 +0100 Subject: [PATCH] hwcontext_vulkan: use host mapped buffers when uploading and downloading Speeds up both use cases by 30%.

Re: [FFmpeg-devel] [PATCH 1/2] compat/cuda/ptx2c: remove shell loop

2020-05-23 Thread Ridley Combs
> On May 23, 2020, at 06:47, Carl Eugen Hoyos wrote: > > Am Sa., 23. Mai 2020 um 06:01 Uhr schrieb rcombs : >> >> This improves build times dramatically >> --- >> compat/cuda/ptx2c.sh | 8 +++- >> 1 file changed, 3 insertions(+), 5 deletions(-) >> >> diff --git a/compat/cuda/ptx2c.sh

Re: [FFmpeg-devel] [PATCH 00/10] Vulkan code general/performance improvements

2020-05-23 Thread Lynne
May 15, 2020, 19:36 by d...@lynne.ee: > Just posting this as a single email not to spam the ML too much. > Going to push this sometime over the weekend alongside the other 3 patches to > finish > all work on Vulkan before the next release. > Satisfied with the code, though the last patch is

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Limin Wang
On Sat, May 23, 2020 at 02:41:01PM +0200, Mattias Wadman wrote: > On Sat, May 23, 2020 at 2:23 AM wrote: > > > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > doc/ffmpeg.texi | 15 > > fftools/ffmpeg.h| 2 ++ > > fftools/ffmpeg_filter.c | 20

Re: [FFmpeg-devel] [PATCH v4 1/2] fftools: add options to dump filter graph

2020-05-23 Thread Limin Wang
On Sat, May 23, 2020 at 04:36:24PM +0200, Nicolas George wrote: > Limin Wang (12020-05-23): > > OK, if nobody object it, I'll remove it after the patchset are OK. > > That should be in the same patch. > > > I have no idea how to use parse_key_value_pair() and how to support it in > > command >

Re: [FFmpeg-devel] [PATCH] hwcontext: add av_hwdevice_ctx_create_derived2

2020-05-23 Thread Lynne
May 13, 2020, 00:17 by d...@lynne.ee: > May 12, 2020, 23:16 by s...@jkqxz.net: > >> On 12/05/2020 20:16, Lynne wrote: >> >>> From 45ec8f730a183cd98b1d2d705e7a9582ef2f3f28 Mon Sep 17 00:00:00 2001 >>> From: Lynne >>> Date: Mon, 11 May 2020 11:02:19 +0100 >>> Subject: [PATCH] hwcontext: add

Re: [FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: expose the amount of queues for each queue family

2020-05-23 Thread Lynne
Pushed, thanks for the review. ___ 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".

[FFmpeg-devel] [PATCH v6 3/3] fftools: add options to dump filter graph

2020-05-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/ffmpeg.texi | 12 fftools/ffmpeg.c| 1 + fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 11 +++ fftools/ffmpeg_opt.c| 10 ++ 5 files changed, 35 insertions(+) diff --git

[FFmpeg-devel] [PATCH v6 1/3] avfilter/graphdump: support for the graph2dot function

2020-05-23 Thread lance . lmwang
From: Limin Wang reuse the function from tools/graph2dot.c and add support for filter graph with graphviz DOT format for avfilter directly. So tools/graph2dot.c is duplicated and can be removed. In addition, make the options are pair-key format, now it support two key: fmt=DOT|dot

[FFmpeg-devel] [PATCH v6 2/3] avdevice/lavfi: support the dumpgraph with options

2020-05-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/indevs.texi | 15 +-- libavdevice/lavfi.c | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index 6f5afaf..7ec7062 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@

[FFmpeg-devel] [PATCH v2] avfilter/vf_lut3d: prelut support for 3d cinespace luts

2020-05-23 Thread mindmark
From: Mark Reid changes since v1: * cleaned up code style * slightly reworked apply_lut functions to feel more consistent with code --- libavfilter/vf_lut3d.c | 372 +++-- 1 file changed, 317 insertions(+), 55 deletions(-) diff --git

Re: [FFmpeg-devel] ffmpeg Filtergraph Output

2020-05-23 Thread Dennis Mungai
On Sun, 24 May 2020 at 05:44, Soft Works wrote: > Hello, > > I've seen the commit about the option for dumping the filtergraph and that > reminded me about something that I'd be willing to contribute in case > anybody likes it. > > A while ago I was looking for a way to get information about the

Re: [FFmpeg-devel] [PATCH] x86: cabac: Disable the inline asm on clang on windows on i386

2020-05-23 Thread Carl Eugen Hoyos
Am Sa., 23. Mai 2020 um 20:35 Uhr schrieb Martin Storsjö : > > The cabac inline assembly is very brittle to assemble properly > on i386 windows with clang; libavcodec/hevc_cabac.c fails to build > in the default mode (which is -march=pentium4), it only works if > ffmpeg is configured with

Re: [FFmpeg-devel] [PATCH 1/2] compat/cuda/ptx2c: remove shell loop

2020-05-23 Thread Carl Eugen Hoyos
Am Sa., 23. Mai 2020 um 20:13 Uhr schrieb Ridley Combs : > > > On May 23, 2020, at 06:47, Carl Eugen Hoyos wrote: > > > > Am Sa., 23. Mai 2020 um 06:01 Uhr schrieb rcombs : > >> > >> This improves build times dramatically > >> --- > >> compat/cuda/ptx2c.sh | 8 +++- > >> 1 file changed, 3

[FFmpeg-devel] [PATCH 4/4] avformat/oggdec: Avoid duplicating buffer when adding side-data

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/oggdec.c | 12 +--- libavformat/oggparsevorbis.c | 2 +- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c index 1a3acbb55e..b4ba00df61 100644 --- a/libavformat/oggdec.c

[FFmpeg-devel] [PATCH 2/4] avformat/concatdec: Avoid duplicating buffer when adding side-data

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- The resulting side-data in this and the next two patches won't be padded anymore. But the documentation doesn't require it and av_packet_unpack_dictionary() doesn't rely on this anyway. libavformat/concatdec.c | 11 +-- 1 file changed, 5

[FFmpeg-devel] [PATCH 1/4] avformat/flvdec: Avoid duplicating extradata when adding side-data

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/flvdec.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 7c3e5b06c6..957acedf39 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -1283,12 +1283,11 @@

[FFmpeg-devel] [PATCH 3/4] avformat/img2dec: Avoid duplicating buffer when adding side-data

2020-05-23 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- libavformat/img2dec.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 40f3e3d499..ee7ceed08f 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -379,8 +379,7

[FFmpeg-devel] [PATCH v5 3/3] fftools: add options to dump filter graph

2020-05-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/ffmpeg.texi | 12 fftools/ffmpeg.c| 1 + fftools/ffmpeg.h| 1 + fftools/ffmpeg_filter.c | 11 +++ fftools/ffmpeg_opt.c| 10 ++ 5 files changed, 35 insertions(+) diff --git

[FFmpeg-devel] [PATCH v5 1/3] avfilter/graphdump: support for the graph2dot function

2020-05-23 Thread lance . lmwang
From: Limin Wang reuse the function from tools/graph2dot.c and add support for filter graph with graphviz DOT format for avfilter directly. So tools/graph2dot.c is duplicated and can be removed. In addition, make the options are pair-key format, now it support two key: fmt=DOT|dot

[FFmpeg-devel] [PATCH v5 2/3] avdevice/lavfi: support the dumpgraph with options

2020-05-23 Thread lance . lmwang
From: Limin Wang Signed-off-by: Limin Wang --- doc/indevs.texi | 15 +-- libavdevice/lavfi.c | 2 +- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index 6f5afaf..7ec7062 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@

[FFmpeg-devel] ffmpeg Filtergraph Output

2020-05-23 Thread Soft Works
Hello, I've seen the commit about the option for dumping the filtergraph and that reminded me about something that I'd be willing to contribute in case anybody likes it. A while ago I was looking for a way to get information about the filtergraphs that ffmpeg builds at runtime, the individual