Computes the size of the work buffer for decoding routine.
IppStatus ippiDecodeGetBufSize_JPEG2K(IppiSize codeBlockMaxSize, int* pSize);
codeBlockMaxSize |
Maximum size of code block in pixels. |
pSize |
Pointer to the variable that returns the size of the work buffer. |
The function ippiDecodeGetBufSize_JPEG2K is declared in the ippj.h file. This function computes the size (in bytes) of the work buffer that corresponds to the specified maximum size of a code block (in pixels).
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when any of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if the width or height of the code block has zero or negative value. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.