PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMDESTRECT callback function (d3d10umddi.h)
Sets the destination rectangle for an input stream on the video processor.
Syntax
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMDESTRECT Pfnd3d111DdiVideoprocessorsetstreamdestrect;
void Pfnd3d111DdiVideoprocessorsetstreamdestrect(
D3D10DDI_HDEVICE unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
UINT unnamedParam3,
BOOL unnamedParam4,
const RECT *unnamedParam5
)
{...}
Parameters
unnamedParam1
hDevice [in]
A handle to the display device (graphics context).
unnamedParam2
hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
unnamedParam3
StreamIndex [in]
The zero-based index of the input stream.
unnamedParam4
Enable [in]
If TRUE, the destination rectangle specified by the pDestRect parameter should be used by the video processor.
unnamedParam5
pDestRect [in]
A pointer to a RECT structure that specifies the destination rectangle.
Return value
None
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |