avfilter/vf_thumbnail_cuda: Switch to using ffnvcodec
authorPhilip Langdale <philipl@overt.org>
Thu, 21 Feb 2019 03:57:52 +0000 (19:57 -0800)
committerTimo Rothenpieler <timo@rothenpieler.org>
Wed, 27 Feb 2019 17:03:17 +0000 (18:03 +0100)
commitb4c9c09915de8ffaa4a2d2606e85729afa6c4e8e
treecb701f8d84c90c8f47f10045df00620031401d73
parent2544c7ea67ca9521c5de36396bc9ac7058223742
avfilter/vf_thumbnail_cuda: Switch to using ffnvcodec

This change switches the vf_thumbnail_cuda filter from using the
full cuda sdk to using the ffnvcodec headers and loader.

Most of the change is a direct mapping, but I also switched from
using texture references to using texture objects. This is supposed
to be the preferred way of using textures, and the texture object API
is the one I added to ffnvcodec.

Signed-off-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
configure
libavfilter/vf_thumbnail_cuda.c
libavfilter/vf_thumbnail_cuda.cu