// dxva.h
typedef struct _DXVA_DeinterlaceCaps {
DWORD Size;
DWORD NumPreviousOutputFrames;
DWORD InputPool;
DWORD NumForwardRefSamples;
DWORD NumBackwardRefSamples;
D3DFORMAT d3dOutputFormat;
DXVA_VideoProcessCaps VideoProcessingCaps;
DXVA_DeinterlaceTech DeinterlaceTechnology;
} DXVA_DeinterlaceCaps, *LPDXVA_DeinterlaceCaps;
View the official Windows Driver Kit DDI referenceNo description available.
The DXVA_DeinterlaceCaps structure describes the driver capabilities for a deinterlace mode.
SizeIndicates the size of this structure.
NumPreviousOutputFramesIndicates the number of required frames previously output by the deinterlace algorithm. This member is used by recursive deinterlace algorithms.
InputPoolIndicates the memory pool from which the interlaced source surfaces should be allocated. For more information, see the D3DPOOL enumeration type in the Microsoft Window SDK documentation.
NumForwardRefSamplesIndicates the required number of forward reference samples for the defined deinterlace mode. These samples will be in future fields. This value is zero for bob and line blending, and can be several values for adaptive deinterlacing and frame-rate conversion.
NumBackwardRefSamplesIndicates the required backward reference samples for the defined deinterlace mode. The samples are in past fields. This value is zero for bob, 1 for line blending, and can be several values for adaptive deinterlacing and frame-rate conversion.
d3dOutputFormatIndicates the Direct3D surface format of the output frames. Usually a deinterlace algorithm outputs frames in a surface format that matches the input sample format. This member ensures that the VMR or other video renderer will be able to supply the correct output frame surfaces to the deinterlace hardware.
Note that if the DXVA_Deinterlace_YUV2RGB enumerator is returned in the DXVA_VideoProcessCaps enumeration, the VMR will assume that valid output formats are specified by this member, in addition to a D3DFMT_X8R8G8B8 format.
VideoProcessingCapsSpecifies a DXVA_VideoProcessCaps enumeration indicating the operation that can be performed concurrently with the requested deinterlace.
DeinterlaceTechnologySpecifies a DXVA_DeinterlaceTech enumeration indicating the deinterlacing technology used by this deinterlacing device.
The driver receives the DXVA_DeinterlaceCaps structure with the Size member assigned, assigns values to the remaining members, and returns DXVA_DeinterlaceCaps to the renderer.