Bewerken

Delen via


D3DWDDM2_0DDI_VIDEO_CAPABILITY_RECOMMEND_DECODER_DOWNSAMPLING structure (d3d10umddi.h)

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. The driver provides these capabilities when its PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES function is called.

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

[in] Pointer to a D3D11_1DDI_VIDEO_DECODER_DESC structure containing 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

[in] A D3DDDI_COLOR_SPACE_TYPE value that specifies the color space information of the reference frame data.

pInputConfig

[in] Pointer to a D3D11_1DDI_VIDEO_DECODER_CONFIG structure containing the configuration data associated with the decode profile.

pFrameRate

[in] Pointer to a DXGI_RATIONAL structure containing the frame rate of the video content.

pOutputDesc

[out] Pointer to a D3D11_1DDI_VIDEO_DECODER_DESC structure in which the driver returns the recommended resolution and the format of the output/display frames.

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

OutputColorSpace

[out] Location in which the driver returns the recommended D3DDDI_COLOR_SPACE_TYPE 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

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

See also

D3DWDDM2_0DDI_VIDEO_CAPABILITY_QUERY

PFND3DWDDM2_0DDI_QUERYVIDEOCAPABILITIES