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:
parent
5efcf2c5a5
commit
9fd2b0603e
11 changed files with 8400 additions and 68 deletions
|
|
@ -70,8 +70,13 @@ transparent only while video is visible (`html.video-active`), so browsing is op
|
|||
title is marked watched at the configured percentage. The player's back arrow (or Esc)
|
||||
shrinks playback into a miniplayer: the video is drawn in a corner rectangle and the
|
||||
interface stays visible around it, with a matching hole masked out of the page
|
||||
(`html.player-mini`). Upscaling tiers set mpv's scalers and debanding and load
|
||||
shaders bundled from `src-tauri/shaders/` (FSRCNNX, KrigBilateral, AMD CAS); each
|
||||
shader's `WHEN` condition decides whether it runs for the current video and size.
|
||||
(`html.player-mini`).
|
||||
- **Upscaling** (`player/enhance.ts`): tiers set mpv's scalers and debanding and load
|
||||
shaders bundled from `src-tauri/shaders/` (FSRCNNX, ArtCNN, KrigBilateral, AMD CAS);
|
||||
each shader's `WHEN` condition decides whether it runs for the current video and size.
|
||||
The chosen tier and the running one are tracked separately: shader errors in mpv's log
|
||||
or missing network passes in `vo-passes` drop to the tier below. Compiled shaders are
|
||||
cached in the app cache folder (`gpu-shader-cache-dir`); ArtCNN's first Direct3D
|
||||
compile takes about a minute.
|
||||
- **Updates**: `app/updater.ts` checks the signed feed on start; installs need the
|
||||
user's confirmation and then relaunch.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue