[FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-08 Thread Xuewei Meng
V3: Add examples on how to use this filter, and improve the code style. V2: Implement the slice-level parallelism for guided filter. V1: Add the basic version of guided filter. Signed-off-by: Xuewei Meng --- doc/filters.texi | 38 + libavfilter/Makefile | 1 + libavfilter/allf

Re: [FFmpeg-devel] [PATCH v3] GSoC: Add guided filter

2021-05-08 Thread Steven Liu
> 2021年5月8日 下午6:06,Xuewei Meng <928826...@qq.com> 写道: > > V3: Add examples on how to use this filter, and improve the code style. > V2: Implement the slice-level parallelism for guided filter. > V1: Add the basic version of guided filter. > > Signed-off-by: Xuewei Meng > --- > doc/filters.texi

Re: [FFmpeg-devel] [PATCH 1/2] avcodec: Implement Acorn Replay IMA ADPCM decoder

2021-05-08 Thread Zane van Iperen
On 8/5/21 2:50 am, Cameron Cawley wrote: --- Changelog | 1 + doc/general_contents.texi | 1 + libavcodec/Makefile | 1 + libavcodec/adpcm.c| 19 +++ libavcodec/allcodecs.c| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/co

[FFmpeg-devel] [PATCH 1/2] lavc/pngdec: fix updating reference frames for APNG_DISPOSE_OP_BACKGROUND

2021-05-08 Thread Anton Khirnov
They should be treated the same as APNG_DISPOSE_OP_NONE. Broken in 5663301560. Fixes #9184. --- libavcodec/pngdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/pngdec.c b/libavcodec/pngdec.c index f2e6f689b0..16c4c3a283 100644 --- a/libavcodec/pngdec.c ++

[FFmpeg-devel] [PATCH 2/2] fate: add a more extensive test for APNG_DISPOSE_OP_BACKGROUND

2021-05-08 Thread Anton Khirnov
Uses the sample from #9184. --- tests/fate/apng.mak | 3 +++ tests/ref/fate/apng-dispose-background2 | 25 + 2 files changed, 28 insertions(+) create mode 100644 tests/ref/fate/apng-dispose-background2 diff --git a/tests/fate/apng.mak b/tests/fate/apn

[FFmpeg-devel] [PATCH 2/5] lavfi/dnn_backend_native_layer_conv2d.h: Documentation

2021-05-08 Thread Shubhanshu Saxena
Add documentation for 2D Convolution Layer Signed-off-by: Shubhanshu Saxena --- .../dnn/dnn_backend_native_layer_conv2d.h | 26 +++ 1 file changed, 26 insertions(+) diff --git a/libavfilter/dnn/dnn_backend_native_layer_conv2d.h b/libavfilter/dnn/dnn_backend_native_layer_con

[FFmpeg-devel] [PATCH 4/5] lavfi/dnn_backend_native_layer_depth2space.h: Documentation

2021-05-08 Thread Shubhanshu Saxena
Add documentation for Depth to Space Layer Signed-off-by: Shubhanshu Saxena --- .../dnn_backend_native_layer_depth2space.h| 28 +++ 1 file changed, 28 insertions(+) diff --git a/libavfilter/dnn/dnn_backend_native_layer_depth2space.h b/libavfilter/dnn/dnn_backend_native_laye

[FFmpeg-devel] [PATCH 5/5] lavfi/dnn_backend_native_layer_mathunary.h: Documentation

2021-05-08 Thread Shubhanshu Saxena
Add documentation for Unary Math Layer Signed-off-by: Shubhanshu Saxena --- .../dnn/dnn_backend_native_layer_mathunary.h | 64 +-- 1 file changed, 46 insertions(+), 18 deletions(-) diff --git a/libavfilter/dnn/dnn_backend_native_layer_mathunary.h b/libavfilter/dnn/dnn_backend_

[FFmpeg-devel] [PATCH 3/5] lavfi/dnn_backend_native_layer_dense.h: Documentation

2021-05-08 Thread Shubhanshu Saxena
Add documentation for Dense Layer Signed-off-by: Shubhanshu Saxena --- .../dnn/dnn_backend_native_layer_dense.h | 26 +++ 1 file changed, 26 insertions(+) diff --git a/libavfilter/dnn/dnn_backend_native_layer_dense.h b/libavfilter/dnn/dnn_backend_native_layer_dense.h index

[FFmpeg-devel] [PATCH 1/5] lavfi/dnn_backend_native_layer_avgpool.h: Documentation

2021-05-08 Thread Shubhanshu Saxena
Add documentation for Average Pool Layer Signed-off-by: Shubhanshu Saxena --- .../dnn/dnn_backend_native_layer_avgpool.h| 27 +++ 1 file changed, 27 insertions(+) diff --git a/libavfilter/dnn/dnn_backend_native_layer_avgpool.h b/libavfilter/dnn/dnn_backend_native_layer_avgp

[FFmpeg-devel] [PATCH 2/2] avformat/matroskadec: remove special handling of av1c extradata

2021-05-08 Thread Jan Ekström
Libavcodec can now handle the standard AV1CodecConfigurationRecord extradata as-is. --- libavformat/matroskadec.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 8523261760..73e1ddb68d 100644 --- a/libavformat/matroskadec.c +++ b/l

[FFmpeg-devel] [PATCH 1/2] avformat/mov: remove special handling of av1c extradata

2021-05-08 Thread Jan Ekström
Libavcodec can now handle the AV1CodecConfigurationRecord structure as-is when passed as extradata, so the standard behavior of read-box-into-extradata should suffice, just like with AVC and HEVC. --- libavformat/mov.c | 30 +- 1 file changed, 1 insertion(+), 29 deletio

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: remove special handling of av1c extradata

2021-05-08 Thread James Almer
On 5/8/2021 9:29 AM, Jan Ekström wrote: Libavcodec can now handle the AV1CodecConfigurationRecord structure as-is when passed as extradata, so the standard behavior of read-box-into-extradata should suffice, just like with AVC and HEVC. --- libavformat/mov.c | 30 +-

Re: [FFmpeg-devel] [PATCH 2/2] avformat/matroskadec: remove special handling of av1c extradata

2021-05-08 Thread James Almer
On 5/8/2021 9:29 AM, Jan Ekström wrote: Libavcodec can now handle the standard AV1CodecConfigurationRecord extradata as-is. --- libavformat/matroskadec.c | 4 1 file changed, 4 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index 8523261760..73e1ddb68d 10

[FFmpeg-devel] [PATCH] [GSOC] avfilter: added guided filter

2021-05-08 Thread Andrey Moskalenko
> Maybe not only use multithreading for speedup, also need some > algorithms to improve it. > What about the speedup compare data? Additionally, a fast implementation of box filtering is used and sub-sampling as recommended in https://arxiv.org/abs/1505.00996. Current implementation outperforms

Re: [FFmpeg-devel] [PATCH] avcodec/avpacket: always initialize the new packet in avpriv_packet_list_put()

2021-05-08 Thread James Almer
On 5/7/2021 2:17 PM, James Almer wrote: If a copy callback is provided by the caller, the packet passed to it was zeroed instead of initialized with default values. Signed-off-by: James Almer --- libavcodec/avpacket.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/li

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: remove special handling of av1c extradata

2021-05-08 Thread Jan Ekström
On Sat, May 8, 2021 at 3:46 PM James Almer wrote: > > On 5/8/2021 9:29 AM, Jan Ekström wrote: > > Libavcodec can now handle the AV1CodecConfigurationRecord structure > > as-is when passed as extradata, so the standard behavior of > > read-box-into-extradata should suffice, just like with AVC and H

Re: [FFmpeg-devel] [PATCH 2/2] avformat/matroskadec: remove special handling of av1c extradata

2021-05-08 Thread Jan Ekström
On Sat, May 8, 2021 at 3:46 PM James Almer wrote: > > On 5/8/2021 9:29 AM, Jan Ekström wrote: > > Libavcodec can now handle the standard AV1CodecConfigurationRecord > > extradata as-is. > > --- > > libavformat/matroskadec.c | 4 > > 1 file changed, 4 deletions(-) > > > > diff --git a/libav

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/vp3: Don't try to decode VP4 when VP4 decoder is disabled

2021-05-08 Thread Peter Ross
On Sat, May 08, 2021 at 03:25:06AM +0200, Andreas Rheinhardt wrote: > Otherwise decoding will crash lateron; e.g. because dct_tokens > is never set or because a VLC that has not been allocated is used. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/vp3.c | 8 ++-- > 1 file changed,

[FFmpeg-devel] [PATCH] filters: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular (default) or youtube equiangular cubemap (eac) projection

2021-05-08 Thread Ronan .
>From 47c39e21f81b6536c96b91aebfd755e3f8a39463 Mon Sep 17 00:00:00 2001 From: Ronan LE MEILLAT Date: Sun, 9 May 2021 08:42:58 +0200 Subject: [PATCH] filters: Add an OpenCL filter for filtering GoPro Max native .360 files into standard equirectangular (default) or youtube equiangular cubemap (eac