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:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-24 16:52:04 +0300
committerJames Almer <jamrial@gmail.com>2021-04-27 16:43:11 +0300
commit7c4287b27628346321981b2529bff028f119c870 (patch)
tree9270f2d5a860a5126fb4b02e8152c8e8364bafa2 /libavfilter/vf_deshake.c
parent930391e5988abe126d29c5e9b09fab459e0b8936 (diff)
avfilter/transform: Stop exporting internal functions
avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the public API (transform.h is not a public header), yet they are currently exported because of their name. This commit changes this: avfilter_transform is renamed to ff_affine_transform; the other functions are just removed as they have never been used at all. Found-by: Anton Khirnov <anton@khirnov.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavfilter/vf_deshake.c')
-rw-r--r--libavfilter/vf_deshake.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 28a541b94a..8771399351 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -330,8 +330,9 @@ static int deshake_transform_c(AVFilterContext *ctx,
for (i = 0; i < 3; i++) {
// Transform the luma and chroma planes
- ret = avfilter_transform(in->data[i], out->data[i], in->linesize[i], out->linesize[i],
- plane_w[i], plane_h[i], matrixs[i], interpolate, fill);
+ ret = ff_affine_transform(in->data[i], out->data[i], in->linesize[i],
+ out->linesize[i], plane_w[i], plane_h[i],
+ matrixs[i], interpolate, fill);
if (ret < 0)
return ret;
}