Home
last modified time | relevance | path

Searched refs:CV_MALLOC_ALIGN (Results 1 – 3 of 3) sorted by relevance

/external/opencv/cxcore/src/
Dcxalloc.cpp49 (size_t)(size + CV_MALLOC_ALIGN*((size >= 4096) + 1) + sizeof(char*))); in icvDefaultAlloc()
55 ptr = (char*)cvAlignPtr(ptr0 + sizeof(char*) + 1, CV_MALLOC_ALIGN); in icvDefaultAlloc()
67 if( ((size_t)ptr & (CV_MALLOC_ALIGN-1)) != 0 ) in icvDefaultFree()
Dcxarray.cpp970 total_size = step*mat->rows + sizeof(int) + CV_MALLOC_ALIGN; in cvCreateData()
972 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); in cvCreateData()
1030 sizeof(int) + CV_MALLOC_ALIGN )); in cvCreateData()
1031 mat->data.ptr = (uchar*)cvAlignPtr( mat->refcount + 1, CV_MALLOC_ALIGN ); in cvCreateData()
/external/opencv/cxcore/include/
Dcxmisc.h84 #define CV_MALLOC_ALIGN 32 macro
138 #define cvStackAlloc(size) cvAlignPtr( alloca((size) + CV_MALLOC_ALIGN), CV_MALLOC_ALIGN )