template<class C>
Definition at line 16 of file MakeGroupIndex.h. References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Add(), and Impala::Core::Table::Table::SetEmpty(). Referenced by Impala::Core::VideoSet::Stills::UpdateGroups(), Impala::Core::VideoSet::Segmentation::UpdateGroups(), and Impala::Core::VideoSet::Keyframes::UpdateGroups(). 00017 { 00018 table->SetEmpty(); 00019 typename C::ColElemType elem = column->Get(start); 00020 int first = start; 00021 int nr = 1; 00022 for (int i=start+1 ; i<end ; i++) 00023 { 00024 if (column->Get(i) != elem) 00025 { 00026 table->Add(first, nr); 00027 elem = column->Get(i); 00028 first = i; 00029 nr = 1; 00030 } 00031 else 00032 { 00033 nr++; 00034 } 00035 } 00036 table->Add(first, nr); 00037 }
Here is the call graph for this function:
|