summaryrefslogtreecommitdiff
path: root/libavutil/cuda_check.h
Commit message (Collapse)AuthorAge
* avutil/log: Don't include avutil.hAndreas Rheinhardt2022-02-24
| | | | | | | | | | | | It has been included since af5f434f8c0fb3b4ee3b206ebc1946ca660a8abe for deprecation reasons, but removing it has been forgotten after it had served is purpose. So remove it. For convenience, include version.h instead as LIBAVUTIL_VERSION_INT is supposed to be used when creating AVClasses. Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* 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