Searched refs:sv_tab (Results 1 – 2 of 2) sorted by relevance
1361 int* sv_tab = 0; in do_train() local1385 CV_CALL( sv_tab = (int*)cvMemStorageAlloc( temp_storage, sample_count*sizeof(sv_tab[0]) )); in do_train()1386 memset( sv_tab, 0, sample_count*sizeof(sv_tab[0]) ); in do_train()1464 sv_tab[si + k] = 1; in do_train()1474 sv_tab[sj + k] = 1; in do_train()1485 if( sv_tab[i] ) in do_train()1486 sv_tab[i] = ++k; in do_train()1494 if( sv_tab[i] ) in do_train()1511 df->sv_index[k] = sv_tab[df->sv_index[k]]-1; in do_train()
1409 vector<int> svidx, sidx, sidx_all, sv_tab(sample_count, 0); in do_train() local1506 sv_tab[sidx_all[idx]] = 1; in do_train()1517 if( sv_tab[i] ) in do_train()1518 sv_tab[i] = ++k; in do_train()1526 if( !sv_tab[i] ) in do_train()1528 memcpy(sv.ptr(sv_tab[i]-1), _samples.ptr(i), samplesize); in do_train()1535 CV_Assert( sv_tab[df_index[i]] > 0 ); in do_train()1536 df_index[i] = sv_tab[df_index[i]] - 1; in do_train()