ID3D11VideoContext::VideoProcessorGetStreamFrameFormat method (d3d11.h)

Gets the format of an input stream on the video processor.

Syntax

void VideoProcessorGetStreamFrameFormat(
  [in]  ID3D11VideoProcessor     *pVideoProcessor,
  [in]  UINT                     StreamIndex,
  [out] D3D11_VIDEO_FRAME_FORMAT *pFrameFormat
);

Parameters

[in] pVideoProcessor

A pointer to the ID3D11VideoProcessor interface. To get this pointer, call ID3D11VideoDevice::CreateVideoProcessor.

[in] StreamIndex

The zero-based index of the input stream. To get the maximum number of streams, call ID3D11VideoProcessorEnumerator::GetVideoProcessorCaps and check the MaxStreamStates structure member.

[out] pFrameFormat

Receives a D3D11_VIDEO_FRAME_FORMAT value that specifies whether the stream contains interlaced or progressive frames.

Return value

None

Requirements

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

See also

ID3D11VideoContext