ICDECOMPRESS structure (vfw.h)

The ICDECOMPRESS structure contains decompression parameters used with the ICM_DECOMPRESS message.

Syntax

typedef struct {
  DWORD              dwFlags;
  LPBITMAPINFOHEADER lpbiInput;
  LPVOID             lpInput;
  LPBITMAPINFOHEADER lpbiOutput;
  LPVOID             lpOutput;
  DWORD              ckid;
} ICDECOMPRESS;

Members

dwFlags

Applicable flags. The following values are defined:

Name Description
ICDECOMPRESS_HURRYUP
Tries 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_NOTKEYFRAME
Current frame is not a key frame.
ICDECOMPRESS_NULLFRAME
Current frame does not contain data and the decompressed image should be left the same.
ICDECOMPRESS_PREROLL
Current frame precedes the point in the movie where playback starts and, therefore, will not be drawn.
ICDECOMPRESS_UPDATE
Screen is being updated or refreshed.

lpbiInput

Pointer to a BITMAPINFOHEADER structure containing the input format.

lpInput

Pointer to a buffer containing the input data.

lpbiOutput

Pointer to a BITMAPINFOHEADER structure containing the output format.

lpOutput

Pointer to a buffer where the driver should write the decompressed image.

ckid

Chunk identifier from the AVI file.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header vfw.h

See also

BITMAPINFOHEADER

ICM_DECOMPRESS

Video Compression Manager

Video Compression Structures