> 
> 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.

Hi Rostislav,

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?

Thanks!
Ruiling



Attachment: 0001-lavf-add-scale_opencl-filter.patch
Description: 0001-lavf-add-scale_opencl-filter.patch

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to