diff options
author | Hubert Figuière <hub@figuiere.net> | 2014-08-19 21:55:30 -0400 |
---|---|---|
committer | Hubert Figuière <hub@figuiere.net> | 2014-08-19 21:55:30 -0400 |
commit | ba0cbaa125c311303344f8f7640a1c5494ca52b8 (patch) | |
tree | bbbce4a5e11979748525a9ed57796edc8aaff9ac /tools | |
parent | 8eced4e93fa0d86e7206ddd7fa33de784dbbe39c (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.cpp | 5 |
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") |