Searched defs:sparse (Results 1 - 2 of 2) sorted by relevance

/external/e2fsprogs/misc/
H A De2image.c411 int sparse = 0; local
437 write_block(fd, buf, sparse, fs->blocksize, blk);
438 sparse = 0;
446 sparse += fs->blocksize;
447 if (sparse >= 1024*1024) {
448 write_block(fd, 0, sparse, 0, 0);
449 sparse = 0;
453 if (sparse)
454 write_block(fd, zero_buf, sparse-1, 1, -1);
/external/opencv/ml/src/
H A Dml_inner_functions.cpp1260 const CvSparseMat* sparse = (const CvSparseMat*)sample; local
1263 node = cvInitSparseMatIterator( sparse, &mat_iterator );
1280 int idx = *CV_NODE_IDX( sparse, node );
1287 row_sample[idx] = *(float*)CV_NODE_VAL( sparse, node );
1296 int idx = *CV_NODE_IDX( sparse, node );
1304 ptr->val = *(float*)CV_NODE_VAL( sparse, node );
1554 CV_ERROR( CV_StsBadArg, "predict_input should be a matrix or a sparse matrix" );
1628 CvSparseMat* sparse = (CvSparseMat*)predict_input;
1651 // hack: to decrease memory footprint, make all the sparse matrices
1659 // put each row (or column) of predict_input into separate sparse matri
[all...]

Completed in 103 milliseconds