60 extern std::shared_ptr<OpenJPEGImage>
decompress_j2k (uint8_t
const * data, int64_t size,
int reduce);
63 extern std::shared_ptr<OpenJPEGImage>
decompress_j2k (std::shared_ptr<const Data> data,
int reduce);
68 extern ArrayData compress_j2k (std::shared_ptr<const OpenJPEGImage>,
int bandwith,
int frames_per_second,
bool threed,
bool fourk, std::string comment =
"libdcp");
Class to hold an arbitrary block of data.
Namespace for everything in libdcp.
ArrayData compress_j2k(std::shared_ptr< const OpenJPEGImage >, int bandwith, int frames_per_second, bool threed, bool fourk, std::string comment="libdcp")
std::shared_ptr< OpenJPEGImage > decompress_j2k(uint8_t const *data, int64_t size, int reduce)