SubPic: Added XySubPicQueueImpl for a XySubFilter compatibility layer.
SubPic: Add subtitle consumer interface to SubPicAllocatorPresenter.
VideoRenderers: Fixed ambiguous cast to IUknown.
XySubPicQueue: Reuse bitmaps with the same id.
XySubPicQueue: Only create delivery event once, reuse it.
CXySubPicQueueImpl: Unlock pSubPic when aborting.
SubPic: Support textures with an inverse alpha.

Fixes incorrect rendering of subtitles provided by XySubFilter.
No support in MemSubPic for this flag yet.
SubPic: Add XySubPicProvider class and move all subtitle provider communication there.

Now the XySubPicQueue classes can make use of inheritance and only overload certain methods, reducing code duplication.
EVRAllocatorPresenter: Fix GetCurrentMediaType always returning MF_E_NOT_INITIALIZED.
SubPicAP: Implement the supportedLevels and yuvMatrix fields.

The yuvMatrix field requires a build of LAV that gives access to extended color information.
VideoRenderers: Prevent subtitle queue from being destroyed on device reset.
XySubPicQueue: Implemented threaded subtitle rendering.
SubPicImpl: Don't deflate the dirty rectangle.

Fixes subtitles at the edge of the video frame missing a column of pixels, should be tested with HDMV (PGS) subs.
XySubPicProvider: Wait for frame delivery when requesting the frame instead of relying on subsequent calls to wait.
ISR: Vobsub/PGS/DVB subtitles are now rendered relative to the video frame.
XySubPicProvider: Support texture sizes smaller than the video rectangle.
XySubPicProvider: Always render subtitles relative to the video rectangle.
SubPicAP: Give the window rectangle if the video rectangle is not yet available.
SubPicAP: Implement the "refreshRate" field.

Requires the RefreshRate member of the video renderers to be moved up to the parent class.
XySubPicQueueNoThread: Allocate the SubPic after setting the texture resolution.