Commit graph

2 commits

Author SHA1 Message Date
9fd2b0603e 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>
2026-10-30 19:37:32 -07:00
5dc18ff9e5 Add player upscaling and fix miniplayer and scrub bar issues
Upscaling is chosen in the player (Playback options, or U): Performance
uses spline36 scaling, debanding and AMD CAS sharpening; Balanced adds
FSRCNNX neural luma upscaling and KrigBilateral chroma reconstruction.
The shaders ship in src-tauri/shaders and their WHEN conditions decide
whether they run for the current video and window size; HDR titles skip
CAS, which assumes SDR gamma.

The title above the scrub bar now opens its show, movie or episode page
with playback moving to the miniplayer. Leaving the miniplayer any way
(including starting another title, which left the app invisible) puts
the video back over the whole window. The scrub bar separates played
and buffered sections more clearly, and its preview keeps its size at
the end of the bar.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 18:55:52 -07:00