Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLenny Wang <lwanghpc@gmail.com>2013-12-09 07:01:00 +0400
committerMichael Niedermayer <michaelni@gmx.at>2013-12-10 00:21:36 +0400
commit64f73acd1d3853e55a7cd7631987dfd83c4171e7 (patch)
treecdb797b8e3dbe005c675d6ebab4f45cc94b49efd /cmdutils.h
parent8e702bd3a8f5a4271590ab5aa38a41087ceaab1b (diff)
cmdutils & opencl: add -opencl_bench option to test and show available OpenCL devices
Reviewed-by: Wei Gao <highgod0401@gmail.com> Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index b814961011..f4f23ef835 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -98,8 +98,12 @@ int opt_max_alloc(void *optctx, const char *opt, const char *arg);
int opt_codec_debug(void *optctx, const char *opt, const char *arg);
+#if CONFIG_OPENCL
int opt_opencl(void *optctx, const char *opt, const char *arg);
+int opt_opencl_bench(void *optctx, const char *opt, const char *arg);
+#endif
+
/**
* Limit the execution time.
*/