summaryrefslogtreecommitdiff
path: root/src/argb_frame.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-09 23:18:13 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-09 23:18:13 +0000
commit41daa5821b3d3b0f450094fbf0d1e37a449f482c (patch)
tree623e5aa9370dbb78bba14e9833a4ea0d1e026e22 /src/argb_frame.cc
parente651d843c513e8dbf0967735ea702a3795ac321d (diff)
Comment tweaks.
Diffstat (limited to 'src/argb_frame.cc')
-rw-r--r--src/argb_frame.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/argb_frame.cc b/src/argb_frame.cc
index 7a9ad2b9..8e54e3b4 100644
--- a/src/argb_frame.cc
+++ b/src/argb_frame.cc
@@ -21,6 +21,11 @@
using namespace libdcp;
+/** Construct an empty ARGBFrame with a given width and height and with
+ * undefined contents.
+ * @param width Width in pixels.
+ * @param height Height in pixels.
+ */
ARGBFrame::ARGBFrame (int width, int height)
: _width (width)
, _height (height)
@@ -34,6 +39,7 @@ ARGBFrame::~ARGBFrame ()
delete[] _data;
}
+/** @return The stride, in bytes; that is, the number of bytes per row of the image */
int
ARGBFrame::stride () const
{