FFmpeg  4.0
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 460 of file hwcontext_opencl.c.

Field Documentation

◆ platform_index

int OpenCLDeviceSelector::platform_index

◆ device_index

int OpenCLDeviceSelector::device_index

Definition at line 462 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

◆ context

void* OpenCLDeviceSelector::context

Definition at line 463 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

◆ enumerate_platforms

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

Definition at line 464 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().

◆ filter_platform

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

Definition at line 468 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().

◆ enumerate_devices

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 472 of file hwcontext_opencl.c.

◆ filter_device

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

Definition at line 478 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().


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