aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools/fragments/cuda.c
blob: 1d534f62d3c2f94cc26aabfde95a89f783428902 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#define CUDA_VERSION 7050

typedef void * CUcontext;

#include <libavcodec/avcodec.h>
#include <libavutil/hwcontext.h>
#include <libavutil/hwcontext_cuda.h>

int main(int argc, char *argv[]) {
    enum AVHWDeviceType type = AV_HWDEVICE_TYPE_CUDA;
    AVCUDADeviceContextInternal *foo;
    AVCodecContext *avctx = avcodec_alloc_context3(NULL);
    avctx->hw_device_ctx = NULL;
    return 0;
}