summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-10-28 16:25:01 +0100
committerCarl Hetherington <cth@carlh.net>2020-10-28 16:25:01 +0100
commit22d8401d9eadb022e40380a324b5871f77a18158 (patch)
tree1feb444d1064d525f7de93fac6a3428e6298191d /src/lib
parent2c74c1534cb563cab4c6c3225ced573619f6a647 (diff)
Add some comments.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/image.h b/src/lib/image.h
index 46633df67..eab71c2b1 100644
--- a/src/lib/image.h
+++ b/src/lib/image.h
@@ -49,7 +49,9 @@ public:
~Image ();
uint8_t * const * data () const;
+ /** @return array of sizes of the data in each line, in bytes (not including any alignment padding) */
int const * line_size () const;
+ /** @return array of sizes of the data in each line, in bytes (including any alignment padding) */
int const * stride () const;
dcp::Size size () const;
bool aligned () const;