Skip to content

VMAFx C API reference (generated)

ABI version 0.1.8. These pages are generated from core/api/vmafx.toml; the overview is the VMAFx API page. Include <vmafx/vmafx.h> for every core header, or a single header for what it declares; each includes what its declarations use.

Header Group Contents
vmafx/vmafx.h umbrella VMAFx public C API (generated): includes every core header.
vmafx/version.h core ABI version macros and the version of the loaded library.
vmafx/types.h core Status codes, shared enumerations and the export macros.
vmafx/error.h core Errors that name what failed.
vmafx/context.h core Contexts: options, feature and model registration, submit, flush, extractor introspection.
vmafx/device.h core Devices: enumeration, creation from a backend index or external handles, profiling.
vmafx/frame.h core Frames: host frames, device imports, pools, fences, side data.
vmafx/model.h core Models and model sets.
vmafx/score.h core Frame scores, pooled scores and windows.
vmafx/provenance.h core Provenance records: how the scores of a context are made.
vmafx/report.h core Report writer.
vmafx/dnn.h core Tiny-AI models.
vmafx/mcp.h core Embedded MCP server.
vmafx/libvmaf_bridge.h optional Bridge between a VmafxContext and the libvmaf handle bound to it, for callers that migrate one call at a time.

libvmaf functions

The 109 functions of the libvmaf headers and the VMAFx calls each one is written on: libvmaf migration table.