docs(505): correct the #498 record's escape-hatch claim, which was wrong the dangerous way
The qsv-decode-encode-split record told HDR-on-QSV users to set QsvPreferNativeDecoder OFF "to keep GPU tonemap". Measured on the Intel host, vpp_qsv=tonemap=1 is a silent no-op on pre-Gen11 graphics, so following that advice did not preserve GPU tonemapping -- it disabled tonemapping entirely and shipped untonemapped HDR. Prose correction only; the decision itself (the QsvPreferNativeDecoder toggle) is unchanged and stays active. The software-tonemap half of the bullet was always accurate and stands. Decisions-Edit: yes
This commit is contained in:
@@ -42,8 +42,15 @@ ErsatzTV. Full design: `docs/superpowers/specs/2026-07-20-qsv-native-decode-desi
|
||||
`DecoderHardwareAccelerationMode == Qsv`) falls to the software `zscale`/`tonemap` chain for HDR content.
|
||||
Output is correct but costs CPU on the realtime path. Accepted for now because software tonemap is
|
||||
correct-but-slower while an unvalidated GPU-tonemap graph could be worse (needs the Intel host to
|
||||
verify), and the escape hatch covers it: HDR-on-QSV users who don't need the tolerant decoder set the
|
||||
flag OFF to keep GPU tonemap. Optimizing the native path to `tonemap_qsv` is tracked in **#505**.
|
||||
verify). Optimizing the native path is tracked in **#505**.
|
||||
|
||||
**Corrected 2026-07-26 (#505):** the escape-hatch half of this bullet was wrong, and wrong in the
|
||||
dangerous direction. It claimed HDR-on-QSV users could set the flag **OFF to keep GPU tonemap** — but
|
||||
`vpp_qsv=tonemap=1` is a *silent no-op* on pre-Gen11 Intel graphics, so turning the flag off did not
|
||||
preserve GPU tonemapping, it disabled tonemapping altogether and shipped untonemapped HDR. The
|
||||
software-tonemap half stands (that path was always correct). Do not offer the flag as an HDR
|
||||
work-around. See `ffmpeg.qsv-hdr-tonemap-opencl` for the measurements and the OpenCL route that
|
||||
replaced it; `TonemapQsvFilter` no longer exists.
|
||||
- **Native decode is Linux-only.** Guarded with `!OperatingSystem.IsWindows()` in the QSV builder —
|
||||
FFmpeg has no `vaapi` hwaccel on Windows (and Windows QSV capabilities are over-reported), so on Windows
|
||||
a QSV profile keeps QSV decode regardless of the flag.
|
||||
|
||||
Reference in New Issue
Block a user