pub unsafe extern "C" fn vmaf_import_feature_score(
vmaf: *mut VmafContext,
feature_name: *const c_char,
value: f64,
index: c_uint,
) -> c_intExpand description
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.
@param vmaf The VMAF context allocated with vmaf_init().
@param feature_name Name of feature.
@param value Score.
@param index Picture index.
@return 0 on success, or < 0 (a negative errno code) on error.