D3DDDI_MULTIPLANE_OVERLAY_ATTRIBUTES structure

Used by the user-mode display driver to specify overlay plane attributes.

Syntax


typedef struct _D3DDDI_MULTIPLANE_OVERLAY_ATTRIBUTES {
  UINT                                         Flags;
  RECT                                         SrcRect;
  RECT                                         DstRect;
#if (D3D_UMD_INTERFACE_VERSION >= D3D_UMD_INTERFACE_VERSION_WDDM1_3)
  RECT                                         ClipRect;
#endif 
  D3DDDI_ROTATION                              Rotation;
  D3DDDI_MULTIPLANE_OVERLAY_BLEND              Blend;
#if (D3D_UMD_INTERFACE_VERSION >= D3D_UMD_INTERFACE_VERSION_WDDM1_3)
  UINT                                         DirtyRectCount;
  RECT                                         *pDirtyRects;
#else 
  UINT                                         NumFilters;
  void                                         *pFilters;
#endif 
  D3DDDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT VideoFrameFormat;
  UINT                                         YCbCrFlags;
#if (D3D_UMD_INTERFACE_VERSION >= D3D_UMD_INTERFACE_VERSION_WDDM1_3)
  D3DDDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY    StretchQuality;
#endif 
} D3DDDI_MULTIPLANE_OVERLAY_ATTRIBUTES;

Members

Flags

Specifies a flip operation as one of the applicable values in the D3DDDI_MULTIPLANE_OVERLAY_FLAGS enumeration.

SrcRect

Specifies the source rectangle, of type RECT, relative to the source resource.

DstRect

Specifies the destination rectangle, of type RECT, relative to the monitor resolution.

ClipRect

Specifies any additional clipping, of type RECT, relative to the DstRect rectangle, after the data has been stretched according to the values of SrcRect and DstRect.

The driver and hardware can use the ClipRect member to apply a common stretch factor as the clipping changes when an app occludes part of the DstRect destination rectangle.

Rotation

Specifies the clockwise rotation of the overlay plane, given as a value from the D3DDDI_ROTATION enumeration.

Blend

Specifies the blend mode that applies to this overlay plane and the plane beneath it, given as a value from the D3DDDI_MULTIPLANE_OVERLAY_BLEND enumeration.

DirtyRectCount

The number of dirty rectangles specified for the overlay plane. If zero, the entire plane is considered dirty.

pDirtyRects

A pointer to an array of dirty rectangles (RECTs), relative to the source rectangle SrcRect, that indicate the portion of the overlay plane that has changed.

The driver can use this member to perform optimizations, though it's not required to use the dirty rectangle info. However, the driver should never fail a function call based on the provided dirty rectangles.

NumFilters

Optionally specifies the number of filters that the driver and hardware implement on the overlay plane. Note that the operating system ignores this member.

pFilters

An optional pointer to a buffer that specifies the filters that the driver and hardware implement on the overlay plane. Note that the operating system ignores this member.

VideoFrameFormat

Specifies the overlay plane's video frame format, given as a value from the D3DDDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT enumeration.

Note  This value must always be DXGI_DDI_MULIIPLANE_OVERLAY_VIDEO_FRAME_FORMAT_PROGRESSIVE. The operating system does not support the other enumeration values.
 
YCbCrFlags

Specifies YUV range and conversion info given as a value from the D3DDDI_MULTIPLANE_OVERLAY_YCbCr_FLAGS enumeration.

StretchQuality

Specifies the overlay plane's stretch quality, given as a value from the D3DDDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY enumeration.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDI_MULTIPLANE_OVERLAY_BLEND
D3DDDI_MULTIPLANE_OVERLAY_FLAGS
D3DDDI_MULTIPLANE_OVERLAY_STRETCH_QUALITY
D3DDDI_MULTIPLANE_OVERLAY_VIDEO_FRAME_FORMAT
D3DDDI_MULTIPLANE_OVERLAY_YCbCr_FLAGS
D3DDDI_ROTATION
RECT

 

 

Send comments about this topic to Microsoft

Show: