FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
GPUEnv Struct Reference

Data Fields

int init_count
 
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 program_count
 
cl_program programs [MAX_KERNEL_CODE_NUM]
 
int kernel_code_count
 
KernelCode kernel_code [MAX_KERNEL_CODE_NUM]
 
int kernel_count
 
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.
 
AVOpenCLDeviceList device_list
 

Detailed Description

Definition at line 51 of file opencl.c.

Field Documentation

cl_command_queue GPUEnv::command_queue
cl_context GPUEnv::context
cl_device_id GPUEnv::device_id

Definition at line 58 of file opencl.c.

Referenced by compile_kernel_file(), and init_opencl_env().

int GPUEnv::device_idx

Definition at line 54 of file opencl.c.

Referenced by av_opencl_init(), and init_opencl_env().

AVOpenCLDeviceList GPUEnv::device_list

Definition at line 70 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().

cl_device_type GPUEnv::device_type

Definition at line 56 of file opencl.c.

Referenced by init_opencl_env().

int GPUEnv::init_count

Definition at line 52 of file opencl.c.

Referenced by av_opencl_init(), and av_opencl_uninit().

int GPUEnv::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 69 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().

KernelCode GPUEnv::kernel_code[MAX_KERNEL_CODE_NUM]

Definition at line 63 of file opencl.c.

Referenced by av_opencl_register_kernel_code(), and compile_kernel_file().

int GPUEnv::kernel_code_count

Definition at line 62 of file opencl.c.

Referenced by av_opencl_init(), av_opencl_register_kernel_code(), and compile_kernel_file().

int GPUEnv::kernel_count

Definition at line 64 of file opencl.c.

Referenced by av_opencl_create_kernel(), av_opencl_release_kernel(), and av_opencl_uninit().

cl_platform_id GPUEnv::platform_id

Definition at line 55 of file opencl.c.

Referenced by init_opencl_env().

int GPUEnv::platform_idx

Definition at line 53 of file opencl.c.

Referenced by av_opencl_init(), and init_opencl_env().

int GPUEnv::program_count

Definition at line 60 of file opencl.c.

Referenced by av_opencl_create_kernel(), av_opencl_uninit(), and compile_kernel_file().

cl_program GPUEnv::programs[MAX_KERNEL_CODE_NUM]

Definition at line 61 of file opencl.c.

Referenced by av_opencl_create_kernel(), av_opencl_uninit(), and compile_kernel_file().


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