Crate libvmaf_sys
source ·Expand description
This crate is a simple bindgen wrapper library around Netflix’s libvmaf
You’re probably looking for libvmaf-rs
Structs
Enums
Functions
- Close a VMAF instance and free all associated memory.
- Fetch feature score at specific index.
- Pooled feature score for a specific interval.
- Import an external feature score. Useful when pre-computed feature scores are available. Also useful in the case where there is no libvmaf feature extractor implementation for a required feature.
- Allocate and open a VMAF instance.
- Read a pair of pictures and queue them for eventual feature extraction. This should be called after feature extractors are registered via
vmaf_use_features_from_model()and/orvmaf_use_feature().VmafContextwill take ownership of bothVmafPictures (refanddist) andvmaf_picture_unref(). - Predict VMAF score at specific index.
- Predict VMAF score at specific index, using a model collection.
- Pooled VMAF score for a specific interval.
- Pooled VMAF score for a specific interval, using a model collection.
- Register specific feature extractor. Useful when a specific/additional feature is required, usually one which is not already provided by a model via
vmaf_use_features_from_model(). This may be called multiple times.VmafContextwill take ownership of theVmafFeatureDictionary(opts_dict). Usevmaf_feature_dictionary_free()only in the case of failure. - Register feature extractors required by a specific
VmafModel. This may be called multiple times using different models. In this case, the registered feature extractors will form a set, and any features required by multiple models will only be extracted once. - Register feature extractors required by a specific
VmafModelCollectionLikevmaf_use_features_from_model(), this function may be called multiple times using different model collections. - Get libvmaf version.
- Write VMAF stats to an output file.