Files
bytesize/src-tauri
lashman d3418c86df tonemap hdr captures on the gpu
firefox playing hdr youtube renders the desktop in linear scrgb, and
capturing it as bgra8 clamps the >1.0 highlights to pure white. capture
in r16g16b16a16_float instead and run a hable filmic + bt709 pixel
shader directly on the captured d3d11 texture (which windows-capture
already exposes via frame.as_raw_texture), then read back bgra8 so the
ffmpeg pipe stays unchanged from the sdr path.

the shader is compiled offline with fxc at build time and embedded. the
fullscreen-triangle draw needs an explicit cull-none rasterizer state
since the default back-face cull silently drops it.
2026-06-18 13:06:00 +03:00
..
2026-05-11 23:48:23 +03:00
2026-06-18 13:06:00 +03:00
2026-06-18 13:06:00 +03:00
2026-06-18 13:06:00 +03:00
2026-06-18 13:06:00 +03:00