[FFmpeg-devel] [PATCH] avfilter: add OpenCL scale filter
ruiling.song at intel.com
Wed Mar 28 11:56:46 EEST 2018
> No license, can't use it. Shadertoy has no explicit license.
> Moreover the whole filter is incorrectly designed. Take a look at what mpv
> does and how it has no explicit per-algorithm scaling functions.
It is just a coincidence that I am also working on the OpenCL version scale filter. So I am very interested in further discussion.
I just attached my patch. It still has some problem with aspect ratio, and I only add bilinear filter, but with NV12 support.
Basically it is something like scale_cuda. Based on your comments. Seems I also mis-designed the filter:(
So could you talk a little bit more about your idea? Why per-algorithm scaling function seems not so good?
For the mpv, do you mean something like pass_sample_bicubic_fast() @ $mpv/video/out/gpu/video_shaders.c?
I have not read mpv code before, please forgive me if I am wrong.
I am not sure if anybody else has idea on how we should implement the OpenCL version scaler?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 18033 bytes
More information about the ffmpeg-devel