IDXVAHD_VideoProcessor::SetVideoProcessStreamState method
Sets a state parameter for an input stream on a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.
Syntax
HRESULT SetVideoProcessStreamState( [in] UINT StreamNumber, [in] DXVAHD_STREAM_STATE State, [in] UINT DataSize, [in] const void *pData );
Parameters
- StreamNumber [in]
-
The zero-based index of the input stream. To get the maximum number of streams, call IDXVAHD_Device::GetVideoProcessorDeviceCaps and check the MaxStreamStates member of the DXVAHD_VPDEVCAPS structure.
- State [in]
-
The state parameter to set, specified as a member of the DXVAHD_STREAM_STATE enumeration.
- DataSize [in]
-
The size, in bytes, of the buffer pointed to by pData.
- pData [in]
-
A pointer to a buffer that contains the state data. The meaning of the data depends on the State parameter. Each state has a corresponding data structure; for more information, see DXVAHD_STREAM_STATE. The caller allocates the buffer and fills in the parameter data before calling this method.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
Call this method to set state parameters that apply to individual input streams.
Requirements
|
Minimum supported client |
Windows 7 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 R2 [desktop apps only] |
|
Header |
|
See also