Home
last modified time | relevance | path

Searched refs:CvMemBlock (Results 1 – 7 of 7) sorted by relevance

/external/opencv/cxcore/include/
Dcxtypes.h1151 typedef struct CvMemBlock struct
1153 struct CvMemBlock* prev; argument
1154 struct CvMemBlock* next; argument
1156 CvMemBlock; typedef
1163 CvMemBlock* bottom; /* First allocated block. */
1164 CvMemBlock* top; /* Current memory block - top of the stack. */
1178 CvMemBlock* top;
/external/opencv3/modules/core/include/opencv2/core/
Dtypes_c.h1180 typedef struct CvMemBlock struct
1182 struct CvMemBlock* prev; argument
1183 struct CvMemBlock* next; argument
1185 CvMemBlock; typedef
1192 CvMemBlock* bottom; /**< First allocated block. */
1193 CvMemBlock* top; /**< Current memory block - top of the stack. */
1207 CvMemBlock* top;
/external/opencv3/modules/core/test/
Dtest_ds.cpp537 sizeof(CvSeqBlock) - sizeof(CvMemBlock)) ); in test_multi_create()
558 hdr_size = MIN( hdr_size, (int)(storage->block_size - sizeof(CvMemBlock)) ); in test_multi_create()
1394 …e = MIN( elem_size, (int)(storage->block_size - sizeof(void*) - sizeof(CvMemBlock) - sizeof(CvSeqB… in run()
1810 … block_size = MAX(block_size, (int)(sizeof(CvGraph) + sizeof(CvMemBlock) + sizeof(CvSeqBlock))); in run()
1825 e = MIN( e, (int)(storage->block_size - sizeof(CvMemBlock) - in run()
1927 …storage_blocksize = MAX(storage_blocksize, (int)(sizeof(CvGraph) + sizeof(CvMemBlock) + sizeof(CvS… in run()
1928 …_blocksize = MAX(storage_blocksize, (int)(sizeof(CvGraphEdge) + sizeof(CvMemBlock) + sizeof(CvSeqB… in run()
1929 …storage_blocksize = MAX(storage_blocksize, (int)(sizeof(CvGraphVtx) + sizeof(CvMemBlock) + sizeof(… in run()
/external/opencv3/modules/core/src/
Ddatastructs.cpp98 assert( sizeof(CvMemBlock) % CV_STRUCT_ALIGN == 0 ); in icvInitMemStorage()
136 CvMemBlock *block; in icvDestroyMemStorage()
137 CvMemBlock *dst_top = 0; in icvDestroyMemStorage()
147 CvMemBlock *temp = block; in icvDestroyMemStorage()
207 storage->free_space = storage->bottom ? storage->block_size - sizeof(CvMemBlock) : 0; in cvClearMemStorage()
222 CvMemBlock *block; in icvGoNextMemBlock()
226 block = (CvMemBlock *)cvAlloc( storage->block_size ); in icvGoNextMemBlock()
266 storage->free_space = storage->block_size - sizeof(CvMemBlock); in icvGoNextMemBlock()
316 storage->free_space = storage->top ? storage->block_size - sizeof(CvMemBlock) : 0; in cvRestoreMemStoragePos()
336 … size_t max_free_space = cvAlignLeft(storage->block_size - sizeof(CvMemBlock), CV_STRUCT_ALIGN); in cvMemStorageAlloc()
[all …]
/external/opencv/cxcore/src/
Dcxdatastructs.cpp96 assert( sizeof(CvMemBlock) % CV_STRUCT_ALIGN == 0 ); in icvInitMemStorage()
162 CvMemBlock *block; in icvDestroyMemStorage()
163 CvMemBlock *dst_top = 0; in icvDestroyMemStorage()
173 CvMemBlock *temp = block; in icvDestroyMemStorage()
249 storage->free_space = storage->bottom ? storage->block_size - sizeof(CvMemBlock) : 0; in cvClearMemStorage()
270 CvMemBlock *block; in icvGoNextMemBlock()
274 CV_CALL( block = (CvMemBlock *)cvAlloc( storage->block_size )); in icvGoNextMemBlock()
314 storage->free_space = storage->block_size - sizeof(CvMemBlock); in icvGoNextMemBlock()
376 storage->free_space = storage->top ? storage->block_size - sizeof(CvMemBlock) : 0; in cvRestoreMemStoragePos()
403 … size_t max_free_space = cvAlignLeft(storage->block_size - sizeof(CvMemBlock), CV_STRUCT_ALIGN); in cvMemStorageAlloc()
[all …]
/external/opencv/cvaux/src/
Dcvbgfg_codebook.cpp134 nblocks = (int)((model->storage->block_size - sizeof(CvMemBlock))/sizeof(*freeList)); in cvBGCodeBookUpdate()
/external/opencv/cv/src/
Dcvsegmentation.cpp72 int i, count = (storage->block_size - sizeof(CvMemBlock))/sizeof(*n) - 1; in icvAllocWSNodes()