Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: properly handle cover image codecs

2018-06-02 Thread Michael Niedermayer
On Sat, Jun 02, 2018 at 03:35:33AM +0300, Timo Teras wrote: > On Sat, 2 Jun 2018 02:15:29 +0300 > Timo Teras wrote: > > > On Sat, 2 Jun 2018 00:46:30 +0200 > > Michael Niedermayer wrote: > > > > > input can be found here: > > >

[FFmpeg-devel] [PATCH] libavfilter/opencl.h: Add macro for setting opencl kernel arguments

2018-06-02 Thread Danil Iashchenko
--- libavfilter/opencl.h| 13 +++ libavfilter/vf_convolution_opencl.c | 43 ++--- 2 files changed, 19 insertions(+), 37 deletions(-) diff --git a/libavfilter/opencl.h b/libavfilter/opencl.h index c0a4519..16cdfbe 100644 ---

[FFmpeg-devel] [PATCH] lavfi/Makefile: move dnn_*.o under vf_srcnn

2018-06-02 Thread Jan Ekström
These files depend on libavformat, and the vf_srcnn filter currently is the only thing utilizing these dnn_* files and already happens to have a dependency on libavformat. This fixes compilation in cases where libavformat is not a dependency for libavfilter. Reported by Kam_ on IRC. ---

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread James Almer
On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > diff --git a/Changelog b/Changelog > index df2024fb59..a667fd045d 100644 > --- a/Changelog > +++ b/Changelog > @@ -11,6 +11,7 @@ version : > - support mbedTLS based TLS > - DNN inference interface > - Reimplemented SRCNN filter using DNN

Re: [FFmpeg-devel] [PATCH] doc/ffmpeg - rewrite Stream Selection chapter

2018-06-02 Thread Gyan Doshi
On 01-06-2018 01:16 PM, Gyan Doshi wrote: I'm fairly confident it will since @subheading also works online for developer.html, but not locally. However, this shouldn't be blocking your patch since it is an independent issue. Ok. Will push in a day or so. Thanks, Gyan Revised and pushed.

Re: [FFmpeg-devel] [PATCH] lavfi/Makefile: move dnn_*.o under vf_srcnn

2018-06-02 Thread Jan Ekström
On Sat, Jun 2, 2018 at 7:07 PM, Jan Ekström wrote: > These files depend on libavformat, and the vf_srcnn filter > currently is the only thing utilizing these dnn_* files and > already happens to have a dependency on libavformat. > > This fixes compilation in cases where libavformat is not a >

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2018-06-02 Thread Paul B Mahol
On 5/2/18, Paul B Mahol wrote: > On 9/11/16, Paul B Mahol wrote: >> On 9/10/16, Nicolas George wrote: >>> Le quartidi 24 fructidor, an CCXXIV, Paul B Mahol a ecrit : So everybody agrees, we should proceed. >>> >>> I am proceeding, but as you can see in the patch, there is still a fair >>>

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread James Almer
On 6/2/2018 3:45 PM, Sergey Lavrushkin wrote: > 2018-06-02 19:45 GMT+03:00 James Almer >: > > On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > > diff --git a/Changelog b/Changelog > > index df2024fb59..a667fd045d 100644 > > --- a/Changelog > > +++

Re: [FFmpeg-devel] [GSOC] [PATCH] TensorFlow backend introduction for DNN module

2018-06-02 Thread Sergey Lavrushkin
2018-06-02 19:45 GMT+03:00 James Almer : > On 5/31/2018 12:01 PM, Sergey Lavrushkin wrote: > > diff --git a/Changelog b/Changelog > > index df2024fb59..a667fd045d 100644 > > --- a/Changelog > > +++ b/Changelog > > @@ -11,6 +11,7 @@ version : > > - support mbedTLS based TLS > > - DNN inference

[FFmpeg-devel] [PATCH v2 1/4] lavu/hwcontext_opecl: fix the build warning

2018-06-02 Thread Jun Zhao
fix the build warning when use Portable Computing Language (pocl). Signed-off-by: Jun Zhao --- libavutil/hwcontext_opencl.c | 8 1 file changed, 8 insertions(+) diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index 43b5c5a..9ecc361 100644 ---

[FFmpeg-devel] [PATCH v2 3/4] configure: fix check for opencl

