diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-31 03:14:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-31 03:14:24 +0100 |
| commit | 8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (patch) | |
| tree | f8b25b13ac3732838be259e469d045438d999e7b /src/lib/j2k_image_proxy.h | |
| parent | 4985d87750c87019dfe5dc7ef44e12c45326dd0e (diff) | |
More enum class additions.
Diffstat (limited to 'src/lib/j2k_image_proxy.h')
| -rw-r--r-- | src/lib/j2k_image_proxy.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/j2k_image_proxy.h b/src/lib/j2k_image_proxy.h index 91c90dba7..06de576f3 100644 --- a/src/lib/j2k_image_proxy.h +++ b/src/lib/j2k_image_proxy.h @@ -50,6 +50,9 @@ public: J2KImageProxy (std::shared_ptr<cxml::Node> xml, std::shared_ptr<Socket> socket); + /* For tests */ + J2KImageProxy (dcp::ArrayData data, dcp::Size size, AVPixelFormat pixel_format); + Result image ( boost::optional<dcp::Size> size = boost::optional<dcp::Size> () ) const; @@ -71,11 +74,6 @@ public: size_t memory_used () const; private: - friend struct client_server_test_j2k; - - /* For tests */ - J2KImageProxy (dcp::ArrayData data, dcp::Size size, AVPixelFormat pixel_format); - std::shared_ptr<const dcp::Data> _data; dcp::Size _size; boost::optional<dcp::Eye> _eye; |
