ID3D11VideoContext1::VideoProcessorSetStreamMirror method (d3d11_1.h)

Specifies whether the video processor input stream should be flipped vertically or horizontally.

Syntax

void VideoProcessorSetStreamMirror(
  [in] ID3D11VideoProcessor *pVideoProcessor,
  [in] UINT                 StreamIndex,
  [in] BOOL                 Enable,
  [in] BOOL                 FlipHorizontal,
  [in] BOOL                 FlipVertical
);

Parameters

[in] pVideoProcessor

Type: ID3D11VideoProcessor*

A pointer to the ID3D11VideoProcessor interface.

[in] StreamIndex

Type: UINT

An index identifying the input stream.

[in] Enable

Type: BOOL

True if mirroring should be enabled; otherwise, false.

[in] FlipHorizontal

Type: BOOL

True if the stream should be flipped horizontally; otherwise, false.

[in] FlipVertical

Type: BOOL

True if the stream should be flipped vertically; otherwise, false.

Return value

None

Remarks

When used in combination, transformations on the processor input stream should be applied in the following order:

  • Rotation
  • Mirroring
  • Source clipping

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header d3d11_1.h

See also

ID3D11VideoContext1