How to get a SourceReader to decompress frames and send them to a Direct3D9 texture?
问题 I am trying to get a MediaFoundation SourceReader to read an H.264 video file, and render the frames to some Direct3D textures so I can them render them as I wish with Direct3D. I'm using SharpDX, but the principles are of course the same as native code. As I understand it, the general data flow should be like this: A SourceReader reads and decodes the video using SourceReader.ReadSample() A VideoProcessor (from IDirect3DDeviceManager9 ) transfers the frame to a Direct3D9 surface using