Quantcast
Channel: Media Foundation Development for Windows Desktop forum
Viewing all articles
Browse latest Browse all 1079

Hardware-accelerated decoding with D3D11 and IMFTransform

$
0
0

Hi, I've been trying to get hardware-accelerated video decoding working with D3D11 and IMFTransform using this article:

 https://docs.microsoft.com/en-us/windows/desktop/medfound/supporting-direct3d-11-video-decoding-in-media-foundation

I have two questions - first, I'm unable to create a Texture2D with the D3D11_BIND_DECODER flag, which is necessary to create the output view. Do you know why this might be the case?

Second, I don't understand where the actual decoding is taking place. I understand I can call SubmitDecoderBuffer, but I was under the impression that this would simply call IMFTransform::ProcessOutput. I need to implement the ProcessOutput function though, and don't know how the actual decoding will work. Please let me know!


I'd be happy to provide some code.


Thank you!

Viewing all articles
Browse latest Browse all 1079

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>