Index   Commented   Search   About

ICDecompress

The ICDecompress function decompresses a single video frame.

DWORD ICDecompress(

HIC hic,

DWORD dwFlags,

LPBITMAPINFOHEADER lpbiFormat,

LPVOID lpData,

LPBITMAPINFOHEADER lpbi,

LPVOID lpBits

);

Parameters

hic

Handle of the decompressor to use.

dwFlags

Applicable decompression flags. The following values are defined:

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.

lpbiFormat

Address of a BITMAPINFO structure containing the format of the compressed data.

lpData

Address of the input data.

lpbi

Address of a BITMAPINFO structure containing the output format.

lpBits

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

Return Values

Returns ICERR_OK if successful or an error otherwise.

See Also

BITMAPINFO

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