EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

ICCOMPRESSFRAMES structure

The ICCOMPRESSFRAMES structure contains compression parameters used with the ICM_COMPRESS_FRAMES_INFO message.

Syntax


typedef struct {
  DWORD              dwFlags;
  LPBITMAPINFOHEADER lpbiOutput;
  LPARAM             lOutput;
  LPBITMAPINFOHEADER lpbiInput;
  LPARAM             lInput;
  LONG               lStartFrame;
  LONG               lFrameCount;
  LONG               lQuality;
  LONG               lDataRate;
  LONG               lKeyRate;
  DWORD              dwRate;
  DWORD              dwScale;
  DWORD              dwOverheadPerFrame;
  DWORD              dwReserved2;
  LONG               (CALLBACK *GetData)(LPARAM, LONG, LPVOID, LONG);
  LONG               (CALLBACK *PutData)(LPARAM, LONG, LPVOID, LONG);
} ICCOMPRESSFRAMES;

Members

dwFlags

Applicable flags. The following value is defined: ICCOMPRESSFRAMES_PADDING. If this value is used, padding is used with the frame.

lpbiOutput

Pointer to a BITMAPINFOHEADER structure containing the output format.

lOutput

Reserved; do not use.

lpbiInput

Pointer to a BITMAPINFOHEADER structure containing the input format.

lInput

Reserved; do not use.

lStartFrame

Number of the first frame to compress.

lFrameCount

Number of frames to compress.

lQuality

Quality setting.

lDataRate

Maximum data rate, in bytes per second.

lKeyRate

Maximum number of frames between consecutive key frames.

dwRate

Compression rate in an integer format. To obtain the rate in frames per second, divide this value by the value in dwScale.

dwScale

Value used to scale dwRate to frames per second.

dwOverheadPerFrame

Reserved; do not use.

dwReserved2

Reserved; do not use.

GetData

Reserved; do not use.

PutData

Reserved; do not use.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Vfw.h

See also

Video Compression Manager
Video Compression Structures
BITMAPINFOHEADER
ICM_COMPRESS_FRAMES_INFO
Video Compression Manager

 

 

커뮤니티 추가 항목

표시:
© 2014 Microsoft