*/
#include <stdint.h>
+#include "util.h"
namespace libdcp
{
class ARGBFrame
{
public:
- ARGBFrame (int width, int height);
+ ARGBFrame (Size size);
~ARGBFrame ();
uint8_t* data () const {
/** 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;
};