diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:57:27 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-07 10:57:27 +0000 |
| commit | 2cada6d249e41e5321b2e6a6766da042d2f5a282 (patch) | |
| tree | 8ac82d1b84eed41ca8e67fb0df530d996d2bab62 /src/mono_picture_frame.h | |
| parent | 107482fc19404e20db544e989d880752377fde26 (diff) | |
Pass notes through MonoPictureFrame::rgb_frame().
Diffstat (limited to 'src/mono_picture_frame.h')
| -rw-r--r-- | src/mono_picture_frame.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mono_picture_frame.h b/src/mono_picture_frame.h index 50ea0891..bcd7024b 100644 --- a/src/mono_picture_frame.h +++ b/src/mono_picture_frame.h @@ -25,6 +25,7 @@ #include <boost/shared_ptr.hpp> #include <boost/noncopyable.hpp> #include <boost/filesystem.hpp> +#include <boost/optional.hpp> #include <string> #include <stdint.h> @@ -51,7 +52,7 @@ public: ~MonoPictureFrame (); boost::shared_ptr<ARGBFrame> argb_frame (int reduce = 0, float srgb_gamma = 2.4) const; - void rgb_frame (uint16_t* buffer) const; + void rgb_frame (uint16_t* buffer, boost::optional<NoteHandler> note = boost::optional<NoteHandler> ()) const; uint8_t const * j2k_data () const; uint8_t* j2k_data (); int j2k_size () const; |
