Skip to content

update fcvvdp + simpleimgio deps - #4

Merged
gianni-rosato merged 2 commits into
mainfrom
fix/vship-cvvdp-parity
Sep 22, 2026
Merged

gianni-rosato merged 2 commits into
mainfrom
fix/vship-cvvdp-parity

Conversation

@gianni-rosato

@gianni-rosato gianni-rosato commented Sep 22, 2026 •

Copy link
Copy Markdown
Member

The reported Snow and DSV2 Y4M comparisons produced CVVDP scores of 8.951164 and 8.567672, versus FFVship's 8.7961 and 8.78857. Update simpleimgio and fcvvdp, and pass float linear RGB directly to CVVDP so range, chroma position, transfer, and source sample precision survive decoding.

Other Y4M metrics use the same corrected conversion before their final sRGB8 quantization. Conversion scratch storage is reused per worker. Existing image-format paths and the public metric API are unchanged.

504-frame clip Before After FFVship
Snow 8.951164 8.796098 8.7961
DSV2 8.567672 8.788569 8.78857

Validation: release build; generated CLI goldens for SD/HD, 8/10-bit, limited/full-range Y4M; all 14 Python tests; both full reported clips with matching input MD5s. FFVship goldens use Vship 7dca6ea307fb84506980ac61e99030c1773aea5f with the local Metal backend. Companion fcvvdp validation covers scalar, NEON, AVX2, threading, and reset behavior.

Dependencies: gianni-rosato/simpleimgio#1 → halidecx/fcvvdp#19 → this PR. Both dependencies are now pinned with zig fetch --save to their updated main commits: simpleimgio 6d9b55ead31a181f82595ffaed05986476510126 and fcvvdp 012f2243cf68ce5456705860a711db202fa5c63f. The release build, all six generated Y4M cases, and all 14 Python tests pass with these pins. The fcvvdp PR includes before/after correctness and same-machine performance tables.

Python wheel CI before the main-pin update passed on Linux x86_64/aarch64 and macOS x86_64/arm64.

@gianni-rosato gianni-rosato changed the title Fix Y4M CVVDP scores with Vship-compatible decoding and backend update fcvvdp + simpleimgio deps Sep 22, 2026
@gianni-rosato
gianni-rosato merged commit bdec9aa into main Sep 22, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant