ICINFO structure (vfw.h)

The ICINFO structure contains compression parameters supplied by a video compression driver. The driver fills or updates the structure when it receives the ICM_GETINFO message.

Syntax

typedef struct {
  DWORD dwSize;
  DWORD fccType;
  DWORD fccHandler;
  DWORD dwFlags;
  DWORD dwVersion;
  DWORD dwVersionICM;
  WCHAR szName[16];
  WCHAR szDescription[128];
  WCHAR szDriver[128];
} ICINFO;

Members

dwSize

Size, in bytes, of the ICINFO structure.

fccType

Four-character code indicating the type of stream being compressed or decompressed. Specify "VIDC" for video streams.

fccHandler

A four-character code identifying a specific compressor.

dwFlags

Applicable flags. Zero or more of the following flags can be set:

Name Description
VIDCF_COMPRESSFRAMES
Driver is requesting to compress all frames. For information about compressing all frames, see the ICM_COMPRESS_FRAMES_INFO message.
VIDCF_CRUNCH
Driver supports compressing to a frame size.
VIDCF_DRAW
Driver supports drawing.
VIDCF_FASTTEMPORALC
Driver can perform temporal compression and maintains its own copy of the current frame. When compressing a stream of frame data, the driver doesn't need image data from the previous frame.
VIDCF_FASTTEMPORALD
Driver can perform temporal decompression and maintains its own copy of the current frame. When decompressing a stream of frame data, the driver doesn't need image data from the previous frame.
VIDCF_QUALITY
Driver supports quality values.
VIDCF_TEMPORAL
Driver supports inter-frame compression.

dwVersion

Version number of the driver.

dwVersionICM

Version of VCM supported by the driver. This member should be set to ICVERSION.

szName[16]

Short version of the compressor name. The name in the null-terminated string should be suitable for use in list boxes.

szDescription[128]

Long version of the compressor name.

szDriver[128]

Name of the module containing VCM compression driver. Normally, a driver does not need to fill this out.

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

ICM_COMPRESS_FRAMES_INFO

ICM_GETINFO

Video Compression Manager

Video Compression Structures