Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PDXVAHDSW_SetVideoProcessStreamState function pointer

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

Syntax


typedef HRESULT ( CALLBACK *PDXVAHDSW_SetVideoProcessStreamState)(
  _In_       HANDLE              hVideoProcessor,
  _In_       UINT                StreamNumber,
  _In_       DXVAHD_STREAM_STATE State,
  _In_       UINT                DataSize,
  _In_ const void                *pData
);

Parameters

hVideoProcessor [in]

A handle to the software DXVA-HD video processor.

StreamNumber [in]

The zero-based index of the input stream.

State [in]

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

DataSize [in]

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

pData [in]

A pointer to a buffer that contains the state data.

Return value

If this function pointer 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
Media Foundation Functions
DXVAHDSW_CALLBACKS
IDXVAHD_VideoProcessor::SetVideoProcessStreamState

 

 

Show:
© 2017 Microsoft