Compartilhar via


IAMVideoAccelerator Interface

 
Microsoft DirectShow 9.0

IAMVideoAccelerator Interface

The IAMVideoAccelerator interface enables a video decoder filter to access DirectX Video Acceleration (DXVA) 1.0 functionality. Applications should not call methods on this interface.

The Video Mixing Renderer filter's input pins support this interface, and so does pin 0 on the Overlay Mixer. If a video decoder filter calls methods on this interface, the decoder should support the IAMVideoAcceleratorNotify interface on its output pin. For more information on how to use this interface, see How Decoders Use IAMVideoAccelerator.

  • Note   This interface is available in Microsoft® Windows® 2000 and later.

In addition to the methods inherited from IUnknown, the IAMVideoAccelerator interface exposes the following methods.

Method Description
GetVideoAcceleratorGUIDs Retrieves a list of the GUIDs for the video accelerator formats accepted.
GetUncompFormatsSupported Retrieves a list of pixel formats that can be used to render a specified video accelerator format.
GetInternalMemInfo Retrieves information about the uncompressed data memory requirements, based on the video accelerator GUID, the uncompressed size, and the pixel format.
GetCompBufferInfo Retrieves compressed buffer information.
GetInternalCompBufferInfo Called after the pins are connected, retrieving compressed buffer information given the connected type.
BeginFrame Begins frame processing.
EndFrame Ends frame processing and passes miscellaneous data to the video accelerator driver.
GetBuffer Retrieves the compressed buffer of a specified index and type.
ReleaseBuffer Releases a compressed buffer after processing.
Execute Performs a decompression operation.
QueryRenderStatus Queries the processing status of a data buffer.
DisplayFrame Displays a decoded frame.

Requirements

Header: Include videoacc.h.

Library: Use Strmiids.lib.