123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- #ifndef AVUTIL_HWCONTEXT_CUDA_H
- #define AVUTIL_HWCONTEXT_CUDA_H
- #ifndef CUDA_VERSION
- #include <cuda.h>
- #endif
- #include "pixfmt.h"
- typedef struct AVCUDADeviceContextInternal AVCUDADeviceContextInternal;
- typedef struct AVCUDADeviceContext {
- CUcontext cuda_ctx;
- CUstream stream;
- AVCUDADeviceContextInternal *internal;
- } AVCUDADeviceContext;
- #define AV_CUDA_USE_PRIMARY_CONTEXT (1 << 0)
- #endif
|