PDXVAHDSW_SetVideoProcessStreamState callback function (dxvahd.h)

Sets a state parameter for an input stream on a software Microsoft DirectX Video Acceleration High Definition (DXVA-HD) video processor.

Syntax

PDXVAHDSW_SetVideoProcessStreamState PdxvahdswSetvideoprocessstreamstate;

HRESULT PdxvahdswSetvideoprocessstreamstate(
  [in] HANDLE hVideoProcessor,
  [in] UINT StreamNumber,
  [in] DXVAHD_STREAM_STATE State,
  [in] UINT DataSize,
  [in] const void *pData
)
{...}

Parameters

[in] hVideoProcessor

A handle to the software DXVA-HD video processor.

[in] StreamNumber

The zero-based index of the input stream.

[in] State

The state parameter to set, specified as a member of the DXVAHD_STREAM_STATE enumeration.

[in] DataSize

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

[in] pData

A pointer to a buffer that contains the state data.

Return value

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

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header dxvahd.h

See also

DXVA-HD

DXVAHDSW_CALLBACKS

IDXVAHD_VideoProcessor::SetVideoProcessStreamState

Media Foundation Functions