Lines Matching refs:fs
147 bool CvImage::read( CvFileStorage* fs, const char* mapname, const char* imgname )
154 CvFileNode* mapnode = cvGetFileNodeByName( fs, 0, mapname );
156 obj = cvReadByName( fs, mapnode, imgname );
159 obj = cvReadByName( fs, 0, imgname );
167 bool CvImage::read( CvFileStorage* fs, const char* seqname, int idx )
172 cvGetFileNodeByName( fs, 0, seqname ) : cvGetRootFileNode(fs,0);
175 obj = cvRead( fs, (CvFileNode*)cvGetSeqElem( seqnode->data.seq, idx ));
205 void CvImage::write( CvFileStorage* fs, const char* imgname )
208 cvWrite( fs, imgname, image );
300 bool CvMatrix::read( CvFileStorage* fs, const char* mapname, const char* matname )
307 CvFileNode* mapnode = cvGetFileNodeByName( fs, 0, mapname );
309 obj = cvReadByName( fs, mapnode, matname );
312 obj = cvReadByName( fs, 0, matname );
320 bool CvMatrix::read( CvFileStorage* fs, const char* seqname, int idx )
325 cvGetFileNodeByName( fs, 0, seqname ) : cvGetRootFileNode(fs,0);
328 obj = cvRead( fs, (CvFileNode*)cvGetSeqElem( seqnode->data.seq, idx ));
358 void CvMatrix::write( CvFileStorage* fs, const char* matname )
361 cvWrite( fs, matname, matrix );