Bewerken

Delen via


DXVAHDDDI_STREAM_STATE_PRIVATE_DATA structure (d3dumddi.h)

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 {
  [in]     GUID Guid;
  [in]     UINT DataSize;
  [in/out] VOID *pData;
} DXVAHDDDI_STREAM_STATE_PRIVATE_DATA;

Members

[in] Guid

A GUID that identifies the private stream state.

[in] DataSize

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

[in/out] pData

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

Requirement Value
Minimum supported client 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