mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
General tidy up
This commit is contained in:
@@ -13,7 +13,7 @@ BlackBorderDetector::BlackBorderDetector(double threshold)
|
||||
// empty
|
||||
}
|
||||
|
||||
uint8_t BlackBorderDetector::calculateThreshold(double threshold)
|
||||
uint8_t BlackBorderDetector::calculateThreshold(double threshold) const
|
||||
{
|
||||
int rgbThreshold = int(std::ceil(threshold * 255));
|
||||
if (rgbThreshold < 0)
|
||||
|
Reference in New Issue
Block a user