summaryrefslogtreecommitdiff
path: root/src/transfer_function.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-05-29 19:17:24 +0100
committerCarl Hetherington <cth@carlh.net>2015-05-29 19:17:24 +0100
commit91563c058a8d2207437a482d4cc63c5a166a26f4 (patch)
tree599a0bc2d337dc7d06912163571fd0abdcc29cd6 /src/transfer_function.h
parentd8cf96d56de7b5a72471762ab5f1e35e816f6252 (diff)
parent5e4c87ae58f1ed73b9ef19cd75210963599fa546 (diff)
Merge branch '1.0' of ssh://main.carlh.net/home/carl/git/libdcp into 1.0
Diffstat (limited to 'src/transfer_function.h')
-rw-r--r--src/transfer_function.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/transfer_function.h b/src/transfer_function.h
index 7f7187b5..c8248cce 100644
--- a/src/transfer_function.h
+++ b/src/transfer_function.h
@@ -17,6 +17,10 @@
*/
+/** @file src/transfer_function.h
+ * @brief TransferFunction class.
+ */
+
#ifndef LIBDCP_TRANSFER_FUNCTION_H
#define LIBDCP_TRANSFER_FUNCTION_H
@@ -27,6 +31,9 @@
namespace dcp {
+/** @class TransferFunction
+ * @brief A transfer function represented by a lookup table.
+ */
class TransferFunction : public boost::noncopyable
{
public:
@@ -38,6 +45,7 @@ public:
virtual bool about_equal (boost::shared_ptr<const TransferFunction> other, double epsilon) const = 0;
protected:
+ /** Make a LUT and return an array allocated by new */
virtual double * make_lut (int bit_depth, bool inverse) const = 0;
private: