Skip to content

perf(renderd-host): sharpen a still screen at native size, and fix software colour maths - #172

Merged
Ad1th merged 1 commit into
mainfrom
feat/sharpen-on-idle-and-color-tags
Oct 5, 2026
Merged

Ad1th merged 1 commit into
mainfrom
feat/sharpen-on-idle-and-color-tags

Conversation

@Ad1th

@Ad1th Ad1th commented Oct 5, 2026

Copy link
Copy Markdown
Owner

Two changes aimed at text sharpness on slow links.

Sharpen on idle. After 500 ms of stillness the encoder moves up to the display's native size for one full-resolution keyframe and two refinement passes, then returns to the link's size when the screen moves again. Skipped if the keyframe would take over 1.2 s to drain.

Colour. The software renderer decoded BT.709 limited-range as full-range BT.601 (greys for blacks, dim whites). Fixed. Capture is pinned to sRGB/BT.709 and the tags are logged; on this Mac the tags were already BT.709, so that part is defensive. Added renderd-sc-sys example colour_probe.

Verified: workspace clippy and fmt clean, host/viewer/sc-sys tests pass, capture tested on macOS. Not yet exercised end to end against a Windows viewer.

…ftware colour maths

Move the encoder up to the display's native size once the screen has been
still, then back to the link's size on motion. Decode the software path as
BT.709 limited range instead of full-range BT.601, and pin the capture to
sRGB/BT.709.
@Ad1th
Ad1th merged commit 8b2d283 into main Oct 5, 2026
9 checks passed
@Ad1th
Ad1th deleted the feat/sharpen-on-idle-and-color-tags branch October 5, 2026 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant