diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/argb_frame.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/argb_frame.h b/src/argb_frame.h index 1adbbd14..c5c35768 100644 --- 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; |
