// d3d10umddi.h
PFND3D11_1DDI_VIDEOPROCESSORSETSTREAMROTATION Pfnd3d111DdiVideoprocessorsetstreamrotation;
VOID Pfnd3d111DdiVideoprocessorsetstreamrotation(
D3D10DDI_HDEVICE unnamedParam1,
D3D11_1DDI_HVIDEOPROCESSOR unnamedParam2,
UINT unnamedParam3,
BOOL unnamedParam4,
D3D11_1DDI_VIDEO_PROCESSOR_ROTATION unnamedParam5
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
Enables or disables rotation on an input stream of the video processor.
unnamedParam1hDevice [in]
A handle to the display device (graphics context).
unnamedParam2hVideoProcessor [in]
A handle to the video processor object that was created through a call to the CreateVideoProcessor function.
unnamedParam3StreamIndex [in]
The zero-based index of the input stream.
unnamedParam4Rotation [in]
The clockwise degrees of rotation as specified by a D3D11_1DDI_VIDEO_PROCESSOR_ROTATION enumeration value.
unnamedParam5Enable [in]
If TRUE, rotation is enabled on the input stream. Otherwise, rotation is disabled on the input stream.
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.
D3D11_1DDI_VIDEO_PROCESSOR_ROTATION