Bewerken

Delen via


DXVA_VideoSample32 structure (dxva.h)

The DXVA_VideoSample32 structure is used for forwarding 32-bit DXVA_DeinterlaceBltEx calls on 64-bit drivers.

Syntax

typedef struct _DXVA_VideoSample32 {
  REFERENCE_TIME   rtStart;
  REFERENCE_TIME   rtEnd;
  DWORD            SampleFormat;
  DWORD            SampleFlags;
  DWORD            lpDDSSrcSurface;
  RECT             rcSrc;
  RECT             rcDst;
  DXVA_AYUVsample2 Palette[16];
} DXVA_VideoSample32;

Members

rtStart

Specifies the start time of the sample.

rtEnd

Specifies the end time of the sample.

SampleFormat

Specifies the format of the sample as defined by values of the DXVA_ExtendedFormat enumeration type.

SampleFlags

Specifies a collection of flags that indicate changes in the current sample frame from the previous sample frame. This member is a bitwise-OR of one or more of the flags in the DXVA_SampleFlags enumeration type.

lpDDSSrcSurface

Pointer to a DD_SURFACE_LOCAL structure that represents the sample.

rcSrc

Specifies a RECT structure that describes the upper-left and lower-right points of a rectangle on the source surface. These points define the area of the source data for the bit-block transfer and its position on the source surface.

rcDst

Specifies a RECT structure that describes the upper-left and lower-right points of a rectangle on the destination surface. These points define the area in which the bit-block transfer should occur and its position on the destination surface.

Palette[16]

Specifies an array of DXVA_AYUVsample2 structures that represent a complete 16-color palette for palletized video substream pixel formats. The driver uses this palette to composite the substream sample. For nonpalletized pixel formats, the palette is zero and can be ignored.

Remarks

The compiler adds 4 bytes of padding to align the structure to 8 bytes.

Requirements

Requirement Value
Minimum supported client This structure applies only to Windows Server 2003 with SP1 and later, and Windows XP with SP2 and later.Only compiles for a 64-bit version of the operating system.
Header dxva.h (include Dxva.h)

See also

DD_SURFACE_LOCAL

DXVA_AYUVsample2

DXVA_DeinterlaceBltEx

DXVA_ExtendedFormat

DXVA_SampleFlags

DXVA_SampleFormat

RECT