Specifications
Intel
®
ImageProcessingLibraryReferenceManual
4-30
4
dMalloc
Allocatesmemoryalignedto
an8-byteboundaryfordouble
floating-pointelements.
double*ipldMalloc(int
size
);
size
Sizeindoubleelements(8bytes)ofmemory
blocktoallocate.
Discussion
TheipldMalloc()functionallocatesmemoryblockalignedtoan8-byte
boundaryfordoublefloating-pointelements.Tofreethismemory,use
iplFree().
ReturnValue
Thefunctionreturnsapointertoanalignedmemoryblock.Ifnomemory
isavailableinthesystem,thenthe
NULLvalueisreturned.
iplFree
Freesmemoryallocatedby
oneofthe
ipl?Malloc
functions.
void iplFree(void*
ptr
);
ptr
Pointertomemoryblocktofree.