I am trying to get AVC/H264 decoding using the DX11 Video Decoding APIs working. Are there any code samples on how to correctly feed the DXVA2 structures into the buffers to get a correct output image? After days of fiddling around with SPS/PPS information stuffed into DXVA structs i got _some_ image output. But it's flickering and has tons of decoding artifacts.
The only information i found was on DXVA2 in ffmpeg and an MSDN article on how to use the API in general (to implement a MediaFoundation Filter). Then there's a MS PDF on DXVA2.
Quite interessting that nobody seems to use it - at least in open source projects - while all GPU vendors implement in their drivers...
Any help or hints appreciated.
All the best,
Stephan