> I've been thinking about this for a while, but I only recently made the > realisation that compiling cuda kernels to the ptx format does not > introduce any non-free dependencies - the ptx files are an intermediate > assembly code format that is actually compiled to binary form at > runtime. With that understood, we just need to switch the remaining > users of the CUDA SDK to ffnvcodec and we will remove the non-free > entanglements from cuda. > > Philip Langdale (5): > configure: Add an explicit check and option for nvcc > avfilter/vf_yadif_cuda: Switch to using ffnvcodec > avfilter/vf_scale_cuda: Switch to using ffnvcodec > avfilter/vf_thumbnail_cuda: Switch to using ffnvcodec > configure: Remove cuda_sdk dependency option > > configure | 36 ++++++- > libavfilter/vf_scale_cuda.c | 168 +++++++++++++++++-------------- > libavfilter/vf_scale_cuda.cu | 73 +++++++------- > libavfilter/vf_thumbnail_cuda.c | 147 +++++++++++++++------------ > libavfilter/vf_thumbnail_cuda.cu | 25 +++-- > libavfilter/vf_yadif_cuda.c | 58 ++++++----- > 6 files changed, 281 insertions(+), 226 deletions(-) > > -- > 2.19.1
LGTM We've tested the yadif_cuda and scale_cuda filters after applying all patches and it's working fine. (Windows builds via MSYS2, CUDA SDK 8.0) --- softworkz _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel