-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2013-10-15 22:12, schrieb Henri Verbeet:
I'm not very familiar with quartz / VMR, but I guess the main question would be how applications can tell the difference between a d3d9 and a ddraw implementation.
It looks like there are some ways an application can create its own DirectDraw object and pass it to VMR-7: http://msdn.microsoft.com/en-us/library/windows/desktop/dd375451(v=vs.85).as... . But that's just my conclusion from reading MSDN for 5 minutes, so I might be wrong.
Other things to look for is API methods that accept or return an IDirectDraw* object, or COM aggregation tricks which would allow applications to QueryInterface DirectDraw objects from VMR-7 objects.
I could also imagine that VMR-7 supports additional pixel formats like YV12. D3d9 usually supports only YUY2 and UYVY surfaces. In ddraw, support for YV12 overlays is fairly widespread, and some drivers offer additional overlay formats.