// dxva.h
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;
View the official Windows Driver Kit DDI referenceNo description available.
The DXVA_VideoSample32 structure is used for forwarding 32-bit DXVA_DeinterlaceBltEx calls on 64-bit drivers.
rtStartSpecifies the start time of the sample.
rtEndSpecifies the end time of the sample.
SampleFormatSpecifies the format of the sample as defined by values of the DXVA_ExtendedFormat enumeration type.
SampleFlagsSpecifies 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.
lpDDSSrcSurfacePointer to a DD_SURFACE_LOCAL structure that represents the sample.
rcSrcSpecifies 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.
rcDstSpecifies 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.
PaletteSpecifies 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.
The compiler adds 4 bytes of padding to align the structure to 8 bytes.