You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
opencl: add spec opencl device APIs 20130411
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
4c9b031559
commit
9d442b9cc0
@@ -3,6 +3,7 @@
|
||||
@ifset config-avutil
|
||||
@include syntax.texi
|
||||
@include eval.texi
|
||||
@include opencl.texi
|
||||
@end ifset
|
||||
|
||||
@ifset config-avcodec
|
||||
|
||||
@@ -19,6 +19,7 @@ by the libavutil library.
|
||||
|
||||
@include syntax.texi
|
||||
@include eval.texi
|
||||
@include opencl.texi
|
||||
|
||||
@chapter See Also
|
||||
|
||||
|
||||
@@ -33,6 +33,7 @@ ffmpeg-utils(1)
|
||||
@end ifnothtml
|
||||
|
||||
@include authors.texi
|
||||
@include opencl.texi
|
||||
|
||||
@ignore
|
||||
|
||||
|
||||
20
doc/opencl.texi
Normal file
20
doc/opencl.texi
Normal file
@@ -0,0 +1,20 @@
|
||||
@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
|
||||
Select platform to run OpenCL code, the platform_idx is the index of platform in device list which can be getted by function av_opencl_get_device_list().
|
||||
|
||||
@item device_idx
|
||||
Select device to run OpenCL code, the device_idx is the index of device in device list which can be getted by function av_opencl_get_device_list().
|
||||
|
||||
@end table
|
||||
|
||||
@c man end OPENCL OPTIONS
|
||||
Reference in New Issue
Block a user