Re: [FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-11-27 Thread Dylan Fernando
On Sun, Sep 5, 2021 at 8:37 AM Timo Rothenpieler wrote: > On 05.09.2021 20:02, Dylan Fernando wrote: > > > > Impossible to convert between the formats supported by the filter 'graph > 0 > > input from stream 0:0' and the filter 'auto_scale_0' >

Re: [FFmpeg-devel] [PATCH v3] lavfi: add nlmeans CUDA filter

2021-11-16 Thread Dylan Fernando
On Sun, 7 Nov 2021 at 4:38 am, Dylan Fernando wrote: > > > On Sat, Nov 6, 2021 at 10:34 AM Dylan Fernando > wrote: > >> nlmeans CUDA filter >> >> >> >> removed query_formats >> > Anybody have any feedback for this? __

Re: [FFmpeg-devel] [PATCH v3] lavfi: add nlmeans CUDA filter

2021-11-05 Thread Dylan Fernando
On Sat, Nov 6, 2021 at 10:34 AM Dylan Fernando wrote: > nlmeans CUDA filter > > > > removed query_formats > From 45dcc1bdc00657bb3613500e131b6fdeb64ac318 Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Sat, 6 Nov 2021 17:33:48 + Subject: [PATCH] lavfi: add nlmeans_c

[FFmpeg-devel] [PATCH v3] lavfi: add nlmeans CUDA filter

2021-11-05 Thread Dylan Fernando
nlmeans CUDA filter From f4c332c308865a33d42c8a2dfe251625506a30f0 Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Sat, 6 Nov 2021 10:30:15 + Subject: [PATCH] lavfi: add nlmeans_cuda filter Signed-off-by: Dylan Fernando --- configure | 2 + doc/filters.texi

Re: [FFmpeg-devel] [PATCH v3] lavfi: add nlmeans CUDA filter

2021-09-22 Thread Dylan Fernando
Any feedback for this? ___ 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 v3] lavfi: add nlmeans CUDA filter

2021-09-08 Thread Dylan Fernando
From f8b8a250a2c4b092747d632adc7dafccfc474140 Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Wed, 8 Sep 2021 18:19:40 + Subject: [PATCH] lavfi: add nlmeans_cuda filter Signed-off-by: Dylan Fernando --- configure | 2 + doc/filters.texi | 4

Re: [FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-09-05 Thread Dylan Fernando
On Sat, Sep 4, 2021 at 10:43 AM Timo Rothenpieler wrote: > On 04.09.2021 22:03, Dylan Fernando wrote: > > On Thu, Sep 2, 2021 at 4:25 PM Timo Rothenpieler > > wrote: > > > >> On 02.09.2021 15:32, Timo Rothenpieler wrote: > >>> On 02.09.2021 19:50,

Re: [FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-09-04 Thread Dylan Fernando
On Thu, Sep 2, 2021 at 4:25 PM Timo Rothenpieler wrote: > On 02.09.2021 15:32, Timo Rothenpieler wrote: > > On 02.09.2021 19:50, Dylan Fernando wrote: > >> I want to add support for the other formats, but I'm not sure how to > find > >> video files to t

[FFmpeg-devel] [PATCH v2] lavfi: add nlmeans CUDA filter

2021-09-02 Thread Dylan Fernando
X_FMT_P016, AV_PIX_FMT_YUV444P16). From 9183993c6b31560ed21fe9dd4c06f7e01735d903 Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Thu, 2 Sep 2021 17:31:49 + Subject: [PATCH] lavfi: add nlmeans_cuda filter Signed-off-by: Dylan Fernando --- configure | 2 + doc/fi

Re: [FFmpeg-devel] [PATCH v1] lavfi: add nlmeans CUDA filter

2021-08-15 Thread Dylan Fernando
On Sat, Aug 14, 2021 at 1:03 PM Timo Rothenpieler wrote: > On 14.08.2021 07:49, Dylan Fernando wrote: > > On Sat, Aug 14, 2021 at 9:11 AM Timo Rothenpieler > > > wrote: > > > >> On 13.08.2021 10:42, Dylan Fernando wrote: > >>> Any update o

Re: [FFmpeg-devel] [PATCH v1] lavfi: add nlmeans CUDA filter

2021-08-13 Thread Dylan Fernando
On Sat, Aug 14, 2021 at 9:11 AM Timo Rothenpieler wrote: > On 13.08.2021 10:42, Dylan Fernando wrote: > > Any update on this? > > > > Kind Regards, > > Dylan > > Also, are you sure that exp() function is correct? > > The CUDA-Function exp() is defined as

Re: [FFmpeg-devel] [PATCH v1] lavfi: add nlmeans CUDA filter

2021-08-13 Thread Dylan Fernando
Any update on this? Kind Regards, Dylan ___ 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 v1] lavfi: add nlmeans CUDA filter

2021-07-27 Thread Dylan Fernando
From 2ddd2f5e0d9559bbbf46de3d7cfb7ffbbdbefceb Mon Sep 17 00:00:00 2001 From: Dylan Fernando Date: Tue, 27 Jul 2021 19:25:59 + Subject: [PATCH] lavfi: add nlmeans_cuda filter --- compat/cuda/cuda_runtime.h | 1 + configure | 2 + doc/filters.texi

