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

Data Fields

int platform_index
 
int device_index
 
voidcontext
 
int(* enumerate_platforms )(AVHWDeviceContext *hwdev, cl_uint *nb_platforms, cl_platform_id **platforms, void *context)
 
int(* filter_platform )(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context)
 
int(* enumerate_devices )(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context)
 
int(* filter_device )(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context)
 

Detailed Description

Definition at line 452 of file hwcontext_opencl.c.

Field Documentation

int OpenCLDeviceSelector::platform_index
int OpenCLDeviceSelector::device_index

Definition at line 454 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

void* OpenCLDeviceSelector::context

Definition at line 455 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

int(* OpenCLDeviceSelector::enumerate_platforms)(AVHWDeviceContext *hwdev, cl_uint *nb_platforms, cl_platform_id **platforms, void *context)

Definition at line 456 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().

int(* OpenCLDeviceSelector::filter_platform)(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, void *context)

Definition at line 460 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().

int(* OpenCLDeviceSelector::enumerate_devices)(AVHWDeviceContext *hwdev, cl_platform_id platform_id, const char *platform_name, cl_uint *nb_devices, cl_device_id **devices, void *context)

Definition at line 464 of file hwcontext_opencl.c.

int(* OpenCLDeviceSelector::filter_device)(AVHWDeviceContext *hwdev, cl_device_id device_id, const char *device_name, void *context)

Definition at line 470 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().


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