FFmpeg
Data Structures | Macros
hwcontext_cuda.h File Reference
#include <cuda.h>
#include <stdint.h>
#include "pixfmt.h"

Go to the source code of this file.

Data Structures

struct  AVCUDADeviceContext
 This struct is allocated as AVHWDeviceContext.hwctx. More...
 
struct  AVCUDAArrayFrameDescriptor
 CUDA frame descriptor for pool allocation of AV_PIX_FMT_CUARRAY frames. More...
 
struct  AVCUDAFramesContext
 This struct is allocated as AVHWFramesContext.hwctx. More...
 
struct  AVCUDAHWConfig
 CUDA hardware pipeline configuration details. More...
 

Macros

#define AV_CUDA_USE_PRIMARY_CONTEXT   (1 << 0)
 Use primary device context instead of creating a new one. More...
 
#define AV_CUDA_USE_CURRENT_CONTEXT   (1 << 1)
 Use current device context instead of creating a new one. More...
 

Detailed Description

An API-specific header for AV_HWDEVICE_TYPE_CUDA.

This API supports dynamic frame pools. AVHWFramesContext.pool must return AVBufferRefs whose data pointer is a CUdeviceptr.

Definition in file hwcontext_cuda.h.