summaryrefslogtreecommitdiff
path: root/src/argb_frame.cc
diff options
context:
space:
mode:
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
{