Export (0) Print
Expand All
max
min
Expand Minimize
This topic has not yet been rated - Rate this topic

ICCompressGetSize macro

The ICCompressGetSize macro requests that the video compression driver supply the maximum size of one frame of data when compressed into the specified output format. You can use this macro or explicitly call the ICM_COMPRESS_GET_SIZE message.

Syntax


DWORD ICCompressGetSize(
   hic,
   lpbiInput,
   lpbiOutput
);

Parameters

hic

Handle to a compressor.

lpbiInput

Pointer to a BITMAPINFO structure containing the input format.

lpbiOutput

Pointer to a BITMAPINFO structure containing the output format.

Return value

Returns the maximum number of bytes a single compressed frame can occupy.

Remarks

Typically, applications send this message to determine how large a buffer to allocate for the compressed frame.

The driver should calculate the size of the largest possible frame based on the input and output formats.

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 Macros

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.