Lines Matching refs:idx_total
467 int i, idx_total, idx_selected = 0, step, type, prev = INT_MIN, is_sorted = 1; in cvPreprocessIndexArray() local
478 idx_total = idx_arr->rows + idx_arr->cols - 1; in cvPreprocessIndexArray()
491 if( idx_total != data_arr_size ) in cvPreprocessIndexArray()
495 for( i = 0; i < idx_total; i++ ) in cvPreprocessIndexArray()
501 if( idx_selected == idx_total ) in cvPreprocessIndexArray()
506 if( idx_total > data_arr_size ) in cvPreprocessIndexArray()
509 idx_selected = idx_total; in cvPreprocessIndexArray()
511 for( i = 0; i < idx_total; i++ ) in cvPreprocessIndexArray()
532 for( i = 0; i < idx_total; i++ ) in cvPreprocessIndexArray()
538 for( i = 0; i < idx_total; i++ ) in cvPreprocessIndexArray()
542 qsort( dsti, idx_total, sizeof(dsti[0]), icvCmpIntegers ); in cvPreprocessIndexArray()
544 if( dsti[0] < 0 || dsti[idx_total-1] >= data_arr_size ) in cvPreprocessIndexArray()
549 for( i = 1; i < idx_total; i++ ) in cvPreprocessIndexArray()