Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ICDecompress function

The ICDecompress function decompresses a single video frame.

Syntax


DWORD ICDecompress(
  HIC hic,
  DWORD dwFlags,
  LPBITMAPINFOHEADER lpbiFormat,
  LPVOID lpData,
  LPBITMAPINFOHEADER lpbi,
  LPVOID lpBits
);

Parameters

hic

Handle to the decompressor to use.

dwFlags

Applicable decompression flags. The following values are defined.

Value Meaning
ICDECOMPRESS_HURRYUPTries to decompress at a faster rate. When an application uses this flag, the driver should buffer the decompressed data but not draw the image.
ICDECOMPRESS_NOTKEYFRAMECurrent frame is not a key frame.
ICDECOMPRESS_NULLFRAMECurrent frame does not contain data and the decompressed image should be left the same.
ICDECOMPRESS_PREROLLCurrent frame precedes the point in the movie where playback starts and, therefore, will not be drawn.
ICDECOMPRESS_UPDATEScreen is being updated or refreshed.

 

lpbiFormat

Pointer to a BITMAPINFOHEADER structure containing the format of the compressed data.

lpData

Pointer to the input data.

lpbi

Pointer to a BITMAPINFOHEADER structure containing the output format.

lpBits

Pointer to a buffer that is large enough to contain the decompressed data.

Return value

Returns ICERR_OK if successful or an error otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

Library

Vfw32.lib

DLL

Msvfw32.dll

See also

Video Compression Manager
Video Compression Functions

 

 

Community Additions

Show:
© 2015 Microsoft