Produces output codestream.
IppStatus ippiEncodeStoreBits_JPEG2K_1u(Ipp8u* pDst, int* pDstLen, IppiEncodeState_JPEG2K* pState, int* pIsNotFinish);
pDst |
Pointer to the destination data buffer. |
pDstLen |
Pointer to the destination buffer length. |
pState |
Pointer to the allocated and initialized encoder state structure. |
pIsNotFinish |
Pointer to the variable indicating that the encoding is completed. |
The function ippiEncodeStoreBits_JPEG2K is declared in the ippj.h file. This function performs the second encoding procedure and produces the output codestream.
Example “Using the ippiEncodeStoreBits_JPEG2K Function” shows how this function may be used.
The parameter dstLen is used both for reading and writing. It should be passed to the function with a valid buffer length, and then it will return the length of used (filled) buffer.
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 destination buffer has zero or negative value. |
ippStsContextMatchErr |
Indicates an error condition if a pointer to an invalid state structure is passed. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.