projects
/
libdcp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87dac0c
)
Provide accessors to ARGBFrame's width and height.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Oct 2012 13:27:55 +0000
(14:27 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Oct 2012 13:27:55 +0000
(14:27 +0100)
src/argb_frame.h
patch
|
blob
|
history
diff --git
a/src/argb_frame.h
b/src/argb_frame.h
index 1adbbd14c3b60e0072b2ac1062535794ec0c71ee..c5c35768aa7d8da6d35039ce193a6499bc9e127a 100644
(file)
--- a/
src/argb_frame.h
+++ b/
src/argb_frame.h
@@
-54,6
+54,14
@@
public:
/** Length of one picture row in bytes */
int stride () const;
+ int width () const {
+ return _width;
+ }
+
+ int height () const {
+ return _height;
+ }
+
private:
int _width;
int _height;