Definition at line 288 of file AllFramesTLineVideo.h. References mAnnoPositives. Referenced by GoToAdjacentPositive(). 00289 { 00290 int i, k, prevK; 00291 00292 frame += next ? 1 : 0; 00293 IntVector* positiveVector = mAnnoPositives[id]; 00294 00295 for (i=0; i<positiveVector->size(); i++) 00296 { 00297 if ((k=(*positiveVector)[i])<frame) 00298 prevK = k; 00299 else 00300 break; 00301 } 00302 return /* 15 + */ (next ? k : prevK); // Compensate 15 for keyFrameError 00303 }
|