ID3D11VideoContext1::VideoProcessorSetStreamMirror method

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

pVideoProcessor [in]

Type: ID3D11VideoProcessor*

A pointer to the ID3D11VideoProcessor interface.

StreamIndex [in]

Type: UINT

An index identifying the input stream.

Enable [in]

Type: BOOL

True if mirroring should be enabled; otherwise, false.

FlipHorizontal [in]

Type: BOOL

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

FlipVertical [in]

Type: BOOL

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

Return value

This method does not return a value.

Remarks

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

  • Rotation
  • Mirroring
  • Source clipping

Requirements

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

D3d11_1.h

See also

ID3D11VideoContext1

 

 

Show: