[Libav-user] Decoding: H264 to IDirect3DSurface9
suhail at mightycomputing.com
Mon Apr 1 23:29:52 EEST 2019
I am looking for any guidance to figure out how to take an H264 encoded
frame and utilize DXVA2 somehow to get a IDirect3DSurface9.
The goal is pretty simple: decode an h264 frame and show it on a Windows
To be specific, I am looking to utilize whatever hw accel decoder may exist
on the machine whether that's an NVIDIA GPU or a Intel's QuickSync hardware
I've already read the HWAccelIntro.
My best guess is the steps are:
1. Use avcodec_find_decoder() (H264 -> IDirect3DSurface9)
4. Some how the frame is an IDirect3DSurface9 texture I can use without
hitting the host memory.
If there are docs/guides/stackoverflow posts you're aware of, I'd
appreciate it. At the moment, I am looking at these APIs:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user