X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fraw_image_proxy.h;h=ec30f5a29aa3f8ad945c83f106b81f623c516956;hp=9f8424eb34df8061154ee96925b679a8d6939890;hb=689fa55d1529ad88449ca464e9107c4dcc54d1cb;hpb=c6871fe8617b3de03662b7630355059393bf8043 diff --git a/src/lib/raw_image_proxy.h b/src/lib/raw_image_proxy.h index 9f8424eb3..ec30f5a29 100644 --- a/src/lib/raw_image_proxy.h +++ b/src/lib/raw_image_proxy.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2015 Carl Hetherington + Copyright (C) 2014-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,30 +18,32 @@ */ + #ifndef DCPOMATIC_RAW_IMAGE_PROXY_H #define DCPOMATIC_RAW_IMAGE_PROXY_H + #include "image_proxy.h" + class RawImageProxy : public ImageProxy { public: - explicit RawImageProxy (boost::shared_ptr); - RawImageProxy (boost::shared_ptr xml, boost::shared_ptr socket); + explicit RawImageProxy (std::shared_ptr); + RawImageProxy (std::shared_ptr xml, std::shared_ptr socket); - boost::shared_ptr image ( - boost::optional note = boost::optional (), + Result 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; + void write_to_socket (std::shared_ptr) const; + bool same (std::shared_ptr) const; size_t memory_used () const; private: - boost::shared_ptr _image; + std::shared_ptr _image; }; + #endif