Am 10.05.2017 um 19:26 schrieb Yogender Gupta:
Please find attached a patch for CUDA Scale Filter. I have modified the 
makefiles as suggested during the previous reviews to have all PTX generated 
during compile time.

Common.mak has changes for PTX generation
Ptx2c.sh has been added in ffbuild folder. This is needed to covert PTX to C
Users would be required to only include .c and .cu files when adding new CUDA 
filters.

I enhanced the patch a bit following my own comments, you can see the latest version on my Github:
https://github.com/BtbN/FFmpeg/commit/cuscale
https://github.com/BtbN/FFmpeg/commit/cuscale.patch

Out-Of-Tree builds work now, make Output follows normal style, compile warnings are gone, changed common.mak logic a bit, make nvcc configurable.

I'd like someone else to review those configure/Makefile changes, as I'm far from an expert on those.
It seems to work fine for me though.

I still plan to move the NVCCFLAGS to configure, so they are user-configurable as well.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to