Index   Commented   Search   About

Sequence Compression

Your application can use the ICSeqCompressFrame, ICSeqCompressFrameStart, and ICSeqCompressFrameEnd functions to compress a sequence of frames. These functions use the data stored in the COMPVARS structure. Applications use the ICCompressorChoose function to allow the user to select a compressor, open it, and set the compression parameters in the COMPVARS structure; however, applications can set the parameters in the structure manually.

Before an application can begin compressing a sequence of frames, it must use ICSeqCompressFrameStart to allocate the necessary resources. After the resources are allocated, the application can use ICSeqCompressFrame to compress each frame individually. The frame rate and key-frame frequency used in compressing the sequence are specified in members of the COMPVARS structure. The return value for ICSeqCompressFrame points to the compressed data.

When an application finishes compressing a sequence, it can use ICSeqCompressFrameEnd to free system resources allocated for ICSeqCompressFrameStart. To free the resources allocated for the COMPVARS structure, the application can use the ICCompressorFree function.

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun