IDXVAHD_VideoProcessor::SetVideoProcessBltState method (dxvahd.h)

Sets a state parameter for a blit operation by a Microsoft DirectX Video Acceleration High Definition (DXVA-HD) device.

Syntax

HRESULT SetVideoProcessBltState(
  [in] DXVAHD_BLT_STATE State,
  [in] UINT             DataSize,
  [in] const void       *pData
);

Parameters

[in] State

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

[in] DataSize

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

[in] pData

A pointer to a buffer that contains the state data. The meaning of the data depends on the State parameter. Each state has a corresponding data structure; for more information, see DXVAHD_BLT_STATE. The caller allocates the buffer and fills in the parameter data before calling this method.

Return value

If this method 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

IDXVAHD_VideoProcessor