Definition at line 37 of file StageScheme.h. References Impala::Core::VideoJob::StepScheme::GetStep(), Impala::Core::VideoJob::StepScheme::Step::isIndiv, Impala::Core::VideoJob::StageScheme::Stage::lastStepNr, mStages, and Impala::Core::VideoJob::StepScheme::Size(). 00038 { 00039 int nrOfSteps = processingScheme.Size(); 00040 if (nrOfSteps > 0) 00041 { 00042 bool stageIsIndiv = processingScheme.GetStep(0).isIndiv; 00043 Stage stage = {0, 0, stageIsIndiv}; 00044 for (int i = 1; i < nrOfSteps; i++) 00045 { 00046 Step step = processingScheme.GetStep(i); 00047 if (!step.isIndiv || !stageIsIndiv) 00048 { // non-indiv. stages have only one step 00049 mStages.push_back(stage); 00050 stage.firstStepNr = i; 00051 stageIsIndiv = step.isIndiv; 00052 stage.isIndiv = stageIsIndiv; 00053 } 00054 stage.lastStepNr = i; 00055 } 00056 mStages.push_back(stage); 00057 } 00058 }
Here is the call graph for this function:
|