D3D11_VIDEO_PROCESSOR_STREAM structure (d3d11.h)

Contains stream-level data for the ID3D11VideoContext::VideoProcessorBlt method.

Syntax

typedef struct D3D11_VIDEO_PROCESSOR_STREAM {
  BOOL                          Enable;
  UINT                          OutputIndex;
  UINT                          InputFrameOrField;
  UINT                          PastFrames;
  UINT                          FutureFrames;
  ID3D11VideoProcessorInputView **ppPastSurfaces;
  ID3D11VideoProcessorInputView *pInputSurface;
  ID3D11VideoProcessorInputView **ppFutureSurfaces;
  ID3D11VideoProcessorInputView **ppPastSurfacesRight;
  ID3D11VideoProcessorInputView *pInputSurfaceRight;
  ID3D11VideoProcessorInputView **ppFutureSurfacesRight;
} D3D11_VIDEO_PROCESSOR_STREAM;

Members

Enable

Specifies whether this input stream is enabled. If the value is TRUE, the VideoProcessorBlt method blits this stream to the output surface. Otherwise, this stream is not blitted.

The maximum number of streams that can be enabled at one time is given in the MaxInputStreams member of the D3D11_VIDEO_PROCESSOR_CAPS structure.

OutputIndex

The zero-based index number of the output frame.

InputFrameOrField

The zero-based index number of the input frame or field.

PastFrames

The number of past reference frames.

FutureFrames

The number of future reference frames.

ppPastSurfaces

A pointer to an array of ID3D11VideoProcessorInputView pointers, allocated by the caller. This array contains the past reference frames for the video processing operation. The number of elements in the array is equal to PastFrames.

pInputSurface

A pointer to the ID3D11VideoProcessorInputView interface of the surface that contains the current input frame.

ppFutureSurfaces

A pointer to an array of ID3D11VideoProcessorInputView pointers, allocated by the caller. This array contains the future reference frames for the video processing operation. The number of elements in the array is equal to FutureFrames.

ppPastSurfacesRight

If the stereo 3D format is D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE, this member points to an array that contains the past reference frames for the right view. The number of elements in the array is equal to PastFrames.

For any other stereo 3D format, set this member to NULL. For more information, see ID3D11VideoContext::VideoProcessorSetStreamStereoFormat.

pInputSurfaceRight

If the stereo 3D format is D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE, this member contains a pointer to the current input frame for the right view.

For any other stereo 3D format, set this member to NULL.

ppFutureSurfacesRight

If the stereo 3D format is D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE, this member points to an array that contains the future reference frames for the right view. The number of elements in the array is equal to FutureFrames.

For any other stereo 3D format, set this member to NULL.

Remarks

If the stereo 3D format is D3D11_VIDEO_PROCESSOR_STEREO_FORMAT_SEPARATE, the ppPastSurfaces, pInputSurface, and ppFutureSurfaces members contain the left view.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Header d3d11.h

See also

Direct3D 11 Video Structures

ID3D11VideoContext::VideoProcessorBlt