Skip to content

Commit

Permalink
add still model that uses motion_force_zero
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmin committed Oct 11, 2024
1 parent 7bd1663 commit d8bac1e
Show file tree
Hide file tree
Showing 3 changed files with 85 additions and 1 deletion.
1 change: 1 addition & 0 deletions libvmaf/src/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ if built_in_models_enabled
'vmaf_v0.6.1.json',
'vmaf_b_v0.6.3.json',
'vmaf_v0.6.1neg.json',
'vmaf_v0.6.1still.json',
'vmaf_4k_v0.6.1.json',
'vmaf_4k_v0.6.1neg.json',
]
Expand Down
8 changes: 7 additions & 1 deletion libvmaf/src/model.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ extern const char src_vmaf_b_v0_6_3_json[];
extern const int src_vmaf_b_v0_6_3_json_len;
extern const char src_vmaf_v0_6_1neg_json[];
extern const int src_vmaf_v0_6_1neg_json_len;
extern const char src_vmaf_v0_6_1still_json[];
extern const int src_vmaf_v0_6_1still_json_len;
extern const char src_vmaf_4k_v0_6_1_json[];
extern const int src_vmaf_4k_v0_6_1_json_len;
extern const char src_vmaf_4k_v0_6_1neg_json[];
Expand Down Expand Up @@ -81,6 +83,11 @@ static const VmafBuiltInModel built_in_models[] = {
.data = src_vmaf_v0_6_1neg_json,
.data_len = &src_vmaf_v0_6_1neg_json_len,
},
{
.version = "vmaf_v0.6.1still",
.data = src_vmaf_v0_6_1still_json,
.data_len = &src_vmaf_v0_6_1still_json_len,
},
{
.version = "vmaf_4k_v0.6.1",
.data = src_vmaf_4k_v0_6_1_json,
Expand Down Expand Up @@ -321,4 +328,3 @@ int vmaf_model_collection_feature_overload(VmafModel *model,
err |= vmaf_model_feature_overload(model, feature_name, opts_dict);
return err;
}

Loading

0 comments on commit d8bac1e

Please sign in to comment.