summaryrefslogtreecommitdiff
path: root/src/stereo_picture_frame.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-23 15:35:24 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-23 15:35:24 +0100
commit6c37cc1979b2a01205a888c4c98f3334685ee8dd (patch)
tree9de52a3053e57bdf79a7986319cb097b33e46b5c /src/stereo_picture_frame.h
parentb75d977a38f039fd68ed5d4055ae70b4bf631603 (diff)
Tidying.
Diffstat (limited to 'src/stereo_picture_frame.h')
-rw-r--r--src/stereo_picture_frame.h23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/stereo_picture_frame.h b/src/stereo_picture_frame.h
index 3d334d34..c499b8fe 100644
--- a/src/stereo_picture_frame.h
+++ b/src/stereo_picture_frame.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2016 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of libdcp.
@@ -31,17 +31,24 @@
files in the program, then also delete it here.
*/
+
+/** @file src/stereo_picture_frame.h
+ * @brief StereoPictureFrame class
+ */
+
+
#ifndef LIBDCP_STEREO_PICTURE_FRAME_H
#define LIBDCP_STEREO_PICTURE_FRAME_H
+
#include "types.h"
#include "asset_reader.h"
#include <memory>
-#include <boost/noncopyable.hpp>
#include <boost/filesystem.hpp>
#include <stdint.h>
#include <string>
+
namespace ASDCP {
namespace JP2K {
struct SFrameBuffer;
@@ -50,6 +57,7 @@ namespace ASDCP {
class AESDecContext;
}
+
namespace dcp {
@@ -57,12 +65,17 @@ class OpenJPEGImage;
class StereoPictureFrame;
-/** A single frame of a 3D (stereoscopic) picture asset */
-class StereoPictureFrame : public boost::noncopyable
+/** @class StereoPictureFrame
+ * @brief A single frame of a 3D (stereoscopic) picture asset
+ */
+class StereoPictureFrame
{
public:
StereoPictureFrame ();
+ StereoPictureFrame (StereoPictureFrame const &) = delete;
+ StereoPictureFrame& operator= (StereoPictureFrame const &) = delete;
+
std::shared_ptr<OpenJPEGImage> xyz_image (Eye eye, int reduce = 0) const;
class Part : public Data
@@ -97,6 +110,8 @@ private:
std::shared_ptr<ASDCP::JP2K::SFrameBuffer> _buffer;
};
+
}
+
#endif