Re: [FFmpeg-devel] Unable to use sqrt() and exp() in CUDA

2021-06-28 Thread Dylan Fernando
I've only been including vector_helpers.cuh in the .cu file. I think cuda.h is being included because I include libavutil/hwcontext_cuda_internal.h in the c file. I was looking at vf_thumbnail_cuda.c for reference and I copied the line #include "libavutil/hwcontext_cuda_internal.h". __

Re: [FFmpeg-devel] Unable to use sqrt() and exp() in CUDA

2021-06-26 Thread Dylan Fernando
Yeah, I was using enable-cuda-llvm. I haven't been including cuda.h in my cuda file. Could it be from the include in hwcontext_cuda.h possibly? I was using: PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure --enable-opencl --enable-vulkan --enable-libglslang --disable-stripping --e

[FFmpeg-devel] Unable to use sqrt() and exp() in CUDA

2021-06-25 Thread Dylan Fernando
I can't seem to be able to use exp() and sqrt() in CUDA. I get: NVCClibavfilter/try_cuda.ptx clang-11: warning: Unknown CUDA version. cuda.h: CUDA_VERSION=11030. Assuming the latest supported version 10.1 [-Wunknown-cuda-version] libavfilter/try_cuda.cu:39:19: error: use of undeclared identif

Re: [FFmpeg-devel] Unable to compile with cuda

2021-05-24 Thread Dylan Fernando
On Sun, May 23, 2021 at 3:03 PM Dennis Mungai wrote: > On Sun, 23 May 2021 at 15:08, Dylan Fernando wrote: > > > I got it to work, with --enable-cuda as well, using: > > > > PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure > > --enable-op

Re: [FFmpeg-devel] Unable to compile with cuda

2021-05-23 Thread Dylan Fernando
I got it to work, with --enable-cuda as well, using: PKG_CONFIG_PATH="/home/dylan/Files/nv-codec-headers" ./configure --enable-opencl --enable-vulkan --enable-libglslang --disable-stripping --enable-nonfree --enable-cuda --enable-cuda-nvcc --extra-cflags=-I/opt/local/cuda/include --nvccflags="-gen

[FFmpeg-devel] Segmentation fault when running vulkan

2021-05-14 Thread Dylan Fernando
When running vulkan on arch linux, I get a segmentation fault. Command: ffmpeg -v verbose -init_hw_device vulkan=gpu:0.0 -filter_hw_device gpu -i atm.mp4 -filter_complex hwupload,avgblur_vulkan,hwdownload atmvulk.mp4 -loglevel debug Output: ffmpeg version N-102515-g175f675f7b Copyright (c) 2000-20

Re: [FFmpeg-devel] [PATCHv2] lavfi: add gblur_opencl filter

2019-05-12 Thread Dylan Fernando
On Sun, May 12, 2019 at 10:47 PM Paul B Mahol wrote: > On 5/8/19, Song, Ruiling wrote: > > > > > >> -Original Message- > >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > >> Of Dylan Fernando > >> Sent:

Re: [FFmpeg-devel] [PATCHv2] lavfi: add gblur_opencl filter

2019-05-06 Thread Dylan Fernando
Anyone have any comments/feedback? On Sat, 27 Apr 2019 at 1:05 am, Dylan Fernando wrote: > --- > configure | 1 + > doc/filters.texi | 28 > libavfilter/Makefile | 2 + > libavfilter/allfilters.c | 1 + > libavfilt

Re: [FFmpeg-devel] [PATCH] lavfi: add gblur_opencl filter

2019-05-02 Thread Dylan Fernando
On Thu, May 2, 2019 at 11:27 PM Paul B Mahol wrote: > On 5/2/19, Dylan Fernando wrote: > > On Tue, 30 Apr 2019 at 11:45 pm, Paul B Mahol wrote: > > > >> On 4/30/19, Dylan Fernando wrote: > >> > > >> > Anyone have any feedback? > >>

Re: [FFmpeg-devel] [PATCH] lavfi: add gblur_opencl filter

2019-05-02 Thread Dylan Fernando
On Tue, 30 Apr 2019 at 11:45 pm, Paul B Mahol wrote: > On 4/30/19, Dylan Fernando wrote: > > > > Anyone have any feedback? > > If I'm not mistaken there is already one available. > ___ > ffmpeg-devel mailing list &

Re: [FFmpeg-devel] [PATCH] lavfi: add gblur_opencl filter

2019-04-30 Thread Dylan Fernando
On Thu, 25 Apr 2019 at 10:42 pm, Dylan Fernando wrote: > --- > configure | 1 + > libavfilter/Makefile | 2 + > libavfilter/allfilters.c | 1 + > libavfilter/opencl/gblur.cl | 62 +++ > libavfilter/opencl_source.h |

[FFmpeg-devel] [PATCHv2] lavfi: add gblur_opencl filter

