diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-09 10:00:34 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-09 10:00:34 +0100 |
| commit | 205fd96fc2592d5b50c91871fe0f2bd9d79783c5 (patch) | |
| tree | ea646bc640e68d5cb9bf9248f1b3bd7c20191bf9 /src/mono_picture_frame.h | |
| parent | 7c386ee3f400d80f043bc0b271a0184e35a08169 (diff) | |
Add method to return frames as RGB to a given buffer.
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index cc6096cd..57e890a8 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -49,6 +49,7 @@ public: ~MonoPictureFrame (); boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const; + void rgb_frame (uint8_t* buffer) const; uint8_t const * j2k_data () const; int j2k_size () const; |
