40 #ifndef LIBDCP_J2K_PICTURE_ASSET_H
41 #define LIBDCP_J2K_PICTURE_ASSET_H
44 #include "behaviour.h"
47 #include "picture_asset.h"
53 struct PictureDescriptor;
61 class MonoJ2KPictureFrame;
62 class StereoJ2KPictureFrame;
63 class J2KPictureAssetWriter;
78 virtual std::shared_ptr<J2KPictureAssetWriter> start_write (
79 boost::filesystem::path
file,
83 static std::string static_pkl_type (Standard standard);
89 bool frame_buffer_equals (
91 uint8_t
const * data_A,
unsigned int size_A, uint8_t
const * data_B,
unsigned int size_B
94 bool descriptor_equals (
95 ASDCP::JP2K::PictureDescriptor
const & a,
96 ASDCP::JP2K::PictureDescriptor
const & b,
100 void read_picture_descriptor (ASDCP::JP2K::PictureDescriptor
const &);
103 std::string
pkl_type (Standard standard)
const override;
boost::optional< boost::filesystem::path > file() const
A class to describe what "equality" means for a particular test.
A fraction (i.e. a thing with an integer numerator and an integer denominator).
An asset made up of JPEG2000 data.
J2KPictureAsset(boost::filesystem::path file)
std::string pkl_type(Standard standard) const override
A helper class for writing to MonoJ2KPictureAssets.
A helper class for writing to StereoJ2KPictureAssets.
Namespace for everything in libdcp.
Utility methods and classes.