diff options
author | highgod0401 <highgod0401@gmail.com> | 2013-04-11 08:57:52 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-11 14:46:34 +0400 |
commit | 9d442b9cc0347bf9fc9c753cda62df7f43842416 (patch) | |
tree | 2b176a8879d7c6dbc7b0a63197f768f671cb343e /doc | |
parent | 4c9b031559c6bd8a02ba12441476260323e84e0a (diff) |
opencl: add spec opencl device APIs 20130411
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/all-components.texi | 1 | ||||
-rw-r--r-- | doc/ffmpeg-utils.texi | 1 | ||||
-rw-r--r-- | doc/libavutil.texi | 1 | ||||
-rw-r--r-- | doc/opencl.texi | 20 |
4 files changed, 23 insertions, 0 deletions
diff --git a/doc/all-components.texi b/doc/all-components.texi index a0f113434d..6800db9e34 100644 --- a/doc/all-components.texi +++ b/doc/all-components.texi @@ -3,6 +3,7 @@ @ifset config-avutil @include syntax.texi @include eval.texi +@include opencl.texi @end ifset @ifset config-avcodec diff --git a/doc/ffmpeg-utils.texi b/doc/ffmpeg-utils.texi index c5822a8efc..d8f0d0d432 100644 --- a/doc/ffmpeg-utils.texi +++ b/doc/ffmpeg-utils.texi @@ -19,6 +19,7 @@ by the libavutil library. @include syntax.texi @include eval.texi +@include opencl.texi @chapter See Also diff --git a/doc/libavutil.texi b/doc/libavutil.texi index 50b0d0e3da..e48dd7f808 100644 --- a/doc/libavutil.texi +++ b/doc/libavutil.texi @@ -33,6 +33,7 @@ ffmpeg-utils(1) @end ifnothtml @include authors.texi +@include opencl.texi @ignore diff --git a/doc/opencl.texi b/doc/opencl.texi new file mode 100644 index 0000000000..40a7e3101f --- /dev/null +++ b/doc/opencl.texi @@ -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 |