Skip to main content

Windows Dev Center

ID3D11VideoContext::VideoProcessorSetStreamFrameFormat method

Specifies whether an input stream on the video processor contains interlaced or progressive frames.

Syntax


void VideoProcessorSetStreamFrameFormat(
  [in] ID3D11VideoProcessor     *pVideoProcessor,
  [in] UINT                     StreamIndex,
       D3D11_VIDEO_FRAME_FORMAT FrameFormat
);

Parameters

pVideoProcessor [in]

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

StreamIndex [in]

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

FrameFormat

A D3D11_VIDEO_FRAME_FORMAT value that specifies the interlacing.

Return value

This method does not return a value.

Remarks

Windows Phone 8: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

D3d11.h

See also

ID3D11VideoContext