summaryrefslogtreecommitdiff
path: root/libavfilter/vf_thumbnail_cuda.c
Commit message (Collapse)AuthorAge
* avfilter/vf_thumbnail_cuda: Switch to using ffnvcodecPhilip Langdale2019-02-27
| | | | | | | | | | | | | 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>
* avutil/hwcontext_cuda: Define and use common CHECK_CU()Philip Langdale2018-11-14
| | | | | | | | | | | | | | | | | | We have a pattern of wrapping CUDA calls to print errors and normalise return values that is used in a couple of places. To avoid duplication and increase consistency, let's put the wrapper implementation in a shared place and use it everywhere. Affects: * avcodec/cuviddec * avcodec/nvdec * avcodec/nvenc * avfilter/vf_scale_cuda * avfilter/vf_scale_npp * avfilter/vf_thumbnail_cuda * avfilter/vf_transpose_npp * avfilter/vf_yadif_cuda
* avfilter/*_cuda: don't include internal headerTimo Rothenpieler2018-10-21
| | | | It's not used, and pulls in the ffnvcodec header, which does not neccesarily have to exist to build these filters, since they include the full cuda.h.
* avfilter/vf_thumbnail_cuda: Avoid mixing declaration and statementsMichael Niedermayer2017-10-01
| | | | Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avfilter/thumbnail_cuda: add cuda thumbnail filterYogender Gupta2017-09-22
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>