VideoProcessorSetStreamDestRect function
Sets the destination rectangle for an input stream on the video processor.
Syntax
VOID APIENTRY* VideoProcessorSetStreamDestRect(
_In_ D3D10DDI_HDEVICE hDevice,
_In_ D3D11_1DDI_HVIDEOPROCESSOR hVideoProcessor,
_In_ UINT StreamIndex,
_In_ BOOL Enable,
_In_ const RECT *pDestRect
);
Parameters
hDevice [in]
A handle to the display device (graphics context).hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.StreamIndex [in]
The zero-based index of the input stream.Enable [in]
If TRUE, the destination rectangle specified by the pDestRect parameter should be used by the video processor.pDestRect [in]
A pointer to a RECT structure that specifies the destination rectangle.Note If the Enable parameter is FALSE, this parameter is ignored.
Return value
This function does not return a value.
Remarks
The destination rectangle is the portion of the output surface that receives the bit-block transfer (bitblt) for the specified input stream. The destination rectangle is given in pixel coordinates, relative to the output surface.
The default destination rectangle is an empty rectangle (0, 0, 0, 0). If the VideoProcessorSetStreamDestRect function is never called, or if the Enable parameter is FALSE, no data is written from the specified input stream.
Requirements
Minimum supported client |
Windows 8 |
Minimum supported server |
Windows Server 2012 |
Header |
D3d10umddi.h (include D3d10umddi.h) |
See also
Send comments about this topic to Microsoft
Build date: 10/12/2013