Microsoft DirectX 8.1 (C++)

IAMVideoAcceleratorNotify::GetUncompSurfacesInfo

The GetUncompSurfacesInfo method retrieves the decompressed buffer information for a given video accelerator GUID.

Syntax

HRESULT GetUncompSurfacesInfo(
  const GUID *pGuid,
  LPAMVAUncompBufferInfo pUncompBufferInfo
);

Parameters

pGuid

[in] Pointer to a GUID identifying the video accelerator for which information is returned.

pUncompBufferInfo

[in, out] Pointer to a AMVAUncompBufferInfo structure containing uncompressed surface information.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. HRESULT can include one of the following standard constants, or other values not listed.

Return code Description
E_FAIL Failure.
E_INVALIDARG Argument is invalid.
E_NOTIMPL Method is not supported.
E_POINTER Null pointer argument.
S_OK Success.

Remarks

Calling this method returns the video decoder's requirements for the minimum and maximum number of surfaces, as well as the pixel format. This method provides information necessary to allocate uncompressed data buffers.

See Also