Repository navigation
docs(adr): accept the VMAFx API redesign and VMAFx filter names for RC4 (ADR-1852) - #2176
Merged
Merged
Conversation
…C4 (ADR-1852) (#2176) * docs(adr): accept the VMAFx API redesign and VMAFx filter names for RC4 (ADR-1852) Records the maintainer's decisions of 2026-10-05: a new VMAFx C API (vmafx/*.h, libvmafx.so.1, own VMAFX_* status codes) generated with every other surface from one TOML definition; libvmaf.h kept as a separate thin libvmaf.so.3 on top, deprecated until 2.0; every FFmpeg filter capability of the patch series continued under a VMAFx name (vmafx, vmafx_tune, vmafx_pre, -vmafx-profile) with the vmaf-named filters removed in the same RC4 change; one import retry, then fail named. Research-2158 carries the design review: the inventory of today's API surfaces with the drift found in each, the API model, the generator comparison, the filter design with the old-to-new option map, and the RC4 work packages. ADR-1685 (API shape) and ADR-0686 (library and filter names) are marked superseded in part; the roadmap's RC4 scope names the change. No code changes.
11 of 18 tasks
lusoris
force-pushed
the
docs/adr-vmafx-api-redesign
branch
from
October 5, 2026 18:26
41feb48 to
2f4a0e1
Compare
This was referenced Oct 5, 2026
Merged
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Records the maintainer's RC4 decisions of 2026-10-05 as ADR-1852 (Accepted): a new VMAFx C API generated with every other surface from one definition,
libvmaf.hkept as a separate thin compatibility library, and every FFmpeg filter capability continued under a VMAFx name. Docs only; it lands before the RC4 code so the RC4 work packages have a settled decision to build on. The prototype slice stays draft PR #2173.Decisions recorded (all popup answers, references verbatim in the ADR):
core/api/vmafx.toml) + standard-library Python generators; generated files committed and drift-checked.libvmafx.so.1, pkg-configlibvmafx, ABI 1.0.0 frozen at thev1.0.0tag.libvmaf.so.3as a separate thin library on the exportedvmafx_symbols.vmafxfilter withbackend+device; upstream option names kept as aliases.VMAFX_*status codes with a generated errno map.vmafname:vmafx(replacinglibvmaf,libvmaf_cuda,libvmaf_sycl,libvmaf_metal,libvmaf_vulkanand the HIP option),vmafx_tune(replacinglibvmaf_tune),vmafx_pre(replacingvmaf_pre),-vmafx-profile(replacing-vmaf-profile); the ADR lists every old option and its new spelling.libvmaf.hopt-in in 1.0, default in 1.1, removed in 2.0.Also: ADR-1685 (API shape) and ADR-0686 (library and filter names) are marked superseded in part with the repository's status-line pattern (bodies untouched);
docs/roadmap.mdRC4 scope and exit boundary name the change; Research-2158 holds the design review.Type
docs— documentation onlyChecklist
make format && make lintis green locally — commit hooks (markdownlint, generated-docs freshness, ADR checks) pass./cross-backend-diffand the worst ULP is ≤ 2. — not applicable..c/.cpp/.cu/.h/.hpp, it has the appropriate license header — not applicable.!orBREAKING CHANGE:— not applicable: a decision record; the RC4 changes it governs carry their own migration notes.docs/adr/_index_fragments/<NNNN-slug>.mdand the slug is appended todocs/adr/_index_fragments/_order.txt.Bug-status hygiene (ADR-0165)
docs/state.mdupdated — no state delta: decision record only; it opens, closes and rules out no bug.Netflix golden-data gate (ADR-0024)
assertAlmostEqual(...)score in the Netflix golden Python tests.Deep-dive deliverables (ADR-0108)
docs/research/2158-vmafx-api-redesign.md.## Alternatives considered(API, generation, SONAME, compat packaging, status codes, FFmpeg names, deprecation, import failure, phase).AGENTS.mdinvariant note — no rebase-sensitive invariants: decision record only; the invariants arrive with the RC4 code (feat(api): generate the VMAFx C API from one definition (RC4 prototype, ADR-1852) #2173 carries them for its slice).changelog.d/changed/adr-vmafx-api-redesign.md.Reproducer
Known follow-ups
rc4).