SubPic: Added XySubPicQueueImpl for a XySubFilter compatability 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.
SubPicAP: Pass the correct video rectangle.
CXySubPicQueueNoThread: Fixed subtitles not being invalidated.
CXySubPicQueueImpl: Unlock pSubPic when aborting.
SubPic: Support textures without a pre-inverted alpha.

Fixes incorrect rendering of subtitles supplied 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.
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.