2013-04-11 06:57:52 +02:00
|
|
|
@chapter OpenCL Options
|
|
|
|
@c man begin OPENCL OPTIONS
|
|
|
|
|
|
|
|
When FFmpeg is configured with @code{--enable-opencl}, it is possible
|
|
|
|
to set the options to set in the global OpenCL context. The list of
|
|
|
|
supported options follows:
|
|
|
|
|
|
|
|
@table @option
|
|
|
|
@item build_options
|
|
|
|
Set build options which used to compiled kernels, see reference "OpenCL Specification Version: 1.2 chapter 5.6.4"
|
|
|
|
|
|
|
|
@item platform_idx
|
2013-04-11 12:59:22 +02:00
|
|
|
Select platform to run OpenCL code, the platform_idx is the index of platform
|
|
|
|
in the device list which can be obtained with av_opencl_get_device_list().
|
2013-04-11 06:57:52 +02:00
|
|
|
|
|
|
|
@item device_idx
|
2013-04-11 12:59:22 +02:00
|
|
|
Select device to run OpenCL code, the device_idx is the index of device in
|
|
|
|
the device list which can be obtained with av_opencl_get_device_list().
|
2013-04-11 06:57:52 +02:00
|
|
|
|
|
|
|
@end table
|
|
|
|
|
|
|
|
@c man end OPENCL OPTIONS
|