Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-18 Thread Timo Rothenpieler
FWIW there are non-nvcc cuda compilers that run on Windows, like clang. http://llvm.org/docs/CompileCudaWithLLVM.html As this needs nonfree anyway, it might as well use NVRTC and compile the code at runtime, same way OpenCL does it. That's probably even easier than fiddling with integrating

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-18 Thread Alex Converse
On Mon, Apr 17, 2017 at 2:51 PM, Timo Rothenpieler wrote: >>> I'm generally in favor of adding CUDA based filtering, there's a lot of >>> nice stuff that could be done that way. >>> >>> But there is one big issue with this approach: >>> >>> Having to run a .bat file prior

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread Timo Rothenpieler
I'm generally in favor of adding CUDA based filtering, there's a lot of nice stuff that could be done that way. But there is one big issue with this approach: Having to run a .bat file prior to building isn't really nice, and not something I and some other people on IRC would like to see in

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread wm4
On Mon, 17 Apr 2017 12:22:00 +0200 Timo Rothenpieler wrote: > Am 17.04.2017 um 08:59 schrieb Yogender Gupta: > >>> Please find attached a CUDA based scale filter. This filter will be a > >>> starting point to add other CUDA based filters. The filter supports > >>> 420-8,

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread Timo Rothenpieler
Having to run a .bat file prior to building isn't really nice, and not something I and some other people on IRC would like to see in ffmpeg. Instead, it would be nice if configure/make would learn how to handle .cu files, converting them straight to an object-file. My idea for this would be

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread Yogender Gupta
>> Having to run a .bat file prior to building isn't really nice, and not >> something I and some other people on IRC would like to see in ffmpeg. >> Instead, it would be nice if configure/make would learn how to handle .cu >> files, converting them straight to an object-file. >> My idea for

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread Timo Rothenpieler
Am 17.04.2017 um 08:59 schrieb Yogender Gupta: Please find attached a CUDA based scale filter. This filter will be a starting point to add other CUDA based filters. The filter supports 420-8, 420-10, 444-8, 444-10 formats and will help to do complete 10-bit HW accelerated transcoding when

Re: [FFmpeg-devel] Patch for CUDA Scale Filter

2017-04-17 Thread Yogender Gupta
>> Please find attached a CUDA based scale filter. This filter will be a >> starting point to add other CUDA based filters. The filter supports 420-8, >> 420-10, 444-8, 444-10 formats and will help to do complete 10-bit HW >> accelerated transcoding when using >> CUVID. >> Currently the filter