vmaf_use_features_from_model_collection

Function vmaf_use_features_from_model_collection 

Source
pub unsafe extern "C" fn vmaf_use_features_from_model_collection(
    vmaf: *mut VmafContext,
    model_collection: *mut VmafModelCollection,
) -> c_int
Expand description

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.

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

@param model_collection Opaque model collection context.

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