* Calculate VMAF Motion score.
*/
+#include "libavutil/file_open.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
+#include "video.h"
#include "vmaf_motion.h"
#define BIT_SHIFT 15
},
};
-static const AVFilterPad vmafmotion_outputs[] = {
- {
- .name = "default",
- .type = AVMEDIA_TYPE_VIDEO,
- },
-};
-
const AVFilter ff_vf_vmafmotion = {
.name = "vmafmotion",
.description = NULL_IF_CONFIG_SMALL("Calculate the VMAF Motion score."),
.priv_class = &vmafmotion_class,
.flags = AVFILTER_FLAG_METADATA_ONLY,
FILTER_INPUTS(vmafmotion_inputs),
- FILTER_OUTPUTS(vmafmotion_outputs),
+ FILTER_OUTPUTS(ff_video_default_filterpad),
FILTER_QUERY_FUNC(query_formats),
};