X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fraw_image_proxy.h;h=dcd107a9ebc4f9255c226228681d25a41bcc029c;hb=7c730205e50014347bd96ab9735346d0b5922798;hp=379c06f32786722c9e9c2c9a387a2f242fadb6f5;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index 379c06f32..dcd107a9e 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -26,14 +26,17 @@ class RawImageProxy : public ImageProxy { public: - RawImageProxy (boost::shared_ptr); + explicit RawImageProxy (boost::shared_ptr); RawImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); - boost::shared_ptr image (boost::optional note = boost::optional ()) const; + std::pair, int> image ( + boost::optional size = boost::optional () + ) const; + void add_metadata (xmlpp::Node *) const; void send_binary (boost::shared_ptr) const; bool same (boost::shared_ptr) const; - AVPixelFormat pixel_format () const; + size_t memory_used () const; private: boost::shared_ptr _image;