diff options
author | highgod0401 <highgod0401@gmail.com> | 2013-04-28 08:47:20 +0800 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-05 13:44:29 +0200 |
commit | 548101b553cb6448d7019623b6e9d89811342748 (patch) | |
tree | 82a40cdfb5621139e211e4e7eaf59cef9882a6d1 /libavutil/opencl.h | |
parent | 097f668047c8dd6308217c244075b1f97d496116 (diff) | |
download | ffmpeg-548101b553cb6448d7019623b6e9d89811342748.tar.gz |
lavu/opencl: add opencl public error API
Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/opencl.h')
-rw-r--r-- | libavutil/opencl.h | 8 |
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 |