Grok 12.0.1
|
The JPEG 2000 file format Reader/Writer (JP2) More...
#include <string>
Go to the source code of this file.
Classes | |
struct | grk::FileFormatBox |
struct | grk::ComponentInfo |
struct | grk::AsocBox |
Association box (defined in ITU 15444-2 Annex M 11.1 ) More... | |
struct | grk::UUIDBox |
class | grk::FileFormat |
JPEG 2000 file format reader/writer. More... | |
Namespaces | |
namespace | grk |
Copyright (C) 2016-2024 Grok Image Compression Inc. | |
Macros | |
#define | JP2_JP 0x6a502020 |
JPEG 2000 signature box. | |
#define | JP2_FTYP 0x66747970 |
File type box. | |
#define | JP2_JP2H 0x6a703268 |
JP2 header box (super-box) | |
#define | JP2_IHDR 0x69686472 |
Image header box. | |
#define | JP2_COLR 0x636f6c72 |
Colour specification box. | |
#define | JP2_JP2C 0x6a703263 |
Contiguous code stream box. | |
#define | JP2_PCLR 0x70636c72 |
Palette box. | |
#define | JP2_CMAP 0x636d6170 |
Component Mapping box. | |
#define | JP2_CDEF 0x63646566 |
Channel Definition box. | |
#define | JP2_DTBL 0x6474626c |
Data Reference box. | |
#define | JP2_BPCC 0x62706363 |
Bits per component box. | |
#define | JP2_JP2 0x6a703220 |
File type fields. | |
#define | JP2_JPH 0x6A706820 |
#define | JP2_RES 0x72657320 |
Resolution box (super-box) | |
#define | JP2_CAPTURE_RES 0x72657363 |
Capture resolution box. | |
#define | JP2_DISPLAY_RES 0x72657364 |
Display resolution box. | |
#define | JP2_JP2I 0x6a703269 |
Intellectual property box. | |
#define | JP2_XML 0x786d6c20 |
XML box. | |
#define | JP2_UUID 0x75756964 |
UUID box. | |
#define | JP2_UINF 0x75696e66 |
UUID info box (super-box) | |
#define | JP2_ULST 0x756c7374 |
UUID list box. | |
#define | JP2_URL 0x75726c20 |
Data entry URL box. | |
#define | JP2_ASOC 0x61736f63 |
Associated data box. | |
#define | JP2_LBL 0x6c626c20 |
Label box. | |
#define | JP2_MAX_NUM_UUIDS 128 |
#define | GRK_BOX_SIZE 1024 |
#define | GRK_RESOLUTION_BOX_SIZE (4 + 4 + 10) |
Enumerations | |
enum | grk::JP2_STATE { grk::JP2_STATE_NONE = 0x0 , grk::JP2_STATE_SIGNATURE = 0x1 , grk::JP2_STATE_FILE_TYPE = 0x2 , grk::JP2_STATE_HEADER = 0x4 , grk::JP2_STATE_CODESTREAM = 0x8 , grk::JP2_STATE_END_CODESTREAM = 0x10 , grk::JP2_STATE_UNKNOWN = 0x7fffffff } |
Variables | |
const uint8_t | grk::IPTC_UUID [16] |
const uint8_t | grk::XMP_UUID [16] |
The JPEG 2000 file format Reader/Writer (JP2)
#define GRK_BOX_SIZE 1024 |
Referenced by grk::FileFormatDecompress::readHeaderProcedureImpl().
#define GRK_RESOLUTION_BOX_SIZE (4 + 4 + 10) |
#define JP2_ASOC 0x61736f63 |
Associated data box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatDecompress::read_asoc().
#define JP2_BPCC 0x62706363 |
Bits per component box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_bpc().
#define JP2_CAPTURE_RES 0x72657363 |
Capture resolution box.
Referenced by grk::FileFormatDecompress::read_res(), and grk::FileFormatCompress::write_res().
#define JP2_CDEF 0x63646566 |
Channel Definition box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_channel_definition().
#define JP2_CMAP 0x636d6170 |
Component Mapping box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_component_mapping().
#define JP2_COLR 0x636f6c72 |
Colour specification box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_colr().
#define JP2_DISPLAY_RES 0x72657364 |
Display resolution box.
Referenced by grk::FileFormatDecompress::read_res(), and grk::FileFormatCompress::write_res().
#define JP2_DTBL 0x6474626c |
Data Reference box.
#define JP2_FTYP 0x66747970 |
File type box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_ftyp().
#define JP2_IHDR 0x69686472 |
Image header box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), grk::FileFormatDecompress::read_jp2h(), and grk::FileFormatCompress::write_ihdr().
#define JP2_JP 0x6a502020 |
JPEG 2000 signature box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_jp().
#define JP2_JP2 0x6a703220 |
File type fields.
Referenced by grk::FileFormatCompress::init().
#define JP2_JP2C 0x6a703263 |
Contiguous code stream box.
Referenced by grk::FileFormatDecompress::read_box_hdr(), grk::FileFormatDecompress::readHeaderProcedureImpl(), and grk::FileFormatCompress::write_jp2c().
#define JP2_JP2H 0x6a703268 |
JP2 header box (super-box)
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_jp2h().
#define JP2_JP2I 0x6a703269 |
Intellectual property box.
#define JP2_JPH 0x6A706820 |
Referenced by grk::FileFormatCompress::init().
#define JP2_LBL 0x6c626c20 |
Label box.
Referenced by grk::FileFormatDecompress::read_asoc().
#define JP2_MAX_NUM_UUIDS 128 |
Referenced by grk::FileFormatDecompress::read_uuid().
#define JP2_PCLR 0x70636c72 |
Palette box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_palette_clr().
#define JP2_RES 0x72657320 |
Resolution box (super-box)
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_res().
#define JP2_UINF 0x75696e66 |
UUID info box (super-box)
#define JP2_ULST 0x756c7374 |
UUID list box.
#define JP2_URL 0x75726c20 |
Data entry URL box.
#define JP2_UUID 0x75756964 |
UUID box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), and grk::FileFormatCompress::write_uuids().
#define JP2_XML 0x786d6c20 |
XML box.
Referenced by grk::FileFormatDecompress::FileFormatDecompress(), grk::FileFormatDecompress::read_asoc(), and grk::FileFormatCompress::write_xml().