aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_ssim.c
diff options
context:
space:
mode:
authorNicolas George <george@nsup.org>2017-08-31 19:47:37 +0200
committerNicolas George <george@nsup.org>2017-09-12 11:03:51 +0200
commit5f5dcf44e3c40da8c2334b9d2e62f30739d644c0 (patch)
tree54f67261180b1b02ed30e2e0995525d4ba725acc /libavfilter/vf_ssim.c
parent1b8e061cc574d7d5ce7def14c5648eaef07d9187 (diff)
downloadffmpeg-5f5dcf44e3c40da8c2334b9d2e62f30739d644c0.tar.gz
lavfi: rename framesync2 to framesync.
Diffstat (limited to 'libavfilter/vf_ssim.c')
-rw-r--r--libavfilter/vf_ssim.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavfilter/vf_ssim.c b/libavfilter/vf_ssim.c
index 5f5bed7a0e..40f09ad5aa 100644
--- a/libavfilter/vf_ssim.c
+++ b/libavfilter/vf_ssim.c
@@ -40,7 +40,7 @@
#include "avfilter.h"
#include "drawutils.h"
#include "formats.h"
-#include "framesync2.h"
+#include "framesync.h"
#include "internal.h"
#include "ssim.h"
#include "video.h"
@@ -291,7 +291,7 @@ static int do_ssim(FFFrameSync *fs)
float c[4], ssimv = 0.0;
int ret, i;
- ret = ff_framesync2_dualinput_get(fs, &main, &ref);
+ ret = ff_framesync_dualinput_get(fs, &main, &ref);
if (ret < 0)
return ret;
if (!ref)
@@ -431,7 +431,7 @@ static int config_output(AVFilterLink *outlink)
AVFilterLink *mainlink = ctx->inputs[0];
int ret;
- ret = ff_framesync2_init_dualinput(&s->fs, ctx);
+ ret = ff_framesync_init_dualinput(&s->fs, ctx);
if (ret < 0)
return ret;
outlink->w = mainlink->w;
@@ -440,7 +440,7 @@ static int config_output(AVFilterLink *outlink)
outlink->sample_aspect_ratio = mainlink->sample_aspect_ratio;
outlink->frame_rate = mainlink->frame_rate;
- if ((ret = ff_framesync2_configure(&s->fs)) < 0)
+ if ((ret = ff_framesync_configure(&s->fs)) < 0)
return ret;
return 0;
@@ -449,7 +449,7 @@ static int config_output(AVFilterLink *outlink)
static int activate(AVFilterContext *ctx)
{
SSIMContext *s = ctx->priv;
- return ff_framesync2_activate(&s->fs);
+ return ff_framesync_activate(&s->fs);
}
static av_cold void uninit(AVFilterContext *ctx)
@@ -469,7 +469,7 @@ static av_cold void uninit(AVFilterContext *ctx)
s->ssim_total / s->nb_frames, ssim_db(s->ssim_total, s->nb_frames));
}
- ff_framesync2_uninit(&s->fs);
+ ff_framesync_uninit(&s->fs);
if (s->stats_file && s->stats_file != stdout)
fclose(s->stats_file);