DXVAHD_VPDEVCAPS structure (dxvahd.h)
Specifies the capabilities of a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.
typedef struct _DXVAHD_VPDEVCAPS {
DXVAHD_DEVICE_TYPE DeviceType;
UINT DeviceCaps;
UINT FeatureCaps;
UINT FilterCaps;
UINT InputFormatCaps;
D3DPOOL InputPool;
UINT OutputFormatCount;
UINT InputFormatCount;
UINT VideoProcessorCount;
UINT MaxInputStreams;
UINT MaxStreamStates;
} DXVAHD_VPDEVCAPS;
DeviceType
Specifies the device type, as a member of the DXVAHD_DEVICE_TYPE enumeration.
DeviceCaps
A bitwise OR of zero or more flags from the DXVAHD_DEVICE_CAPS enumeration.
FeatureCaps
A bitwise OR of zero or more flags from the DXVAHD_FEATURE_CAPS enumeration.
FilterCaps
A bitwise OR of zero or more flags from the DXVAHD_FILTER_CAPS enumeration.
InputFormatCaps
A bitwise OR of zero or more flags from the DXVAHD_INPUT_FORMAT_CAPS enumeration.
InputPool
The memory pool that is required for the input video surfaces.
OutputFormatCount
The number of supported output formats. To get the list of output formats, call the IDXVAHD_Device::GetVideoProcessorOutputFormats method.
InputFormatCount
The number of supported input formats. To get the list of input formats, call the IDXVAHD_Device::GetVideoProcessorInputFormats method.
VideoProcessorCount
The number of video processors. Each video processor represents a distinct set of processing capabilities. To get the capabilities of each video processor, call the IDXVAHD_Device::GetVideoProcessorCaps method. To create a video processor, call the IDXVAHD_Device::CreateVideoProcessor method.
MaxInputStreams
The maximum number of input streams that can be enabled at the same time.
MaxStreamStates
The maximum number of input streams for which the device can store state data.
In DXVA-HD, the device stores state information for each input stream. These states persist between blits. With each blit, the application selects which streams to enable or disable. Disabling a stream does not affect the state information for that stream.
The MaxStreamStates member gives the maximum number of stream states that can be set by the application. The MaxInputStreams member gives the maximum number of streams that can be enabled during a blit. These two values can differ.
To set the state data for a stream, call IDXVAHD_VideoProcessor::SetVideoProcessStreamState.
Requirement | Value |
---|---|
Minimum supported client | Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | dxvahd.h |