Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Enables or disables rotation on an input stream of the video processor.
Syntax
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION Pfnd3d111DdiVideoprocessorsetstreamrotation;
void Pfnd3d111DdiVideoprocessorsetstreamrotation(
D3D10DDI_HDEVICE unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
UINT unnamedParam3,
BOOL unnamedParam4,
D3D11_1DDI_VIDEO_PROCESSOR_ROTATION 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
Rotation [in]
The clockwise degrees of rotation as specified by a D3D11_1DDI_VIDEO_PROCESSOR_ROTATION enumeration value.
unnamedParam5
Enable [in]
If TRUE, rotation is enabled on the input stream. Otherwise, rotation is disabled on the input stream.
Return value
None
Remarks
The stream source rectangle will be specified in the pre-rotation coordinates (typically landscape) and the stream destination rectangle will be specified in the post-rotation coordinates (typically portrait).
The application must update the stream destination rectangle correctly when using a rotation value other than 0 or 180 degrees.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | d3d10umddi.h (include D3d10umddi.h) |