Skip to content

Libvmaf Feature request: List of built in models #1128

@ThatNerdUKnow

Description

@ThatNerdUKnow

Hey I'm trying to write a rust wrapper library around libvmaf and I'm stuck on the implementation of VmafModel It seems that I can pass the name of the model into the "version" param of vmaf_model_load but there doesn't seem to be any variable or function I can use to get a list of valid strings that I can pass to this param. I can see that in model.c there seems to be a list of models that are imported alongisde their respective data in a variable called built_in_models which is an array of VmafBuiltInModel Neither VmafBuiltInModel nor built_in_models are exposed in the headers of the library, meaning that my bindgen script can't create definitions for them automatically. The alternative is that I would have to manually keep a list of what models that vmaf includes in my wrapper library which seems fragile

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions