40 #ifndef LIBDCP_MONO_J2K_PICTURE_FRAME_H
41 #define LIBDCP_MONO_J2K_PICTURE_FRAME_H
45 #include <boost/filesystem.hpp>
46 #include <boost/optional.hpp>
86 std::shared_ptr<OpenJPEGImage>
xyz_image (
int reduce = 0)
const;
89 uint8_t
const *
data ()
const override;
92 uint8_t*
data ()
override;
95 int size ()
const override;
103 MonoJ2KPictureFrame (ASDCP::JP2K::MXFReader* reader, int n, std::shared_ptr<DecryptionContext>, bool check_hmac);
105 std::shared_ptr<ASDCP::JP2K::FrameBuffer> _buffer;
A single frame of a 2D (monoscopic) picture asset.
std::shared_ptr< OpenJPEGImage > xyz_image(int reduce=0) const
int size() const override
uint8_t const * data() const override
MonoJ2KPictureFrame(boost::filesystem::path path)
Namespace for everything in libdcp.