40 #ifndef LIBDCP_STEREO_J2K_PICTURE_FRAME_H
41 #define LIBDCP_STEREO_J2K_PICTURE_FRAME_H
46 #include <boost/filesystem.hpp>
64 class StereoJ2KPictureFrame;
78 std::shared_ptr<OpenJPEGImage>
xyz_image (Eye eye,
int reduce = 0)
const;
83 Part (std::shared_ptr<ASDCP::JP2K::SFrameBuffer> buffer, Eye eye);
85 uint8_t
const * data ()
const override;
86 uint8_t * data ()
override;
87 int size ()
const override;
92 ASDCP::JP2K::FrameBuffer& mono ()
const;
94 std::shared_ptr<ASDCP::JP2K::SFrameBuffer> _buffer;
98 std::shared_ptr<Part> left ()
const;
99 std::shared_ptr<Part> right ()
const;
107 StereoJ2KPictureFrame (ASDCP::JP2K::MXFSReader* reader, int n, std::shared_ptr<DecryptionContext>, bool check_hmac);
109 std::shared_ptr<ASDCP::JP2K::SFrameBuffer> _buffer;
A single frame of a 3D (stereoscopic) picture asset.
std::shared_ptr< OpenJPEGImage > xyz_image(Eye eye, int reduce=0) const
Namespace for everything in libdcp.