Commit 9ae9ae10 authored by Stefano Sabatini's avatar Stefano Sabatini

doc/utils: apply misc fixes to OpenCL docs

parent 949c8627
...@@ -565,20 +565,27 @@ indication of the corresponding powers of 10 and of 2. ...@@ -565,20 +565,27 @@ indication of the corresponding powers of 10 and of 2.
@c man begin OPENCL OPTIONS @c man begin OPENCL OPTIONS
When FFmpeg is configured with @code{--enable-opencl}, it is possible 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 to set the options for the global OpenCL context.
supported options follows:
The list of supported options follows:
@table @option @table @option
@item build_options @item build_options
Set build options which used to compiled kernels, see reference "OpenCL Specification Version: 1.2 chapter 5.6.4" Set build options used to compile the registered kernels.
See reference "OpenCL Specification Version: 1.2 chapter 5.6.4".
@item platform_idx @item platform_idx
Select platform to run OpenCL code, the platform_idx is the index of platform Select the index of the platform to run OpenCL code.
in the device list which can be obtained with av_opencl_get_device_list().
The specified index must be one of the indexes in the device list
which can be obtained with av_opencl_get_device_list().
@item device_idx @item device_idx
Select device to run OpenCL code, the device_idx is the index of device in Select the index of the device used to run OpenCL code.
the device list which can be obtained with av_opencl_get_device_list().
The specifed index must be one of the indexes in the device list which
can be obtained with av_opencl_get_device_list().
@end table @end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment