FFmpeg
Data Fields
OpenCLDeviceSelector Struct Reference

Data Fields

int platform_index
 
int device_index
 
void * context
 
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 463 of file hwcontext_opencl.c.

Field Documentation

◆ platform_index

int OpenCLDeviceSelector::platform_index

◆ device_index

int OpenCLDeviceSelector::device_index

Definition at line 465 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

◆ context

void* OpenCLDeviceSelector::context

Definition at line 466 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 467 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 471 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 475 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().

◆ filter_device

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

Definition at line 481 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().


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