2019-04-26 Thread Dylan Fernando
_vf_geq; extern AVFilter ff_vf_gradfun; extern AVFilter ff_vf_graphmonitor; diff --git a/libavfilter/opencl/gblur.cl b/libavfilter/opencl/gblur.cl new file mode 100644 index 00..4fece30d4a --- /dev/null +++ b/libavfilter/opencl/gblur.cl @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2018 Dylan Fernando

[FFmpeg-devel] [PATCH] lavfi: add gblur_opencl filter

2019-04-25 Thread Dylan Fernando
b/libavfilter/opencl/gblur.cl new file mode 100644 index 00..4fece30d4a --- /dev/null +++ b/libavfilter/opencl/gblur.cl @@ -0,0 +1,62 @@ +/* + * Copyright (c) 2018 Dylan Fernando + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify

Re: [FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-26 Thread Dylan Fernando
On Fri, Mar 23, 2018 at 9:10 PM, Carl Eugen Hoyos wrote: > 2018-03-21 14:09 GMT+01:00, Dylan Fernando : > > > What information should I put in my GSoC application? How should I > > structure it? Should I give a rough timeline detailing exactly which > color > > conver

Re: [FFmpeg-devel] [PATCH] vf_avgblur_opencl: Don't run kernel on pixels outside the image

2018-03-25 Thread Dylan Fernando
On Sun, Mar 25, 2018 at 1:06 AM, Mark Thompson wrote: > The output frame size is larger than the image containing a subsampled > plane - use the actual size of the image being written rather than the > dimensions of the intended output frame. > --- > libavfilter/vf_avgblur_opencl.c | 12

Re: [FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-21 Thread Dylan Fernando
; > REGISTER_FILTER(AVGBLUR,avgblur,vf); > > +REGISTER_FILTER(AVGBLUR_OPENCL, avgblur_opencl, vf); > > REGISTER_FILTER(BBOX, bbox, vf); > > REGISTER_FILTER(BENCH, bench, vf); > > REGISTER_FI

Re: [FFmpeg-devel] [PATCH] lavfi: Add OpenCL avgblur filter

2018-03-18 Thread Dylan Fernando
; > REGISTER_FILTER(AVGBLUR,avgblur,vf); > > +REGISTER_FILTER(AVGBLUR_OPENCL, avgblur_opencl, vf); > > REGISTER_FILTER(BBOX, bbox, vf); > > REGISTER_FILTER(BENCH, bench, vf); > > REGISTER_FI

[FFmpeg-devel] [PATCH] libavfilter/vf_avgblur_opencl.c: add openCL version of libavfilter/vf_avgblur.c filter

2018-03-14 Thread Dylan Fernando
[master 319e56f87c] lavfi: Add OpenCL avgblur filter 6 files changed, 381 insertions(+) create mode 100644 libavfilter/opencl/avgblur.cl create mode 100644 libavfilter/vf_avgblur_opencl.c diff --git a/configure b/configure index fe81ba31b5..203737615c 100755 --- a/configure +++ b/configure @@ -

Re: [FFmpeg-devel] GSoC

2018-03-14 Thread Dylan Fernando
On Sun, Mar 11, 2018 at 10:18 PM, Mark Thompson wrote: > On 11/03/18 04:36, Dylan Fernando wrote: > > On Thu, Mar 8, 2018 at 8:57 AM, Mark Thompson wrote: > > > >> On 07/03/18 03:56, Dylan Fernando wrote: > >>> Thanks, it works now > >>> >

Re: [FFmpeg-devel] GSoC

2018-03-14 Thread Dylan Fernando
On Thu, Mar 15, 2018 at 12:08 PM, Dylan Fernando wrote: > > > On Sun, Mar 11, 2018 at 10:18 PM, Mark Thompson wrote: > >> On 11/03/18 04:36, Dylan Fernando wrote: >> > On Thu, Mar 8, 2018 at 8:57 AM, Mark Thompson wrote: >> > >> >> On 07/03/1

Re: [FFmpeg-devel] GSoC

2018-03-10 Thread Dylan Fernando
On Thu, Mar 8, 2018 at 8:57 AM, Mark Thompson wrote: > On 07/03/18 03:56, Dylan Fernando wrote: > > Thanks, it works now > > > > Would trying to implement an OpenCL version of vf_fade be a good idea > for a > > qualification task, or would it be a better id

Re: [FFmpeg-devel] GSoC

2018-03-06 Thread Dylan Fernando
Thanks, it works now Would trying to implement an OpenCL version of vf_fade be a good idea for a qualification task, or would it be a better idea to try a different filter? Regards, Dylan On Wed, Mar 7, 2018 at 1:20 AM, Mark Thompson wrote: > On 06/03/18 12:37, Dylan Fernando wrote: >

[FFmpeg-devel] GSoC

2018-03-06 Thread Dylan Fernando
Hi, I am Dylan Fernando. I am a Computer Science student from Australia. I am new to FFmpeg and I wish to apply for GSoC this year. I would like to do the Video filtering with OpenCL project and I have a few questions. Would trying to implement an opencl version of vf_fade be a good idea for the