FFmpeg
Data Fields
OpenCLDeviceSelector Struct Reference

Data Fields

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

Field Documentation

platform_index

int OpenCLDeviceSelector::platform_index

Definition at line 485 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), opencl_device_create_internal(), and opencl_device_derive().

device_index

int OpenCLDeviceSelector::device_index

Definition at line 486 of file hwcontext_opencl.c.

Referenced by opencl_device_create(), and opencl_device_create_internal().

context

void* OpenCLDeviceSelector::context

Definition at line 487 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 488 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 492 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 496 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 502 of file hwcontext_opencl.c.

Referenced by opencl_device_create_internal().


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

Generated on Thu Sep 26 2024 23:16:32 for FFmpeg by   doxygen 1.8.17

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