展开 最小化

DXVAHDDDI_STREAM_STATE_PRIVATE_DATA structure

The DXVAHDDDI_STREAM_STATE_PRIVATE_DATA structure describes stream-state data that specifies a private stream state.

Syntax


typedef struct _DXVAHDDDI_STREAM_STATE_PRIVATE_DATA {
  GUID Guid;
  UINT DataSize;
  VOID *pData;
} DXVAHDDDI_STREAM_STATE_PRIVATE_DATA;

Members

Guid

[in] A GUID that identifies the private stream state.

DataSize

[in] The size, in bytes, of the private stream-state data.

pData

[in/out] A pointer to the private stream-state data. The caller sets pData to NULL to retrieve the size of the private stream-state data.

Remarks

Unlike other stream states (DXVAHDDDI_STREAM_STATE), the Direct3D runtime does not maintain the private stream state. An application and the driver communicates the private stream state directly through a proprietary manner, which consists of setting and retrieving the private stream state.

To set private stream state, the application causes the Direct3D runtime to specify the DXVAHDDDI_STREAM_STATE_PRIVATE state in the State member of the D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE structure in a call to the driver's SetVideoProcessStreamState function. To retrieve private stream state, the application causes the Direct3D runtime to call the driver's GetVideoProcessStreamStatePrivate function.

Requirements

Version

DXVAHDDDI_STREAM_STATE_PRIVATE_DATA is supported beginning with the Windows 7 operating system.

Header

D3dumddi.h (include D3dumddi.h)

See also

D3DDDIARG_DXVAHD_SETVIDEOPROCESSSTREAMSTATE
DXVAHDDDI_STREAM_STATE
GetVideoProcessStreamStatePrivate
SetVideoProcessStreamState

 

 

Send comments about this topic to Microsoft

显示:
© 2014 Microsoft