FFmpeg  3.3.9
Data Fields
OpenclContext Struct Reference

Data Fields

const AVClassclass
 
int log_offset
 
voidlog_ctx
 
int init_count
 
int opt_init_flag
 
int is_user_created
 if set to 1, the OpenCL environment was created by the user and passed as AVOpenCLExternalEnv when initing ,0:created by opencl wrapper. More...
 
int platform_idx
 
int device_idx
 
cl_platform_id platform_id
 
cl_device_type device_type
 
cl_context context
 
cl_device_id device_id
 
cl_command_queue command_queue
 
int kernel_code_count
 
KernelCode kernel_code [MAX_KERNEL_CODE_NUM]
 
AVOpenCLDeviceList device_list
 

Detailed Description

Definition at line 49 of file opencl.c.

Field Documentation

◆ class

const AVClass* OpenclContext::class

Definition at line 50 of file opencl.c.

◆ log_offset

int OpenclContext::log_offset

Definition at line 51 of file opencl.c.

◆ log_ctx

void* OpenclContext::log_ctx

Definition at line 52 of file opencl.c.

◆ init_count

int OpenclContext::init_count

Definition at line 53 of file opencl.c.

Referenced by av_opencl_init(), and av_opencl_uninit().

◆ opt_init_flag

int OpenclContext::opt_init_flag

Definition at line 54 of file opencl.c.

Referenced by av_opencl_init(), and av_opencl_set_option().

◆ is_user_created

int OpenclContext::is_user_created

if set to 1, the OpenCL environment was created by the user and passed as AVOpenCLExternalEnv when initing ,0:created by opencl wrapper.

Definition at line 59 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().

◆ platform_idx

int OpenclContext::platform_idx

Definition at line 60 of file opencl.c.

Referenced by init_opencl_env().

◆ device_idx

int OpenclContext::device_idx

Definition at line 61 of file opencl.c.

Referenced by init_opencl_env().

◆ platform_id

cl_platform_id OpenclContext::platform_id

Definition at line 62 of file opencl.c.

Referenced by init_opencl_env().

◆ device_type

cl_device_type OpenclContext::device_type

Definition at line 63 of file opencl.c.

Referenced by init_opencl_env().

◆ context

cl_context OpenclContext::context

◆ device_id

cl_device_id OpenclContext::device_id

Definition at line 65 of file opencl.c.

Referenced by av_opencl_compile(), and init_opencl_env().

◆ command_queue

cl_command_queue OpenclContext::command_queue

◆ kernel_code_count

int OpenclContext::kernel_code_count

◆ kernel_code

KernelCode OpenclContext::kernel_code[MAX_KERNEL_CODE_NUM]

Definition at line 68 of file opencl.c.

Referenced by av_opencl_compile(), av_opencl_register_kernel_code(), and av_opencl_uninit().

◆ device_list

AVOpenCLDeviceList OpenclContext::device_list

Definition at line 69 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().


The documentation for this struct was generated from the following file: