Searched refs:CV_MALLOC_ALIGN (Results 1 – 3 of 3) sorted by relevance
49 (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()
970 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()
84 #define CV_MALLOC_ALIGN 32 macro138 #define cvStackAlloc(size) cvAlignPtr( alloca((size) + CV_MALLOC_ALIGN), CV_MALLOC_ALIGN )