Bewerken

Delen via


DXVA_ProcAmpControlBlt structure (dxva.h)

The DXVA_ProcAmpControlBlt structure contains the ProcAmp adjustment data that is output to the destination surface.

Syntax

typedef struct _DXVA_ProcAmpControlBlt {
  DWORD Size;
  RECT  DstRect;
  RECT  SrcRect;
  FLOAT Alpha;
  FLOAT Brightness;
  FLOAT Contrast;
  FLOAT Hue;
  FLOAT Saturation;
} DXVA_ProcAmpControlBlt;

Members

Size

Specifies the size of this structure in bytes.

DstRect

Specifies the destination rectangle as a RECT structure. The destination rectangle is required for subrectangle stretching. Support for stretching is optional and is reported by the DXVA_ProcAmpControlCaps structure. Support for subrectangles is optional.

SrcRect

Specifies the source rectangle as a RECT structure. The source rectangle is required for subrectangle stretching.sub Support for stretching is optional and is reported by the DXVA_ProcAmpControlCaps structure. Support for subrectangles is also optional.

Alpha

Specifies the transparency of the output image as it is written to the destination surface. A value of 0.0F indicates transparent. A value of 1.0F indicates opaque.

Brightness

Specifies the brightness of the output image as it is written to the destination surface.

Contrast

Specifies the contrast of the output image as it is written to the destination surface.

Hue

Specifies the hue of the output image as it is written to the destination surface.

Saturation

Specifies the saturation of the output image as it is written to the destination surface.

Requirements

Requirement Value
Minimum supported client DirectX 9.0 and later versions only.
Header dxva.h (include Dxva.h)

See also

DXVA_ProcAmpControlCaps

DXVA_ProcAmpControlQueryRange