More win32 build hacks.
[libdcp.git] / src / argb_frame.h
index 1adbbd14c3b60e0072b2ac1062535794ec0c71ee..a9946bb04c59aa44a64ebd49906b053a51940118 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <stdint.h>
+#include "util.h"
 
 namespace libdcp
 {
@@ -44,7 +45,7 @@ namespace libdcp
 class ARGBFrame
 {
 public:
-       ARGBFrame (int width, int height);
+       ARGBFrame (Size size);
        ~ARGBFrame ();
 
        uint8_t* data () const {
@@ -54,9 +55,12 @@ public:
        /** Length of one picture row in bytes */
        int stride () const;
 
+       Size size () const {
+               return _size;
+       }
+
 private:
-       int _width;
-       int _height;
+       Size _size;
        uint8_t* _data;
 };