Bewerken

Delen via


D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING structure (d3d10umddi.h)

D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING describes the details of a video decoder downsampling operation.

Syntax

typedef struct D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING {
  [in]  const D3D11_1DDI_VIDEO_DECODER_DESC   *pInputDesc;
  [in]  D3DDDI_COLOR_SPACE_TYPE               InputColorSpace;
  [in]  const D3D11_1DDI_VIDEO_DECODER_CONFIG *pInputConfig;
  [in]  const DXGI_RATIONAL                   *pFrameRate;
  [in]  const D3D11_1DDI_VIDEO_DECODER_DESC   *pOutputDesc;
  [in]  D3DDDI_COLOR_SPACE_TYPE               OutputColorSpace;
  [out] BOOL                                  Supported;
  [out] BOOL                                  RealTime;
} D3DWDDM2_0DDI_VIDEO_CAPABILITY_DECODER_DOWNSAMPLING;

Members

[in] 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).

[in] InputColorSpace

Contains the color space information of the reference frame data.

[in] pInputConfig

A D3D11_1DDI_VIDEO_DECODER_CONFIG structure that contains the configuration data associated with the decode profile .

[in] pFrameRate

Contains the frame rate of the video content.

[in] pOutputDesc

A D3D11_1DDI_VIDEO_DECODER_DESC structure that contains the resolution and the format of the display frames. This is the destination resolution and format of the down sample operation.

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

[in] OutputColorSpace

Contains the color space information of the display frame data.

[out] Supported

The driver sets this to TRUE if the requested down sampling is supported. Otherwise, the driver should set this to FALSE.

[out] RealTime

The driver sets this to TRUE if the requested down sampling is supported and the resulting decode operations can occur in real-time. Otherwise, the driver should set this to FALSE.

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

D3D11_1DDI_VIDEO_DECODER_CONFIG

D3D11_1DDI_VIDEO_DECODER_DESC

D3DDDI_COLOR_SPACE_TYPE