Export (0) Print
Expand All

IDXVAHD_VideoProcessor::GetVideoProcessStreamState method

Gets the value of a state parameter for an input stream on a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax


HRESULT GetVideoProcessStreamState(
  [in]   UINT StreamNumber,
  [in]   DXVAHD_STREAM_STATE State,
  [in]   UINT DataSize,
  [out]  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 query, specified as a member of the DXVAHD_STREAM_STATE enumeration.

DataSize [in]

The size, in bytes, of the buffer pointed to by pData.

pData [out]

A pointer to a buffer allocated by the caller. The method copies the state data into the buffer. The buffer must be large enough to hold the data structure that corresponds to the state parameter. For more information, see DXVAHD_STREAM_STATE.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Dxvahd.h

See also

DXVA-HD
IDXVAHD_VideoProcessor

 

 

Community Additions

ADD
Show:
© 2015 Microsoft