vmaf_use_features_from_model

Function vmaf_use_features_from_model 

Source
pub unsafe extern "C" fn vmaf_use_features_from_model(
    vmaf: *mut VmafContext,
    model: *mut VmafModel,
) -> c_int
Expand description

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.

@param vmaf The VMAF context allocated with vmaf_init().

@param model Opaque model context.

@return 0 on success, or < 0 (a negative errno code) on error.