I'm using the example code from Intel® Integrated Performance Primitives Reference Manual, Volume 1: Signal Processing on LZSS Compression. This document indicates that some of the functions have been Deprecated. Two of the function used in the example are part of these deprecated function. The first one is
IppStatus ippsEncodeLZSSInitAlloc_8u (IppLZSSState_8u** ppLZSSState);and the second one is
void ippsLZSSFree_8u (IppLZSSState_8u* pLZSSState);The warning when I use ippsEncodeLZSSInitAlloc() indicates that I should use the GetSize and Init pair to replace this functionality. But there is no corresponding functions indicated in place of LZSSFree. My research indicate the reason for these function being deprecated is that Internal memory allocation will not be supported at some point. This indicates to me that I will need to do the memory allocation, but I don't understand how to do this. The above document indicates that function ippsEncodeLZSSInit_8u(), initializes the LZSS state structure pLZSSState in the external buffer. But I don't see were or how the external buffer is allocated. But when I call ippsLZSSGetSize() it returns a size indicating that the buffer has been allocated. If it has been allocated, how do I de-allocate it? Or is that being done automatically? Is there some way to change the size of this buffer?



