PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTTARGETRECT callback function (d3d10umddi.h)
Sets the target rectangle for the video processor.
Syntax
PFND3D11_1DDI_VIDEOPROCESSORSETOUTPUTTARGETRECT Pfnd3d111DdiVideoprocessorsetoutputtargetrect;
void Pfnd3d111DdiVideoprocessorsetoutputtargetrect(
D3D10DDI_HDEVICE unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
BOOL unnamedParam3,
const RECT *unnamedParam4
)
{...}
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
Enable [in]
If TRUE, the target rectangle specified by the pOutputRect parameter should be used by the video processor.
unnamedParam4
pOutputRect [in]
A pointer to a RECT structure that specifies the target rectangle.
Return value
None
Remarks
The target rectangle is the area within the destination surface where the output will be drawn. The target rectangle is given in pixel coordinates, relative to the destination surface.
If this function is never called, or if the Enable parameter is FALSE, the video processor writes to the entire destination surface.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |