diff options
Diffstat (limited to 'waftools/fragments')
-rw-r--r-- | waftools/fragments/cuda.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/waftools/fragments/cuda.c b/waftools/fragments/cuda.c new file mode 100644 index 0000000000..c63ec2945d --- /dev/null +++ b/waftools/fragments/cuda.c @@ -0,0 +1,12 @@ +#define CUDA_VERSION 7050 + +typedef void * CUcontext; + +#include <libavutil/hwcontext.h> +#include <libavutil/hwcontext_cuda.h> + +int main(int argc, char *argv[]) { + enum AVHWDeviceType type = AV_HWDEVICE_TYPE_CUDA; + AVCUDADeviceContextInternal *foo; + return 0; +} |