2018-06-02 Thread Jun Zhao
add pkg-config support for opencl check. Signed-off-by: Jun Zhao --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index 22eeca2..69b8827 100755 --- a/configure +++ b/configure @@ -6130,6 +6130,7 @@ enabled openal&& { { for al_extralibs in

[FFmpeg-devel] [PATCH v2 0/4] opencl misc clean

2018-06-02 Thread Jun Zhao
v2: - change the pkg-change support as James Almer's review. - split libmfx and opencl_vaapi_intel_media. Jun Zhao (4): lavu/hwcontext_opecl: fix the build warning lavfi/opencl: remove redundancy header. configure: fix check for opencl configure: fix check for

[FFmpeg-devel] [PATCH v2 2/4] lavfi/opencl: remove redundancy header.

2018-06-02 Thread Jun Zhao
remove redundancy header Signed-off-by: Jun Zhao --- libavfilter/opencl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c index ae61667..ac5eec6 100644 --- a/libavfilter/opencl.c +++ b/libavfilter/opencl.c @@ -19,12 +19,9 @@ #include #include

[FFmpeg-devel] [PATCH v2 4/4] configure: fix check for opencl_vaapi_intel_media.

2018-06-02 Thread Jun Zhao
opencl_vaapi_intel_media doesn't depend on libmfx, OpenCL™ Drivers and Runtimes for Intel® Architectureis is a standalone release, more information can be found in the link: https://software.intel.com/en-us/articles/opencl-drivers. Signed-off-by: Jun Zhao --- configure | 6 ++ 1 file

[FFmpeg-devel] [PATCH v3 1/4] lavu/hwcontext_opecl: fix the build warning

2018-06-02 Thread Jun Zhao
fix the build warning when use Portable Computing Language (pocl). Signed-off-by: Jun Zhao --- libavutil/hwcontext_opencl.c | 8 1 file changed, 8 insertions(+) diff --git a/libavutil/hwcontext_opencl.c b/libavutil/hwcontext_opencl.c index 43b5c5a..9ecc361 100644 ---

[FFmpeg-devel] [PATCH v3 2/4] lavfi/opencl: remove redundancy header.

2018-06-02 Thread Jun Zhao
remove redundancy header Signed-off-by: Jun Zhao --- libavfilter/opencl.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavfilter/opencl.c b/libavfilter/opencl.c index ae61667..ac5eec6 100644 --- a/libavfilter/opencl.c +++ b/libavfilter/opencl.c @@ -19,12 +19,9 @@ #include #include

Re: [FFmpeg-devel] [PATCH v2 3/4] configure: fix check for opencl

2018-06-02 Thread James Almer
On 6/2/2018 11:58 PM, Jun Zhao wrote: > add pkg-config support for opencl check. > > Signed-off-by: Jun Zhao > --- > configure | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/configure b/configure > index 22eeca2..69b8827 100755 > --- a/configure > +++ b/configure > @@ -6130,6 +6130,7

[FFmpeg-devel] [PATCH v3 3/4] configure: fix check for opencl

2018-06-02 Thread Jun Zhao
add pkg-config support for opencl check. Signed-off-by: Jun Zhao --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 22eeca2..ede32eb 100755 --- a/configure +++ b/configure @@ -6128,7 +6128,8 @@ enabled openal&& { { for

[FFmpeg-devel] [PATCH v3 4/4] configure: fix check for opencl_vaapi_intel_media.

2018-06-02 Thread Jun Zhao
opencl_vaapi_intel_media doesn't depend on libmfx, OpenCL™ Drivers and Runtimes for Intel® Architectureis is a standalone release, more information can be found in the link: https://software.intel.com/en-us/articles/opencl-drivers. Signed-off-by: Jun Zhao --- configure| 6

[FFmpeg-devel] [PATCH v3 0/4] opencl misc clean

2018-06-02 Thread Jun Zhao
v3: - Abandoned v2 patchset. - Change the pkg-config check as James Almer's comments. - Splite libmfx and opencl_vaapi_intel_media. Jun Zhao (4): lavu/hwcontext_opecl: fix the build warning lavfi/opencl: remove redundancy header. configure: fix check for opencl configure: fix

[FFmpeg-devel] [PATCH 2/2] avcodec/opus_silk: Change silk_lsf2lpc() slightly toward silk/NLSF2A.c

2018-06-02 Thread Michael Niedermayer
Fixes: runtime error: signed integer overflow: -1440457022 - 785819492 cannot be represented in type 'int' Fixes: 7700/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_OPUS_fuzzer-6595838684954624 Found-by: continuous fuzzing process

[FFmpeg-devel] [PATCH 1/2] avcodec/amrwbdec: Fix division by 0 in find_hb_gain()

2018-06-02 Thread Michael Niedermayer
This restructures the code slightly toward D_UTIL_dec_synthesis() Fixes: 7420/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AMRWB_fuzzer-6577305112543232 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer