mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
fix doxy
This commit is contained in:
@@ -34,6 +34,18 @@ namespace hyperion
|
||||
///
|
||||
BlackBorder getCurrentBorder() const;
|
||||
|
||||
///
|
||||
/// Return activation state of black border detector
|
||||
/// @return The current border
|
||||
///
|
||||
bool enabled() const;
|
||||
|
||||
///
|
||||
/// Set activation state of black border detector
|
||||
/// @param enable current state
|
||||
///
|
||||
void setEnabled(bool enable);
|
||||
|
||||
///
|
||||
/// Processes the image. This performs detecion of black-border on the given image and
|
||||
/// updates the current border accordingly. If the current border is updated the method call
|
||||
@@ -48,6 +60,11 @@ namespace hyperion
|
||||
{
|
||||
// get the border for the single image
|
||||
BlackBorder imageBorder;
|
||||
if (!enabled())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (_detectionMode == "default") {
|
||||
imageBorder = _detector.process(image);
|
||||
} else if (_detectionMode == "classic") {
|
||||
@@ -69,7 +86,6 @@ namespace hyperion
|
||||
return borderUpdated;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
///
|
||||
/// Updates the current border based on the newly detected border. Returns true if the
|
||||
@@ -80,6 +96,9 @@ namespace hyperion
|
||||
///
|
||||
bool updateBorder(const BlackBorder & newDetectedBorder);
|
||||
|
||||
/// flag for blackborder detector usage
|
||||
bool _enabled;
|
||||
|
||||
/// The number of unknown-borders detected before it becomes the current border
|
||||
const unsigned _unknownSwitchCnt;
|
||||
|
||||
|
Reference in New Issue
Block a user