Grok
9.5.0
src
lib
jp2
t1
OpenHTJ2K
codestream
marker_def.hpp
Go to the documentation of this file.
1
// Copyright (c) 2019 - 2021, Osamu Watanabe
2
// All rights reserved.
3
//
4
// Redistribution and use in source and binary forms, with or without
5
// modification, are permitted provided that the following conditions are met:
6
//
7
// 1. Redistributions of source code must retain the above copyright notice, this
8
// list of conditions and the following disclaimer.
9
//
10
// 2. Redistributions in binary form must reproduce the above copyright notice,
11
// this list of conditions and the following disclaimer in the documentation
12
// and/or other materials provided with the distribution.
13
//
14
// 3. Neither the name of the copyright holder nor the names of its
15
// contributors may be used to endorse or promote products derived from
16
// this software without specific prior written permission.
17
//
18
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
19
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
20
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
22
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
24
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
25
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
29
#pragma once
30
31
// Delimiting markers and marker segments
32
#define _SOC 0xFF4F
33
#define _SOT 0xFF90
34
#define _SOD 0xFF93
35
#define _EOC 0xFFD9
36
37
// Fixed information marker segments
38
#define _SIZ 0xFF51
39
#define _PRF 0xFF56
40
#define _CAP 0xFF50
41
42
// Functional marker segments
43
#define _COD 0xFF52
44
#define _COC 0xFF53
45
#define _RGN 0xFF5E
46
#define _QCD 0xFF5C
47
#define _QCC 0xFF5D
48
#define _POC 0xFF5F
49
50
// Pointer marker segments
51
#define _TLM 0xFF55
52
#define _PLM 0xFF57
53
#define _PLT 0xFF58
54
#define _PPM 0xFF60
55
#define _PPT 0xFF61
56
57
// In-bit-stream markers and marker segments
58
#define _SOP 0xFF91
59
#define _EPH 0xFF92
60
61
// Informational marker segments
62
#define _CRG 0xFF63
63
#define _COM 0xFF64
64
65
// Part 15 marker segment
66
#define _CPF 0xFF59
Generated by
1.9.1