IDXGIDecodeSwapChain interface (dxgi1_3.h)
Represents a swap chain that is used by desktop media apps to decode video data and show it on a DirectComposition surface.
Inheritance
The IDXGIDecodeSwapChain interface inherits from the IUnknown interface. IDXGIDecodeSwapChain also has these types of members:
Methods
The IDXGIDecodeSwapChain interface has these methods.
IDXGIDecodeSwapChain::GetColorSpace Gets the color space used by the swap chain. |
IDXGIDecodeSwapChain::GetDestSize Gets the size of the destination surface to use for the video processing blit operation. |
IDXGIDecodeSwapChain::GetSourceRect Gets the source region that is used for the swap chain. |
IDXGIDecodeSwapChain::GetTargetRect Gets the rectangle that defines the target region for the video processing blit operation. |
IDXGIDecodeSwapChain::PresentBuffer Presents a frame on the output adapter. |
IDXGIDecodeSwapChain::SetColorSpace Sets the color space used by the swap chain. (IDXGIDecodeSwapChain.SetColorSpace) |
IDXGIDecodeSwapChain::SetDestSize Sets the size of the destination surface to use for the video processing blit operation. |
IDXGIDecodeSwapChain::SetSourceRect Sets the rectangle that defines the source region for the video processing blit operation. |
IDXGIDecodeSwapChain::SetTargetRect Sets the rectangle that defines the target region for the video processing blit operation. |
Remarks
Decode swap chains are intended for use primarily with YUV surface formats. When using decode buffers created with an RGB surface format, the TargetRect and DestSize must be set equal to the buffer dimensions. SourceRect cannot exceed the buffer dimensions.
In clone mode, the decode swap chain is only guaranteed to be shown on the primary output.
Decode swap chains cannot be used with dirty rects.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |