D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING structure

D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING is used by the user-mode driver to recommend downsampling parameters that can be used to decode the stream in real-time.

Syntax

typedef struct D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING {
  const D3D11_1DDI_VIDEO_DECODER_DESC   *pInputDesc;
  D3DDDI_COLOR_SPACE_TYPE               InputColorSpace;
  const D3D11_1DDI_VIDEO_DECODER_CONFIG *pInputConfig;
  const DXGI_RATIONAL                   *pFrameRate;
  D3D11_1DDI_VIDEO_DECODER_DESC         *pOutputDesc;
  D3DDDI_COLOR_SPACE_TYPE               OutputColorSpace;
} D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING;

Members

pInputDesc

Contains the decode profile used and the resolution and format of the reference frames. This is the resolution/format to be downsampled (e.g. 4K, DXGI_FORMAT_P010).

InputColorSpace

Contains the color space information of the reference frame data.

pInputConfig

Contains the configuration data associated with the decode profile.

pFrameRate

Contains the frame rate of the video content.

pOutputDesc

The driver returns the recommended resolution and the format of the output/display frames.

Note  The decode profile (Guid) member of pOutputDesc can be ignored.
 

OutputColorSpace

The driver returns the recommended color space information of the display frame data.

Remarks

The driver recommends the down sample parameters such that the video stream can be decoded in real-time. If no down sample solution exists that can result in real-time decode, the driver should recommend the configuration that is closest to the real-time solution.

Requirements

   
Minimum supported client Windows 10
Minimum supported server Windows Server 2016
Header d3d10umddi.h (include D3d10umddi.h)