Loading...
Searching...
No Matches
jp2image_int.hpp
#ifndef JP2IMAGE_INT_HPP
#define JP2IMAGE_INT_HPP
#include <stdint.h>
#include <vector>
namespace Exiv2
{
namespace Internal
{
struct Jp2BoxHeader
{
uint32_t length;
uint32_t type;
};
struct Jp2ImageHeaderBox
{
uint32_t imageHeight;
uint32_t imageWidth;
uint16_t componentCount;
uint8_t bpc; //<! Bits per component
uint8_t c; //<! Compression type
uint8_t unkC; //<! Colourspace unknown
uint8_t ipr; //<! Intellectual property
};
struct Jp2UuidBox
{
uint8_t uuid[16];
};
const uint32_t brandJp2 = 0x6a703220;
bool isValidBoxFileType(const std::vector<uint8_t>& boxData);
} // namespace Internal
} // namespace Exiv2
#endif // JP2IMAGE_INT_HPP
Exiv2::Internal::isValidBoxFileType
bool isValidBoxFileType(const std::vector< uint8_t > &boxData)
Determines if the File Type box is valid.
Definition jp2image_int.cpp:10
Exiv2
Provides classes and functions to encode and decode Exif and Iptc data. The libexiv2 API consists of ...
Definition asfvideo.hpp:36
Exiv2::Internal::Jp2BoxHeader
Definition jp2image_int.hpp:12
Exiv2::Internal::Jp2ImageHeaderBox
Definition jp2image_int.hpp:18
Exiv2::Internal::Jp2UuidBox
Definition jp2image_int.hpp:29