2016-11-23 18:14:32 +00:00
|
|
|
#define CUDA_VERSION 7050
|
|
|
|
|
|
|
|
typedef void * CUcontext;
|
|
|
|
|
2017-09-26 21:20:08 +00:00
|
|
|
#include <libavcodec/avcodec.h>
|
2016-11-23 18:14:32 +00:00
|
|
|
#include <libavutil/hwcontext.h>
|
|
|
|
#include <libavutil/hwcontext_cuda.h>
|
|
|
|
|
|
|
|
int main(int argc, char *argv[]) {
|
|
|
|
enum AVHWDeviceType type = AV_HWDEVICE_TYPE_CUDA;
|
|
|
|
AVCUDADeviceContextInternal *foo;
|
2017-09-26 21:20:08 +00:00
|
|
|
AVCodecContext *avctx = avcodec_alloc_context3(NULL);
|
|
|
|
avctx->hw_device_ctx = NULL;
|
2016-11-23 18:14:32 +00:00
|
|
|
return 0;
|
|
|
|
}
|