Supplying Video Substream and Destination Surfaces
This section applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later.
The VMR on Windows Server 2003 SP1 and later and Windows XP SP2 and later only supplies video substreams with substream-surface formats that DXVA supports. That is, the VMR only supplies the following FOURCC codes for alpha-blending substream-surface formats: AI44, IA44 or AYUV. For more information, see Loading an AYUV Alpha-Blending Surface. Note that when multiple video substreams are supplied, each substream might be formatted differently. Because the formats of the supplied video substreams are palletized surface formats, a complete 16-color palette for each surface is supplied in the Palette member of each DXVA_VideoSample2 structure in the array that is passed in the pDDSrcSurfaces parameter when DeinterlaceBltEx is called. Therefore, the driver is not required to maintain palette information for each video substream surface.
The VMR also only supplies destination surfaces whose formats are specified by the driver in the d3dOutputFormat member of the DXVA_DeinterlaceCaps structure. The driver returns a pointer to DXVA_DeinterlaceCaps when its DeinterlaceQueryModeCaps function is called.