lanes: hwvideo status
Browse files at this commit52445648f3b6f8001e21f15f2beec8abfff55b2eParent: e5afa4e1 changed file +13 -0
- lanes/hwvideo.charter.md +13 -0
lanes/hwvideo.charter.mdmodified+13 -0
| @@ -145,3 +145,16 @@ AV1 encode and AV1/VP9 decode can start before phase 0 completes; they work on t | |||
| 145 | - H.264 CQP: AV1 reports `DISABLED|CBR|VBR`; H.264/H.265 RC modes must be re-read after phase 0. | 145 | - H.264 CQP: AV1 reports `DISABLED|CBR|VBR`; H.264/H.265 RC modes must be re-read after phase 0. |
| 146 | - The unsafe shim is new first-party unsafe code (~3k lines). Keep the command set closed and small; no general Vulkan wrapper. | 146 | - The unsafe shim is new first-party unsafe code (~3k lines). Keep the command set closed and small; no general Vulkan wrapper. |
| 147 | - Fedora-stock users get AV1/VP9 only on both VA and Vulkan; software codecs cover the rest. | 147 | - Fedora-stock users get AV1/VP9 only on both VA and Vulkan; software codecs cover the rest. |
| 148 | + | ||
| 149 | +## Status 2026-11-25 | ||
| 150 | + | ||
| 151 | +Done (RADV, RX 9060 XT; every stream bit-exact vs ffmpeg for decode): | ||
| 152 | +- Phase 1: Vk encode H.264/H.265/AV1 (CQP, CBR), CPU NV12 upload; RGB/BGR input with GPU compute RGB->NV12 + box downscale (one capture feeds every simulcast layer). | ||
| 153 | +- Phase 2: ec-hw compiles on every OS; `HwEncoder`/`HwDecoder`/`capabilities()`, Vk first, VA fallback on Linux (decoder replays its prefix when Vk refuses a stream, e.g. 10-bit). | ||
| 154 | +- Phase 5 (pulled forward): Vk decode H.264/H.265/AV1 8-bit behind `HwDecoder`, shared generic DPB/RPS/ref-slot logic with VA (dpb264, hevc_dpb, av1_refs). | ||
| 155 | + | ||
| 156 | +Open: | ||
| 157 | +- Phase 3: Linux DMA-BUF import into Vk (low value: VA submit_prime already zero-copy). | ||
| 158 | +- Phase 4: Windows D3D11 shared-texture import; no Windows GPU to test on. | ||
| 159 | +- Vk VP9 decode, 10-bit Vk paths, runtime bitrate change on Vk, H.265 Vk CBR overshoot (~10% on short clips). | ||
| 160 | +- Validation layer runs (layer not installed here). | ||