Attaches the buffer with data for progressive decoding.
IppStatus ippiDecodeCBProgrAttach_JPEG2K_32s_C1R(Ipp32s* pDst, int dstStep, IppiSize codeBlockSize, IppiDecodeCBProgrState_JPEG2K* pState, IppiWTSubband subband, int sfBits, int codeStyleFlags);
pDst |
Pointer to the destination buffer. |
dstStep |
Step in bytes throught the destination buffer. |
codeBlockSize |
Size of the codeblock. |
pState |
Pointer to the decoder state structure. |
subband |
Wavelet transform subband contained the given code block. Possible values are listed in the Table “Subband Parameter for the JPEG2000 Entropy Coder Functions”. |
sfBits |
Number of significant bits in code-block. |
codeStyleFlags |
Specifies the options for encoding procedure. The possible values are listed in the Table “CodeStyleFlag Argument for the JPEG2000 Entropy Coder Functions”. |
The function ippiDecodeCBProgrAttach_JPEG2K is declared in the ippj.h file. This function attaches a destination buffer pDst for the code-block rectangle and fix its parameters to perform the progressive decoding.
The image data buffer should not be moved in memory and should not be freed during whole decoding procedure, that is until the last step of decoding progression and damage correction will be completed.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error if one of the specified pointers is NULL. |
ippStsStepErr |
Indicates an error condition if the value of dstStep is zero or negative. |
ippStsContextMatchErr |
Indicates an error condition if a pointer to the invalid structure is passed. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.