[FFmpeg-cvslog] avfilter/libvmaf: small cleanup for style, whitespace, unused LIBVMAFContext struct members
Kyle Swanson
git at videolan.org
Mon Dec 4 20:15:16 EET 2023
ffmpeg | branch: master | Kyle Swanson <kswanson at netflix.com> | Mon Nov 27 10:25:08 2023 -0800| [9f1dbca8207ff76378a66ab39378be991f792a37] | committer: Kyle Swanson
avfilter/libvmaf: small cleanup for style, whitespace, unused LIBVMAFContext struct members
Signed-off-by: Kyle Swanson <kswanson at netflix.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9f1dbca8207ff76378a66ab39378be991f792a37
---
libavfilter/vf_libvmaf.c | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c
index 12810b7267..9aec61de19 100644
--- a/libavfilter/vf_libvmaf.c
+++ b/libavfilter/vf_libvmaf.c
@@ -48,18 +48,11 @@
typedef struct LIBVMAFContext {
const AVClass *class;
FFFrameSync fs;
- char *model_path;
char *log_path;
char *log_fmt;
- int enable_transform;
- int phone_model;
- int psnr;
- int ssim;
- int ms_ssim;
char *pool;
int n_threads;
int n_subsample;
- int enable_conf_interval;
char *model_cfg;
char *feature_cfg;
VmafContext *vmaf;
@@ -175,7 +168,6 @@ static int do_vmaf(FFFrameSync *fs)
return ff_filter_frame(ctx->outputs[0], dist);
}
-
static AVDictionary **delimited_dict_parse(char *str, unsigned *cnt)
{
AVDictionary **dict = NULL;
@@ -606,7 +598,8 @@ static const AVFilterPad libvmaf_inputs[] = {
{
.name = "main",
.type = AVMEDIA_TYPE_VIDEO,
- },{
+ },
+ {
.name = "reference",
.type = AVMEDIA_TYPE_VIDEO,
.config_props = config_input_ref,
More information about the ffmpeg-cvslog
mailing list