00001
00002
00003
00004
00005
00006
00007 #ifndef memoryAllocation_H
00008 #define memoryAllocation_H
00009
00010 #include "segDTWT.h"
00011 #include "malloc.h"
00012 #include "tbb/scalable_allocator.h"
00013
00014 #ifdef _DEBUG
00015 #pragma comment(lib, "tbbmalloc_debug.lib")
00016 #else
00017 #pragma comment(lib, "tbbmalloc.lib")
00018 #endif
00019
00020
00044 float* allocateImage_32f_C1(int width, int height, int* widthStep);
00045
00046
00064 void releaseImage(void* image);
00065
00105 WRESULT allocateSubbands(float* subbands[],int widthSteps[],int level,int filter_length_L,int filter_length_H,Size size);
00106
00126 WRESULT releaseSubbands(float* subbands[], int level);
00127
00128 #endif