test old v1+ vs new v2

Former-commit-id: 5217ac135cd0c7a6907be0097df72506ca7f2d71
This commit is contained in:
wisc
2016-01-10 14:41:47 +01:00
parent 633985930b
commit 544ae68429
2 changed files with 105 additions and 10 deletions

View File

@@ -73,6 +73,8 @@ namespace hyperion
/// @return True if the current border changed else false
///
bool updateBorder(const BlackBorder & newDetectedBorder);
bool updateBorder1(const BlackBorder & newDetectedBorder);
bool updateBorder2(const BlackBorder & newDetectedBorder);
/// The number of unknown-borders detected before it becomes the current border
const unsigned _unknownSwitchCnt;
@@ -87,12 +89,18 @@ namespace hyperion
BlackBorderDetector _detector;
/// The current detected border
BlackBorder _currentBorder1;
BlackBorder _currentBorder;
/// The border detected in the previous frame
BlackBorder _previousDetectedBorder1;
BlackBorder _previousDetectedBorder;
/// The number of frame the previous detected border matched the incomming border
unsigned _consistentCnt1;
unsigned _consistentCnt;
/// The number of frame the previous detected border NOT matched the incomming border
unsigned _inconsistentCnt1;
unsigned _inconsistentCnt;
};
} // end namespace hyperion