[FFmpeg-cvslog] lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()
James Almer
git at videolan.org
Tue Aug 12 04:02:12 CEST 2014
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Mon Aug 11 16:35:39 2014 -0300| [744f15b6b3801dc008e767be0846bad55b62444f] | committer: Michael Niedermayer
lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()
It was wrongly being exported and used by libavfilter.
Signed-off-by: James Almer <jamrial at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=744f15b6b3801dc008e767be0846bad55b62444f
---
libavfilter/deshake_opencl.c | 4 ++--
libavfilter/unsharp_opencl.c | 6 +++---
libavutil/opencl_internal.c | 2 +-
libavutil/opencl_internal.h | 2 +-
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavfilter/deshake_opencl.c b/libavfilter/deshake_opencl.c
index c66103c..2821248 100644
--- a/libavfilter/deshake_opencl.c
+++ b/libavfilter/deshake_opencl.c
@@ -57,7 +57,7 @@ int ff_opencl_transform(AVFilterContext *ctx,
av_log(ctx, AV_LOG_ERROR, "Selected interpolate method is invalid\n");
return AVERROR(EINVAL);
}
- ret = ff_opencl_set_parameter(¶m_lu,
+ ret = avpriv_opencl_set_parameter(¶m_lu,
FF_OPENCL_PARAM_INFO(deshake->opencl_ctx.cl_inbuf),
FF_OPENCL_PARAM_INFO(deshake->opencl_ctx.cl_outbuf),
FF_OPENCL_PARAM_INFO(packed_matrix_lu),
@@ -70,7 +70,7 @@ int ff_opencl_transform(AVFilterContext *ctx,
NULL);
if (ret < 0)
return ret;
- ret = ff_opencl_set_parameter(¶m_ch,
+ ret = avpriv_opencl_set_parameter(¶m_ch,
FF_OPENCL_PARAM_INFO(deshake->opencl_ctx.cl_inbuf),
FF_OPENCL_PARAM_INFO(deshake->opencl_ctx.cl_outbuf),
FF_OPENCL_PARAM_INFO(packed_matrix_ch),
diff --git a/libavfilter/unsharp_opencl.c b/libavfilter/unsharp_opencl.c
index e619cef..5c6b5ef 100644
--- a/libavfilter/unsharp_opencl.c
+++ b/libavfilter/unsharp_opencl.c
@@ -181,7 +181,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out)
kernel1.ctx = ctx;
kernel1.kernel = unsharp->opencl_ctx.kernel_luma;
- ret = ff_opencl_set_parameter(&kernel1,
+ ret = avpriv_opencl_set_parameter(&kernel1,
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_inbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_outbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_luma_mask),
@@ -198,7 +198,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out)
kernel2.ctx = ctx;
kernel2.kernel = unsharp->opencl_ctx.kernel_chroma;
- ret = ff_opencl_set_parameter(&kernel2,
+ ret = avpriv_opencl_set_parameter(&kernel2,
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_inbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_outbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_chroma_mask),
@@ -230,7 +230,7 @@ int ff_opencl_apply_unsharp(AVFilterContext *ctx, AVFrame *in, AVFrame *out)
kernel1.ctx = ctx;
kernel1.kernel = unsharp->opencl_ctx.kernel_default;
- ret = ff_opencl_set_parameter(&kernel1,
+ ret = avpriv_opencl_set_parameter(&kernel1,
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_inbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_outbuf),
FF_OPENCL_PARAM_INFO(unsharp->opencl_ctx.cl_luma_mask),
diff --git a/libavutil/opencl_internal.c b/libavutil/opencl_internal.c
index 3d996ab..bdb4193 100644
--- a/libavutil/opencl_internal.c
+++ b/libavutil/opencl_internal.c
@@ -23,7 +23,7 @@
#include "opencl_internal.h"
#include "libavutil/log.h"
-int ff_opencl_set_parameter(FFOpenclParam *opencl_param, ...)
+int avpriv_opencl_set_parameter(FFOpenclParam *opencl_param, ...)
{
int ret = 0;
va_list arg_ptr;
diff --git a/libavutil/opencl_internal.h b/libavutil/opencl_internal.h
index 34b39a0..dacd930 100644
--- a/libavutil/opencl_internal.h
+++ b/libavutil/opencl_internal.h
@@ -30,4 +30,4 @@ typedef struct {
void *ctx;
} FFOpenclParam;
-int ff_opencl_set_parameter(FFOpenclParam *opencl_param, ...);
+int avpriv_opencl_set_parameter(FFOpenclParam *opencl_param, ...);
More information about the ffmpeg-cvslog
mailing list