Crate libvmaf_sys

source ·

Structs

Enums

Constants

Statics

Functions

feof
getc
getw
putc
puts
putw
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/or vmaf_use_feature(). VmafContext will take ownership of both VmafPictures (ref and dist) and vmaf_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. VmafContext will take ownership of the VmafFeatureDictionary (opts_dict). Use vmaf_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 VmafModelCollection Like vmaf_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.

Type Definitions

Unions