FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
dynlink_cuda.h File Reference
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  CUDA_MEMCPY2D
 

Macros

#define AV_COMPAT_DYNLINK_CUDA_H
 
#define CUDA_VERSION   7050
 
#define CUDAAPI
 
#define CU_CTX_SCHED_BLOCKING_SYNC   4
 

Typedefs

typedef int CUdevice
 
typedef voidCUarray
 
typedef voidCUcontext
 
typedef voidCUstream
 
typedef unsigned int CUdeviceptr
 
typedef CUresult CUDAAPI tcuInit (unsigned int Flags)
 
typedef CUresult CUDAAPI tcuDeviceGetCount (int *count)
 
typedef CUresult CUDAAPI tcuDeviceGet (CUdevice *device, int ordinal)
 
typedef CUresult CUDAAPI tcuDeviceGetName (char *name, int len, CUdevice dev)
 
typedef CUresult CUDAAPI tcuDeviceComputeCapability (int *major, int *minor, CUdevice dev)
 
typedef CUresult CUDAAPI tcuCtxCreate_v2 (CUcontext *pctx, unsigned int flags, CUdevice dev)
 
typedef CUresult CUDAAPI tcuCtxPushCurrent_v2 (CUcontext *pctx)
 
typedef CUresult CUDAAPI tcuCtxPopCurrent_v2 (CUcontext *pctx)
 
typedef CUresult CUDAAPI tcuCtxDestroy_v2 (CUcontext ctx)
 
typedef CUresult CUDAAPI tcuMemAlloc_v2 (CUdeviceptr *dptr, size_t bytesize)
 
typedef CUresult CUDAAPI tcuMemFree_v2 (CUdeviceptr dptr)
 
typedef CUresult CUDAAPI tcuMemcpy2D_v2 (const CUDA_MEMCPY2D *pcopy)
 
typedef CUresult CUDAAPI tcuGetErrorName (CUresult error, const char **pstr)
 
typedef CUresult CUDAAPI tcuGetErrorString (CUresult error, const char **pstr)
 

Enumerations

enum  CUresult { CUDA_SUCCESS = 0 }
 
enum  CUmemorytype { CU_MEMORYTYPE_HOST = 1, CU_MEMORYTYPE_DEVICE = 2 }
 

Macro Definition Documentation

#define AV_COMPAT_DYNLINK_CUDA_H

Definition at line 29 of file dynlink_cuda.h.

#define CUDA_VERSION   7050

Definition at line 33 of file dynlink_cuda.h.

#define CUDAAPI

Definition at line 38 of file dynlink_cuda.h.

#define CU_CTX_SCHED_BLOCKING_SYNC   4

Definition at line 41 of file dynlink_cuda.h.

Referenced by cuda_device_create().

Typedef Documentation

typedef int CUdevice

Definition at line 43 of file dynlink_cuda.h.

typedef void* CUarray

Definition at line 44 of file dynlink_cuda.h.

typedef void* CUcontext

Definition at line 45 of file dynlink_cuda.h.

typedef void* CUstream

Definition at line 46 of file dynlink_cuda.h.

typedef unsigned int CUdeviceptr

Definition at line 50 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuInit(unsigned int Flags)

Definition at line 83 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuDeviceGetCount(int *count)

Definition at line 84 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuDeviceGet(CUdevice *device, int ordinal)

Definition at line 85 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuDeviceGetName(char *name, int len, CUdevice dev)

Definition at line 86 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuDeviceComputeCapability(int *major, int *minor, CUdevice dev)

Definition at line 87 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuCtxCreate_v2(CUcontext *pctx, unsigned int flags, CUdevice dev)

Definition at line 88 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuCtxPushCurrent_v2(CUcontext *pctx)

Definition at line 89 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuCtxPopCurrent_v2(CUcontext *pctx)

Definition at line 90 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuCtxDestroy_v2(CUcontext ctx)

Definition at line 91 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuMemAlloc_v2(CUdeviceptr *dptr, size_t bytesize)

Definition at line 92 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuMemFree_v2(CUdeviceptr dptr)

Definition at line 93 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuMemcpy2D_v2(const CUDA_MEMCPY2D *pcopy)

Definition at line 94 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuGetErrorName(CUresult error, const char **pstr)

Definition at line 95 of file dynlink_cuda.h.

typedef CUresult CUDAAPI tcuGetErrorString(CUresult error, const char **pstr)

Definition at line 96 of file dynlink_cuda.h.

Enumeration Type Documentation

enum CUresult
Enumerator
CUDA_SUCCESS 

Definition at line 53 of file dynlink_cuda.h.

Enumerator
CU_MEMORYTYPE_HOST 
CU_MEMORYTYPE_DEVICE 

Definition at line 57 of file dynlink_cuda.h.