AMVACompBufferInfo structure (amva.h)
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
The AMVACompBufferInfo structure describes the allocated surfaces and compressed buffer information.
Syntax
typedef struct _tag_AMVACompBufferInfo {
DWORD dwNumCompBuffers;
DWORD dwWidthToCreate;
DWORD dwHeightToCreate;
DWORD dwBytesToAllocate;
DDSCAPS2 ddCompCaps;
DDPIXELFORMAT ddPixelFormat;
} AMVACompBufferInfo, *LPAMVACompBufferInfo;
Members
dwNumCompBuffers
Number of buffers requested for compressed data.
dwWidthToCreate
Width of surface to create.
dwHeightToCreate
Height of surface to create.
dwBytesToAllocate
Total number of bytes used by each surface.
ddCompCaps
DDSCAPS2 structure defining the capabilities of the DirectDraw surface created to store compressed data.
ddPixelFormat
DDPIXELFORMAT structure, describing the pixel format used to create surfaces to store compressed data.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Header | amva.h (include Videoacc.h) |