MCPcopy Create free account
hub / github.com/creatale/node-dv / cvAlignLeft

Function cvAlignLeft

deps/opencv/modules/core/src/datastructs.cpp:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 (int)cvAlign(sizeof(CvSeqBlock), CV_STRUCT_ALIGN)
48
49CV_INLINE int
50cvAlignLeft( int size, int align )
51{
52 return size & -align;
53}
54
55#define CV_GET_LAST_ELEM( seq, block ) \
56 ((block)->data + ((block)->count - 1)*((seq)->elem_size))

Callers 4

cvMemStorageAllocFunction · 0.85
cvSetSeqBlockSizeFunction · 0.85
icvGrowSeqFunction · 0.85
cvEndWriteSeqFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected