vmaf_write_output

Function vmaf_write_output 

Source
pub unsafe extern "C" fn vmaf_write_output(
    vmaf: *mut VmafContext,
    output_path: *const c_char,
    fmt: VmafOutputFormat,
) -> c_int
Expand description

Write VMAF stats to an output file.

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

@param output_path Output file path.

@param fmt Output file format. See enum VmafOutputFormat for options.

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