Grok  7.6.0
Dump.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016-2020 Grok Image Compression Inc.
3  *
4  * This source code is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU Affero General Public License, version 3,
6  * as published by the Free Software Foundation.
7  *
8  * This source code is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU Affero General Public License for more details.
12  *
13  * You should have received a copy of the GNU Affero General Public License
14  * along with this program. If not, see <http://www.gnu.org/licenses/>.
15  *
16  *
17  * This source code incorporates work covered by the BSD 2-clause license.
18  * Please see the LICENSE file in the root directory for details.
19  *
20  */
21 
22 #pragma once
23 
24 #include <vector>
25 #include <map>
26 
27 namespace grk {
28 
29 struct FileFormat;
30 
31 
40 void j2k_dump(CodeStream *codeStream, int32_t flag, FILE *out_stream);
41 
49 void j2k_dump_image_header(grk_image *image, bool dev_dump_flag,
50  FILE *out_stream);
51 
59 void j2k_dump_image_comp_header( grk_image_comp *comp, bool dev_dump_flag,
60  FILE *out_stream);
61 
70 
79 
81 
83 
90 
99  void jp2_dump(FileFormat *fileFormat, int32_t flag, FILE *out_stream);
100 
109 
118 
119 
120 }
_grk_codestream_index
Code stream index info.
Definition: grok.h:1149
grk::jp2_get_cstr_info
grk_codestream_info_v2 * jp2_get_cstr_info(FileFormat *fileFormat)
Get the code stream info from a JPEG2000 codec.
grk::jp2_dump
void jp2_dump(FileFormat *fileFormat, int32_t flag, FILE *out_stream)
Dump some elements from the JP2 decompression structure .
grk::j2k_destroy_cstr_index
void j2k_destroy_cstr_index(grk_codestream_index *p_cstr_ind)
Destroys a code stream index structure.
grk::j2k_get_cstr_index
grk_codestream_index * j2k_get_cstr_index(CodeStream *codeStream)
Get the code stream index from a JPEG2000 codec.
grk::FileFormat
JPEG 2000 file format reader/writer.
Definition: FileFormat.h:132
grk::j2k_dump
void j2k_dump(CodeStream *codeStream, int32_t flag, FILE *out_stream)
Dump some elements from the J2K decompression structure .
grk::CodeStream
Definition: CodeStream.h:130
grk::j2k_create_cstr_index
grk_codestream_index * j2k_create_cstr_index(void)
_grk_image_comp
Image component.
Definition: grok.h:851
_grk_codestream_info_v2
Code stream info v2.
Definition: grok.h:1092
grk::jp2_get_cstr_index
grk_codestream_index * jp2_get_cstr_index(FileFormat *fileFormat)
Get the code stream index from a JPEG2000 codec.
grk
Copyright (C) 2016-2020 Grok Image Compression Inc.
Definition: BitIO.h:27
grk::j2k_allocate_tile_element_cstr_index
bool j2k_allocate_tile_element_cstr_index(CodeStream *codeStream)
grk::j2k_dump_image_comp_header
void j2k_dump_image_comp_header(grk_image_comp *comp, bool dev_dump_flag, FILE *out_stream)
Dump a component image header structure.
grk::j2k_dump_image_header
void j2k_dump_image_header(grk_image *image, bool dev_dump_flag, FILE *out_stream)
Dump an image header structure.
_grk_image
Image.
Definition: grok.h:880
grk::j2k_get_cstr_info
grk_codestream_info_v2 * j2k_get_cstr_info(CodeStream *codeStream)
Get the code stream info from a JPEG2000 codec.