microsoft / DirectX-Graphics-Samples

This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.
MIT License
5.89k stars 2k forks source link

Add HelloVAResourceInterop, HelloVaDecode and HelloVAEncode samples #810

Closed sivileri closed 1 year ago

sivileri commented 1 year ago

Adds new D3D12HelloWorld samples for using Libva/VaOn12 for Windows video workloads and interoperate with D3D12.

Hello, VADecode! sample

This sample shows you how to use Libva for Windows for decoding a basic H264 bitstream and rendering to screen.

Hello, VAEncode! sample

This sample shows you how to use Libva for Windows to perform video processing effects and encode the D3D12 render targets presented to screen to a basic H264 encoded bitstream.

Hello, VAResourceInterop! sample

This sample shows you how to use Libva for Windows for inter-operating between D3D12 resources and VA surfaces.