FFmpeg
|
OpenCL device details. More...
#include <hwcontext_opencl.h>
Data Fields | |
cl_device_id | device_id |
The primary device ID of the device. More... | |
cl_context | context |
The OpenCL context which will contain all operations and frames on this device. More... | |
cl_command_queue | command_queue |
The default command queue for this device, which will be used by all frames contexts which do not have their own command queue. More... | |
OpenCL device details.
Allocated as AVHWDeviceContext.hwctx
Definition at line 63 of file hwcontext_opencl.h.
cl_device_id AVOpenCLDeviceContext::device_id |
The primary device ID of the device.
If multiple OpenCL devices are associated with the context then this is the one which will be used for all operations internal to FFmpeg.
Definition at line 69 of file hwcontext_opencl.h.
Referenced by avgblur_opencl_init(), convolution_opencl_init(), ff_opencl_filter_load_program(), neighbor_opencl_init(), opencl_check_extension(), opencl_device_create_internal(), opencl_device_init(), opencl_frames_get_constraints(), overlay_opencl_load(), program_opencl_load(), tonemap_opencl_init(), and unsharp_opencl_init().
cl_context AVOpenCLDeviceContext::context |
The OpenCL context which will contain all operations and frames on this device.
Definition at line 74 of file hwcontext_opencl.h.
Referenced by avgblur_opencl_init(), convolution_opencl_init(), convolution_opencl_make_filter_params(), ff_opencl_filter_load_program(), neighbor_opencl_init(), neighbor_opencl_make_filter_params(), opencl_device_create_internal(), opencl_device_free(), opencl_device_init(), opencl_frames_get_constraints(), opencl_pool_alloc(), overlay_opencl_load(), program_opencl_load(), tonemap_opencl_init(), unsharp_opencl_init(), and unsharp_opencl_make_filter_params().
cl_command_queue AVOpenCLDeviceContext::command_queue |
The default command queue for this device, which will be used by all frames contexts which do not have their own command queue.
If not intialised by the user, a default queue will be created on the primary device.
Definition at line 81 of file hwcontext_opencl.h.
Referenced by opencl_device_init().