Skip to content

Latest commit

 

History

History
156 lines (113 loc) · 3.75 KB

nf-vfw-icdecompressex.md

File metadata and controls

156 lines (113 loc) · 3.75 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:vfw.ICDecompressEx
ICDecompressEx function (vfw.h)
The ICDecompressEx function decompresses a single video frame.
ICDecompressEx
ICDecompressEx function [Windows Multimedia]
_win32_ICDecompressEx
multimedia.icdecompressex
vfw/ICDecompressEx
multimedia\icdecompressex.htm
Multimedia
a7ae0409-e89d-400a-a601-edc8e6e3fbcc
12/05/2018
ICDecompressEx, ICDecompressEx function [Windows Multimedia], _win32_ICDecompressEx, multimedia.icdecompressex, vfw/ICDecompressEx
vfw.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
Windows
19H1
ICDecompressEx
vfw/ICDecompressEx
c++
APIRef
kbSyntax
HeaderDef
Vfw.h
ICDecompressEx

ICDecompressEx function

-description

The ICDecompressEx function decompresses a single video frame.

-parameters

-param hic

Handle to the decompressor.

-param dwFlags

Decompression flags. The following values are defined.

Value Meaning
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.

-param lpbiSrc

Pointer to a BITMAPINFOHEADER structure containing the format of the compressed data.

-param lpSrc

Pointer to the input data.

-param xSrc

The x-coordinate of the source rectangle for the DIB specified by lpbiSrc.

-param ySrc

The y-coordinate of the source rectangle for the DIB specified by lpbiSrc.

-param dxSrc

Width of the source rectangle.

-param dySrc

Height of the source rectangle.

-param lpbiDst

Pointer to a BITMAPINFOHEADER structure containing the output format.

-param lpDst

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

-param xDst

The x-coordinate of the destination rectangle for the DIB specified by lpbiDst.

-param yDst

The y-coordinate of the destination rectangle for the DIB specified by lpbiDst.

-param dxDst

Width of the destination rectangle.

-param dyDst

Height of the destination rectangle.

-returns

Returns ICERR_OK if successful or an error otherwise.

-remarks

Typically, applications use the ICDECOMPRESS_PREROLL flag to seek to a key frame in a compressed stream. The flag is sent with the key frame and with subsequent frames required to decompress the desired frame.

-see-also

Video Compression Functions

Video Compression Manager