corrade-vassal – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 vero 1 /*
2 * cvs identifier:
3 *
4 * $Id: FileFormatBoxes.java,v 1.10 2001/02/14 12:22:20 qtxjoas Exp $
5 *
6 * Class: FileFormatMarkers
7 *
8 * Description: Contains definitions of boxes used in jp2 files
9 *
10 *
11 *
12 * COPYRIGHT:
13 *
14 * This software module was originally developed by Raphaël Grosbois and
15 * Diego Santa Cruz (Swiss Federal Institute of Technology-EPFL); Joel
16 * Askelöf (Ericsson Radio Systems AB); and Bertrand Berthelot, David
17 * Bouchard, Félix Henry, Gerard Mozelle and Patrice Onno (Canon Research
18 * Centre France S.A) in the course of development of the JPEG2000
19 * standard as specified by ISO/IEC 15444 (JPEG 2000 Standard). This
20 * software module is an implementation of a part of the JPEG 2000
21 * Standard. Swiss Federal Institute of Technology-EPFL, Ericsson Radio
22 * Systems AB and Canon Research Centre France S.A (collectively JJ2000
23 * Partners) agree not to assert against ISO/IEC and users of the JPEG
24 * 2000 Standard (Users) any of their rights under the copyright, not
25 * including other intellectual property rights, for this software module
26 * with respect to the usage by ISO/IEC and Users of this software module
27 * or modifications thereof for use in hardware or software products
28 * claiming conformance to the JPEG 2000 Standard. Those intending to use
29 * this software module in hardware or software products are advised that
30 * their use may infringe existing patents. The original developers of
31 * this software module, JJ2000 Partners and ISO/IEC assume no liability
32 * for use of this software module or modifications thereof. No license
33 * or right to this software module is granted for non JPEG 2000 Standard
34 * conforming products. JJ2000 Partners have full right to use this
35 * software module for his/her own purpose, assign or donate this
36 * software module to any third party and to inhibit third parties from
37 * using this software module for non JPEG 2000 Standard conforming
38 * products. This copyright notice must be included in all copies or
39 * derivative works of this software module.
40 *
41 * Copyright (c) 1999/2000 JJ2000 Partners.
42 *
43 *
44 *
45 */
46 using System;
47 namespace CSJ2K.j2k.fileformat
48 {
49  
50  
51 /// <summary> This class contains all the markers used in the JPEG 2000 Part I file format
52 ///
53 /// </summary>
54 /// <seealso cref="jj2000.j2k.fileformat.writer.FileFormatWriter">
55 ///
56 /// </seealso>
57 /// <seealso cref="jj2000.j2k.fileformat.reader.FileFormatReader">
58 ///
59 /// </seealso>
60 public struct FileFormatBoxes {
61 /// <summary>* Main boxes ***</summary>
62  
63 public const int READER_REQUIREMENTS_BOX = 0x72726571;
64 public const int JP2_SIGNATURE_BOX = 0x6a502020;
65 public const int FILE_TYPE_BOX = 0x66747970;
66 public const int JP2_HEADER_BOX = 0x6a703268;
67 public const int CONTIGUOUS_CODESTREAM_BOX = 0x6a703263;
68 public const int INTELLECTUAL_PROPERTY_BOX = 0x64703269;
69 public const int XML_BOX = 0x786d6c20;
70 public const int UUID_BOX = 0x75756964;
71 public const int UUID_INFO_BOX = 0x75696e66;
72 /// <summary>JP2 Header boxes </summary>
73 public const int IMAGE_HEADER_BOX = 0x69686472;
74 public const int BITS_PER_COMPONENT_BOX = 0x62706363;
75 public const int COLOUR_SPECIFICATION_BOX = 0x636f6c72;
76 public const int PALETTE_BOX = 0x70636c72;
77 public const int COMPONENT_MAPPING_BOX = 0x636d6170;
78 public const int CHANNEL_DEFINITION_BOX = 0x63646566;
79 public const int RESOLUTION_BOX = 0x72657320;
80 public const int CAPTURE_RESOLUTION_BOX = 0x72657363;
81 public const int DEFAULT_DISPLAY_RESOLUTION_BOX = 0x72657364;
82 /// <summary>UUID Info Boxes </summary>
83 public const int UUID_LIST_BOX = 0x75637374;
84 public const int URL_BOX = 0x75726c20;
85 /// <summary>end of UUID Info boxes </summary>
86 /// <summary>Image Header Box Fields </summary>
87 public const int IMB_VERS = 0x0100;
88 public const int IMB_C = 7;
89 public const int IMB_UnkC = 1;
90 public const int IMB_IPR = 0;
91 /// <summary>end of Image Header Box Fields</summary>
92 /// <summary>Colour Specification Box Fields </summary>
93 public const int CSB_METH = 1;
94 public const int CSB_PREC = 0;
95 public const int CSB_APPROX = 0;
96 public const int CSB_ENUM_SRGB = 16;
97 public const int CSB_ENUM_GREY = 17;
98 /// <summary>en of Colour Specification Box Fields </summary>
99 /// <summary>File Type Fields </summary>
100 public const int FT_BR = 0x6a703220;
101 }
102 }