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

Function cvStartAppendToSeq

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

Initialize sequence writer: */

Source from the content-addressed store, hash-verified

808
809/* Initialize sequence writer: */
810CV_IMPL void
811cvStartAppendToSeq( CvSeq *seq, CvSeqWriter * writer )
812{
813 if( !seq || !writer )
814 CV_Error( CV_StsNullPtr, "" );
815
816 memset( writer, 0, sizeof( *writer ));
817 writer->header_size = sizeof( CvSeqWriter );
818
819 writer->seq = seq;
820 writer->block = seq->first ? seq->first->prev : 0;
821 writer->ptr = seq->ptr;
822 writer->block_max = seq->block_max;
823}
824
825
826/* Initialize sequence writer: */

Callers 9

cvStartWriteSeqFunction · 0.85
cvSeqPartitionFunction · 0.85
core_c.hFile · 0.85
icvFetchContourFunction · 0.85
icvFetchContourExFunction · 0.85
icvFetchContourEx_32sFunction · 0.85
cvConvexHull2Function · 0.85
cvConvexityDefectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected