IAMVideoAcceleratorNotify::GetUncompSurfacesInfo

 
Microsoft DirectShow 9.0

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.

Requirements

Header: Include videoacc.h.

Library: Use Strmiids.lib.

See Also