Merge the GPU validation of the hardware video path

Measured on a real RX 7900 GRE with FFmpeg 9: VA-API and AMF encode
1080p60 and 1440p60 at a quarter to half a core, simulcast included;
RGB DMA-BUFs are converted to NV12 on the GPU; Wayland screen capture
delivers frames again (it delivered none) and switches to shared memory
where reading GPU memory is slow; the H.264 level of the SPS matches
the offer; AV1 is cropped to what this GPU really encodes; FFmpeg 9's
structure offsets are checked against its headers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
selikhovandClaude Opus 5.5 committed 2026-10-03 06:55:32 +03:00
commit cf0a0211c1
11 files changed
+2213 -142

No files matched your search

Generated
+1
View File
@@ -9194,6 +9194,7 @@ dependencies = [
"tokio",
"tracing",
"tracing-subscriber",
"voelin-stream",
"wasapi",
"wayland-client",
"wayland-protocols",