summaryrefslogtreecommitdiff
path: root/libavutil/cuda_check.h
Commit message (Collapse)AuthorAge
* avutil/cuda_check: add missing dynlink_loader.h includeJames Almer2020-09-15
| | | | | | Fixes make checkheaders Signed-off-by: James Almer <jamrial@gmail.com>
* avutil/cuda_check: Fix non-dynamic-loader implementationPhilip Langdale2019-02-24
| | | | | | | | | The function typedefs we were using are only present when using the dynamic loader, which means compilation breaks for code directly using the cuda SDK. To fix this, let's just duplicate the function typedefs locally. These are not going to change.
* avutil/cuda_check: avoid pointlessly exporting same symbol from two librariesTimo Rothenpieler2019-02-14
|
* avutil/cuda_check: Make sure this passes make fate-sourcePhilip Langdale2018-11-17
| | | | | | | | The header guards were unnecessarily non-standard and the c file inclusion trick means the files dont't have standard licence headers. Based on a patch by: Martin Vignali <martin.vignali@gmail.com>
* 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