Add a Quality upscaling tier and make enhancement verifiable

Quality runs ArtCNN C4F32 (its denoising model when Denoising is on),
KrigBilateral, debanding and CAS. Its network runs at any enlargement,
so 1080p in a maximized 1440p window is doubled and scaled down; Balanced
keeps FSRCNNX's 1.3x threshold.

The enhancement pipeline moves to player/enhance.ts. Mode changes are
serialized (latest wins). Shader errors in mpv's log, or network passes
missing from vo-passes, drop to the tier below with a notice, and the
chosen and running tiers are shown separately. HDR is judged from the
decoded video. Debanding, sharpening and denoising have their own
toggles, B compares with enhancement off, and the panel shows the
renderer's actual stages, GPU time and dropped frames.

Compiled shaders persist in the app cache (gpu-shader-cache-dir):
ArtCNN's first Direct3D compile takes about a minute, which the player
now announces, and later launches start immediately.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-10-30 19:37:32 -07:00
parent 5efcf2c5a5
commit 9fd2b0603e
11 changed files with 8400 additions and 68 deletions

View file

@ -1,5 +1,11 @@
# Changelog
## Unreleased
- Quality upscaling tier: ArtCNN C4F32 (with its denoising model while upscaling), colour reconstruction, debanding and sharpening. Its network runs whenever the video is enlarged (Balanced from 1.3×), so 1080p in a maximized 1440p window is doubled and scaled down. The first use on a computer compiles its shaders for about a minute, with a notice in the player; compiled shaders are now kept between launches.
- Upscaling stages (debanding, sharpening, denoising) can be switched individually, B compares with enhancement off, and the panel shows what the renderer is running, its GPU time per frame and dropped frames.
- A tier whose shaders fail to load drops to the one below with a notice instead of silently showing plain scaling; tier changes are serialized; HDR is detected from the decoded video, so converted streams aren't treated as HDR.
## 0.1.0-beta.3
Upscaling in the player, and player fixes.