Skip to content

Validate VAAPI color profiles on the selected decode device - #962

Merged
capy-ai[bot] merged 1 commit into
devfrom
capy/validate-vaapi-color-profiles
Sep 16, 2026
Merged

capy-ai[bot] merged 1 commit into
devfrom
capy/validate-vaapi-color-profiles

Conversation

@zortos293

Copy link
Copy Markdown
Collaborator

Changes

Probe HEVC and AV1 support separately for 8-bit and 10-bit 4:2:0. Use the appropriate VAAPI profile and render-target format instead of treating a 10-bit probe as proof of every color mode. Bind FFmpeg to a render node that supports the requested profile, while preserving the existing H.264 route.

Keep each render-node file descriptor alive through vaTerminate. Report decoded Linux color-format changes through the existing media feedback contract, including planar I420, without guessing a YUV color class from RGB output.

Verification

Independently reviewed the final capability, device-selection, descriptor-lifetime, and feedback changes. The feature-enabled native streamer workspace passed, including 123 Linux platform tests and 145 platform tests. Workspace formatting and locked Clippy with warnings denied also passed.

Focused regressions cover HEVC Main versus Main10, AV1 Profile0 with distinct render-target formats, device selection, descriptor lifetime during termination, H.264 policy preservation, and decoded-format feedback.

Limits

No real VAAPI GPU or live GeForce NOW session was available. Tests verify profile queries, policy, ownership, and feedback; they do not establish hardware decode performance or optical HDR output.

Open in Capy

@coderabbitai

coderabbitai Bot commented Sep 15, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: 14f7dc1b-9cd3-47ca-a94c-6ad0c852662a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@capy-ai capy-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capy found no issues.

View 3 other findings in Capy.

Open in Capy

@capy-ai
capy-ai Bot merged commit fa21723 into dev Sep 16, 2026
14 checks passed
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