IAMVideoAccelerator::GetInternalMemInfo

 
Microsoft DirectShow 9.0

IAMVideoAccelerator::GetInternalMemInfo

The GetInternalMemInfo method retrieves information about the uncompressed data memory requirements, based on the video accelerator GUID, the uncompressed size, and the pixel format.

Syntax

  HRESULT GetInternalMemInfo(
  const GUID *pGuid,
  const AMVAUncompDataInfo *pamvaUncompDataInfo,
  LPAMVAInternalMemInfo pamvaInternalMemInfo
);

Parameters

pGuid

[in] Pointer to a video accelerator GUID.

pamvaUncompDataInfo

[in] Pointer to an AMVAUncompDataInfo structure containing the size and pixel format of the uncompressed data.

pamvaInternalMemInfo

[in, out] Pointer to an AMVAInternalMemInfo structure containing information on the scratch memory requirement.

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.

Requirements

Header: Include videoacc.h.

Library: Use Strmiids.lib.

See Also