summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2014-08-19 21:55:30 -0400
committerHubert Figuière <hub@figuiere.net>2014-08-19 21:55:30 -0400
commitba0cbaa125c311303344f8f7640a1c5494ca52b8 (patch)
treebbbce4a5e11979748525a9ed57796edc8aaff9ac /tools
parent8eced4e93fa0d86e7206ddd7fa33de784dbbe39c (diff)
API: or_rawdata_get_minmax() replaced by or_rawdata_get_levels()
Also propagate down to the internals.
Diffstat (limited to 'tools')
-rw-r--r--tools/ordiag.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/ordiag.cpp b/tools/ordiag.cpp
index bdd1c45..0e30dc8 100644
--- a/tools/ordiag.cpp
+++ b/tools/ordiag.cpp
@@ -318,8 +318,9 @@ public:
m_out << boost::format("\t\tBits per channel: %1%\n")
% rd.bpc();
- m_out << boost::format("\t\tValues: min = %1% max = %2%\n")
- % rd.min() % rd.max();
+ m_out << boost::format(
+ "\t\tValues: black = %1% white = %2%\n")
+ % rd.blackLevel() % rd.whiteLevel();
}
else {
m_out << boost::format("\tNo Raw Data found! (error = %1%)\n")