Symptom: properly-converted BT.2020 PQ/HLG clips rendered progressively desaturated vs the SDR reference — the signature of the transfer/primaries tags not reaching the NV12→RGB shader, so HDR code values were decoded as plain sRGB/BT.709 (no gamut expansion, wrong EOTF). VAAPI hardware-decoded frames frequently leave color_trc/color_primaries/ colorspace/color_range unspecified — the authoritative values live on the codec context (parsed from the bitstream), which the importer never sees. Before importing, copy any unspecified colour field from the codec context onto the frame, so the importer detects PQ/HLG + BT.2020 correctly. Also add a one-time importer log (LB_VIDEO_DEBUG) of the detected ten_bit/full_range/colorspace/primaries/trc to confirm what's picked up. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| beamdsp | ||
| egui_node_graph2 | ||
| gpu-video-encoder | ||
| lightningbeam-core | ||
| lightningbeam-editor | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| GPU_VIDEO_DECODE_PLAN.md | ||
| build-static.sh | ||
| build-windows.bat | ||