ICCompressGetSize macro (vfw.h)
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
void 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
None
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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | vfw.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for