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

DXVA-HD EVR Custom Mixer

$
0
0

Hi,

I am trying to implement a custom mixer for the EVR that uses DXVA-HD for mixing streams.

In ProcessMessage I get the MFT_MESSAGE_SET_D3D_MANAGERso I can get a reference to the IDirect3DDeviceManager9, so far so good.

The problem arise when I need to create an IDXVAHD_Device. The create functionDXVAHD_CreateDevice requires an IDirect3DDevice9Exdevice but as far as I knowIDirect3DDeviceManager9::LockDevice can only give me an IDirect3DDevice9.

So how should this creation part be done? Should I request a service viaInitServicePointers() to acquire a ptr toIDirect3DDevice9Ex via my custom presenter. Any ideas?

// Carl




Viewing all articles
Browse latest Browse all 1079

Trending Articles



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