FFmpeg
Data Fields
OpenclContext Struct Reference

Data Fields

const AVClassclass
 
int  log_offset
 
 
int  init_count
 
 
  if set to 1, the OpenCL environment was created by the user and passed as AVOpenCLExternalEnv when initing ,0:created by opencl wrapper.
 
int  platform_idx
 
int  device_idx
 
char *  build_options
 
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_count
 
 

Detailed Description

Definition at line 51 of file opencl.c.

Field Documentation

const AVClass* OpenclContext::class

Definition at line 52 of file opencl.c.

int OpenclContext::log_offset

Definition at line 53 of file opencl.c.

void* OpenclContext::log_ctx

Definition at line 54 of file opencl.c.

int OpenclContext::init_count

Definition at line 55 of file opencl.c.

Referenced by av_opencl_init(), and av_opencl_uninit().

int OpenclContext::opt_init_flag

Definition at line 56 of file opencl.c.

Referenced by av_opencl_init(), and av_opencl_set_option().

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 61 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().

int OpenclContext::platform_idx

Definition at line 62 of file opencl.c.

Referenced by init_opencl_env().

int OpenclContext::device_idx

Definition at line 63 of file opencl.c.

Referenced by init_opencl_env().

char* OpenclContext::build_options

Definition at line 64 of file opencl.c.

Referenced by compile_kernel_file().

cl_platform_id OpenclContext::platform_id

Definition at line 65 of file opencl.c.

Referenced by init_opencl_env().

cl_device_type OpenclContext::device_type

Definition at line 66 of file opencl.c.

Referenced by init_opencl_env().

cl_context OpenclContext::context

Definition at line 67 of file opencl.c.

Referenced by av_opencl_buffer_create(), av_opencl_uninit(), compile_kernel_file(), and init_opencl_env().

cl_device_id OpenclContext::device_id

Definition at line 68 of file opencl.c.

Referenced by compile_kernel_file(), and init_opencl_env().

cl_command_queue OpenclContext::command_queue

Definition at line 69 of file opencl.c.

Referenced by av_opencl_buffer_read(), av_opencl_buffer_read_image(), av_opencl_buffer_write(), av_opencl_buffer_write_image(), av_opencl_create_kernel(), av_opencl_uninit(), and init_opencl_env().

int OpenclContext::program_count

Definition at line 70 of file opencl.c.

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

cl_program OpenclContext::programs[MAX_KERNEL_CODE_NUM]

Definition at line 71 of file opencl.c.

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

int OpenclContext::kernel_code_count

Definition at line 72 of file opencl.c.

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

KernelCode OpenclContext::kernel_code[MAX_KERNEL_CODE_NUM]

Definition at line 73 of file opencl.c.

Referenced by av_opencl_register_kernel_code(), and compile_kernel_file().

int OpenclContext::kernel_count

Definition at line 74 of file opencl.c.

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

AVOpenCLDeviceList OpenclContext::device_list

Definition at line 75 of file opencl.c.

Referenced by av_opencl_uninit(), and init_opencl_env().


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

Generated on Wed Jul 10 2013 23:48:38 for FFmpeg by   doxygen 1.8.2

AltStyle によって変換されたページ (->オリジナル) /