summaryrefslogtreecommitdiff
path: root/libavutil/opencl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavutil/opencl.h')
-rw-r--r--libavutil/opencl.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavutil/opencl.h b/libavutil/opencl.h
index 96a3086b74..094c108a3c 100644
--- a/libavutil/opencl.h
+++ b/libavutil/opencl.h
@@ -155,6 +155,14 @@ AVOpenCLExternalEnv *av_opencl_alloc_external_env(void);
void av_opencl_free_external_env(AVOpenCLExternalEnv **ext_opencl_env);
/**
+ * Get OpenCL error string.
+ *
+ * @param status OpenCL error code
+ * @return OpenCL error string
+ */
+const char *av_opencl_errstr(cl_int status);
+
+/**
* Register kernel code.
*
* The registered kernel code is stored in a global context, and compiled