| synopsis || arguments || prev || next |
kdu_sample16 * alloc16( int before, int after)
[Declared in "../coresys/common/kdu_sample_processing.h"]
Allocate an array with space for before entries prior to the returned pointer and after entries after the returned pointer (including the entry to which the pointer refers). The returned pointer is guaranteed to be aligned on an 8-byte boundary. The pointer may be interpreted as the location of an array which can accept signed indices, n, in the range - before <= n < after.
Before calling this function, you must have pre-allocated sufficient space through calls to pre_alloc and you must have called the finalize member function.