Re: [FFmpeg-devel] [PATCH v6] avfilter: add OpenCL scale filter

2018-04-12 Thread Gabriel Machado
you intentionally need double precision, it is ok to leave it as it is. > There are also some other places like this in the OpenCL file. Changed to floating point constants, thanks. - Gabriel From b5cbdef9abc3727e1456915e50bbf1d9c87751d7 Mon Sep 17 00:00:00 2001 From: Gabriel Machado Da

Re: [FFmpeg-devel] [PATCH v5] avfilter: add OpenCL scale filter

2018-03-31 Thread Gabriel Machado
On 3/31/18 10:08 PM Michael Niedermayer wrote: > doesnt apply anymore Fixed. From 2b78da0f9d2e49d3ae5d5c8c751371666ded85f3 Mon Sep 17 00:00:00 2001 From: Gabriel Machado Date: Sat, 31 Mar 2018 23:03:18 -0300 Subject: [PATCH] avfilter: add OpenCL scale filter --- config

[FFmpeg-devel] [PATCH v4] avfilter: add OpenCL scale filter

2018-03-30 Thread Gabriel Machado
From: Gabriel Machado Implemented the scaling filters using discrete convolution and ported most of the filters from libswscale. --- configure | 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/opencl/scale.cl | 67

[FFmpeg-devel] [PATCH v3] avfilter: add OpenCL scale filter

2018-03-27 Thread Gabriel Machado
, scale2ref, vf); diff --git a/libavfilter/opencl/scale.cl b/libavfilter/opencl/scale.cl new file mode 100644 index 000..777344e --- /dev/null +++ b/libavfilter/opencl/scale.cl @@ -0,0 +1,113 @@ +/* + * Copyright (c) 2018 Gabriel Machado + * + * This file is part of FFmpeg. + * + * FF

[FFmpeg-devel] [PATCH v2 RESEND] avfilter: add OpenCL scale filter

2018-03-27 Thread Gabriel Machado
ilter/opencl/scale.cl @@ -0,0 +1,111 @@ +/* + * Copyright (c) 2018 Gabriel Machado + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundatio

[FFmpeg-devel] [PATCH v2] avfilter: add OpenCL scale filter

2018-03-27 Thread Gabriel Machado
100644 index 000..3436694 --- /dev/null +++ b/libavfilter/opencl/scale.cl @@ -0,0 +1,111 @@ +/* + * Copyright (c) 2018 Gabriel Machado + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Publi

[FFmpeg-devel] [PATCH] avfilter: add OpenCL scale filter

2018-03-26 Thread Gabriel Machado
From: Gabriel Machado Some scaling filters implemented as OpenCL kernels. Can be used as: scale_opencl=::flags= where can be `neighbor', `bilinear', `bicubic' or `fast_bicubic' This is an initial draft, there's still a long way to go in terms of completeness, config