FFmpeg
Macros
Device context creation flags

Flags for av_hwdevice_ctx_create. 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

Flags for av_hwdevice_ctx_create.

Macro Definition Documentation

◆ AV_CUDA_USE_PRIMARY_CONTEXT

#define AV_CUDA_USE_PRIMARY_CONTEXT   (1 << 0)

Use primary device context instead of creating a new one.

Definition at line 135 of file hwcontext_cuda.h.

◆ AV_CUDA_USE_CURRENT_CONTEXT

#define AV_CUDA_USE_CURRENT_CONTEXT   (1 << 1)

Use current device context instead of creating a new one.

Definition at line 140 of file hwcontext_cuda.h.