Skip to content

feat(encoder): RGB-direct encode via VK_VALVE_video_encode_rgb_conversion - #82

Open
porkloin wants to merge 2 commits into
hgaiser:mainfrom
porkloin:vk-valve-video
Open

feat(encoder): RGB-direct encode via VK_VALVE_video_encode_rgb_conversion#82
porkloin wants to merge 2 commits into
hgaiser:mainfrom
porkloin:vk-valve-video

Conversation

@porkloin

@porkloin porkloin commented May 8, 2026

Copy link
Copy Markdown
Contributor

Wires the direct RGB encoding path from hgaiser/pixelforge#14. If a device advertises that it supports VK_VALVE_video_encode_rgb_conversion, pipeline will use RgbBlitterinstead of the ColorConverter to do direct RGB output into the encoder.

Also adds a config val for safety (rgb_direct_encode under [stream.video], with either auto, off, or force as allowed values. Just in case future driver regressions occur or something, that way users can turn the feature off as a self-support mechanism.

This only supports AMD cards for now, but hopefully other vendors will be supported in the future. There is also a log message to indicate whether or not direct RGB is being used, for quick diagnostic if it does cause problems on other vendor cards.

Depends on pixelforge PR 14 being in before this can be merged.

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