summaryrefslogtreecommitdiff
path: root/src/lib/raw_image_proxy.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2016-11-26 15:14:11 +0000
committerCarl Hetherington <cth@carlh.net>2016-11-26 15:14:11 +0000
commit5bbf16e87ca09369174c9d2bb7f7fe94b6d70275 (patch)
tree16b11c4d6480523711b4261e6f064aa58b0f5707 /src/lib/raw_image_proxy.h
parent51468148d3dde7cb4be3dae6442e5ef6bcafda2b (diff)
Reduce during J2K decode where possible for playback (#986).
Diffstat (limited to 'src/lib/raw_image_proxy.h')
-rw-r--r--src/lib/raw_image_proxy.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h
index 379c06f32..28fd7f263 100644
--- a/src/lib/raw_image_proxy.h
+++ b/src/lib/raw_image_proxy.h
@@ -29,7 +29,11 @@ public:
RawImageProxy (boost::shared_ptr<Image>);
RawImageProxy (boost::shared_ptr<cxml::Node> xml, boost::shared_ptr<Socket> socket);
- boost::shared_ptr<Image> image (boost::optional<dcp::NoteHandler> note = boost::optional<dcp::NoteHandler> ()) const;
+ boost::shared_ptr<Image> image (
+ boost::optional<dcp::NoteHandler> note = boost::optional<dcp::NoteHandler> (),
+ boost::optional<dcp::Size> size = boost::optional<dcp::Size> ()
+ ) const;
+
void add_metadata (xmlpp::Node *) const;
void send_binary (boost::shared_ptr<Socket>) const;
bool same (boost::shared_ptr<const ImageProxy>) const;