Specifications
Intel
®
Image Processing Library Reference Manual
4-28
4
wMalloc
Allocates memory aligned to
an 8-byte boundary for 16-
bit words.
short* iplwMalloc(int
size
);
size
Size in words (16 bits) of memory block to
allocate.
Discussion
The iplwMalloc() function allocates memory block aligned to an 8-byte
boundary for 16-bit words. To free this memory, use
iplFree().
Return Value
The function returns a pointer to an aligned memory block. If no memory
is available in the system, then the
NULL value is returned.
iMalloc
Allocates memory aligned to
an 8-byte boundary for 32-bit
double words.
int* ipliMalloc(int
size
);
size Size in double words (32 bits) of memory block
to allocate.
Discussion
The ipliMalloc() function allocates memory block aligned to an 8-byte
boundary for 32-bit double words. To free this memory, use
iplFree().