~ubuntu-branches/ubuntu/trusty/erlang/trusty

« back to all changes in this revision

Viewing changes to lib/asn1/test/asn1_SUITE_data/x420/Colour-Attributes.asn

  • Committer: Bazaar Package Importer
  • Author(s): Clint Byrum
  • Date: 2011-05-05 15:48:43 UTC
  • mfrom: (3.5.13 sid)
  • Revision ID: james.westby@ubuntu.com-20110505154843-0om6ekzg6m7ugj27
Tags: 1:14.b.2-dfsg-3ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Drop libwxgtk2.8-dev build dependency. Wx isn't in main, and not
    supposed to.
  - Drop erlang-wx binary.
  - Drop erlang-wx dependency from -megaco, -common-test, and -reltool, they
    do not really need wx. Also drop it from -debugger; the GUI needs wx,
    but it apparently has CLI bits as well, and is also needed by -megaco,
    so let's keep the package for now.
  - debian/patches/series: Do what I meant, and enable build-options.patch
    instead.
* Additional changes:
  - Drop erlang-wx from -et
* Dropped Changes:
  - patches/pcre-crash.patch: CVE-2008-2371: outer level option with
    alternatives caused crash. (Applied Upstream)
  - fix for ssl certificate verification in newSSL: 
    ssl_cacertfile_fix.patch (Applied Upstream)
  - debian/patches/series: Enable native.patch again, to get stripped beam
    files and reduce the package size again. (build-options is what
    actually accomplished this)
  - Remove build-options.patch on advice from upstream and because it caused
    odd build failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
-- Module Colour-Attributes (T.415:03/1993)
 
2
 
 
3
Colour-Attributes {2 8 1 5 14} DEFINITIONS ::=
 
4
BEGIN
 
5
 
 
6
EXPORTS
 
7
  Colour-Expression, Colour-Table, Colour-Spaces-List, Colour-Characteristics;
 
8
 
 
9
IMPORTS Character-Data
 
10
          FROM Document-Profile-Descriptor; --  see 7.7 
 
11
 
 
12
Real-Or-Int ::= CHOICE {a  REAL,
 
13
                        b  INTEGER
 
14
}
 
15
 
 
16
Colour-Expression ::= SEQUENCE {
 
17
  colour-access-mode  [0] IMPLICIT INTEGER {direct(0), indexed(1)},
 
18
  a
 
19
    [1]  CHOICE {direct-colour   [0] IMPLICIT Direct-Colour,
 
20
                 indexed-colour  [1] IMPLICIT Indexed-Colour}
 
21
}
 
22
 
 
23
Direct-Colour ::= SET {
 
24
  colour-space-id       [0] IMPLICIT INTEGER OPTIONAL,
 
25
  colour-specification  [1]  Colour-Specification OPTIONAL,
 
26
  colour-tolerance      [2]  Colour-Tolerance OPTIONAL
 
27
}
 
28
 
 
29
Colour-Specification ::= CHOICE {
 
30
  cmyk-colour  [0] IMPLICIT CMYK-Colour,
 
31
  rgb-colour   [1] IMPLICIT RGB-Colour,
 
32
  cie-colour   [2] IMPLICIT CIE-Colour
 
33
}
 
34
 
 
35
CMYK-Colour ::= SET {
 
36
  c-value  [0]  Real-Or-Int,
 
37
  m-value  [1]  Real-Or-Int,
 
38
  y-value  [2]  Real-Or-Int,
 
39
  k-value  [3]  Real-Or-Int OPTIONAL
 
40
}
 
41
 
 
42
RGB-Colour ::= SET {
 
43
  r-value  [0]  Real-Or-Int,
 
44
  g-value  [1]  Real-Or-Int,
 
45
  b-value  [2]  Real-Or-Int
 
46
}
 
47
 
 
48
CIE-Colour ::= SET {
 
49
  x-value  [0]  Real-Or-Int,
 
50
  y-value  [1]  Real-Or-Int,
 
51
  z-value  [2]  Real-Or-Int
 
52
}
 
53
 
 
54
Colour-Tolerance ::= CHOICE {
 
55
  unspecified-tolerance  [0] IMPLICIT NULL,
 
56
  specified-tolerance    [1] IMPLICIT Specified-Tolerance
 
57
}
 
58
 
 
59
Specified-Tolerance ::= SET {
 
60
  tolerance-value  [0]  Real-Or-Int,
 
61
  tolerance-space  [1] IMPLICIT INTEGER {cieluv(3), cielab(4)}
 
62
}
 
63
 
 
64
Indexed-Colour ::= SET {index  [0] IMPLICIT INTEGER OPTIONAL
 
65
}
 
66
 
 
67
Colour-Table ::= SET {
 
68
  colour-space-id       [0] IMPLICIT INTEGER,
 
69
  colour-table-entries
 
70
    [1] IMPLICIT SET OF
 
71
                   SET {index               [0] IMPLICIT INTEGER,
 
72
                        colour-coordinates  [1]  Colour-Specification,
 
73
                        colour-tolerance    [2]  Colour-Tolerance OPTIONAL
 
74
                   }
 
75
}
 
76
 
 
77
Colour-Characteristics ::= SET {
 
78
  colour-spaces-present
 
79
    [0] IMPLICIT SEQUENCE OF
 
80
                   SET {colour-space-type        [0] IMPLICIT Colour-Space-Type,
 
81
                        colour-calibration-type
 
82
                          [1] IMPLICIT Colour-Space-Calibration-Type},
 
83
  colour-modes-present         [1] IMPLICIT Colour-Modes-Present,
 
84
  minimum-colour-tolerance     [2]  Colour-Tolerance OPTIONAL,
 
85
  maximum-colour-table-length  [3] IMPLICIT INTEGER OPTIONAL,
 
86
  -- "maximum number of colour table entries" 
 
87
  maximum-rgb-lut-length       [4] IMPLICIT INTEGER OPTIONAL,
 
88
  -- "maximum number of look-up table entries" 
 
89
  maximum-cmy-k-grid-size      [5] IMPLICIT INTEGER OPTIONAL
 
90
}
 
91
 
 
92
Colour-Space-Type ::= INTEGER {rgb(0), cmyk(1), cmy(2), cieluv(3), cielab(4)}
 
93
 
 
94
Colour-Space-Calibration-Type ::= INTEGER {
 
95
  no-calibration(0), matrices(1), lookup-tables(2),
 
96
  matrices-and-lookup-tables(3)}
 
97
 
 
98
Colour-Modes-Present ::= INTEGER {direct(0), indexed(1), both(2)}
 
99
 
 
100
Colour-Spaces-List ::= SET OF Colour-Space
 
101
 
 
102
Colour-Space ::= SET {
 
103
  colour-space-id      [0] IMPLICIT INTEGER,
 
104
  colour-space-type    [1] IMPLICIT Colour-Space-Type,
 
105
  colour-space-name    [2] IMPLICIT Character-Data OPTIONAL,
 
106
  colour-data-scaling  [3]  Colour-Data-Scaling OPTIONAL,
 
107
  calibration-data     [4]  Calibration-Data OPTIONAL
 
108
}
 
109
 
 
110
Colour-Data-Scaling ::= SET {
 
111
  first-component   [0] IMPLICIT Scale-And-Offset,
 
112
  second-component  [1] IMPLICIT Scale-And-Offset,
 
113
  third-component   [2] IMPLICIT Scale-And-Offset,
 
114
  fourth-component  [3] IMPLICIT Scale-And-Offset OPTIONAL
 
115
}
 
116
 
 
117
Scale-And-Offset ::= SET {
 
118
  colour-scale   [0]  Real-Or-Int,
 
119
  colour-offset  [1]  Real-Or-Int
 
120
}
 
121
 
 
122
Calibration-Data ::= CHOICE {
 
123
  rgb     [0] IMPLICIT RGB-Calibration,
 
124
  cmyk    [1] IMPLICIT CMY-K-Calibration,
 
125
  cmy     [2] IMPLICIT CMY-K-Calibration,
 
126
  cieluv  [3] IMPLICIT CIE-Calibration,
 
127
  cielab  [4] IMPLICIT CIE-Calibration
 
128
}
 
129
 
 
130
CIE-Calibration ::= SET {reference-white  [0] IMPLICIT CIE-Ref
 
131
}
 
132
 
 
133
RGB-Calibration ::= SET {
 
134
  reference-white  [0] IMPLICIT CIE-Ref,
 
135
  matrix1          [1] IMPLICIT Three-by-Three-Matrix OPTIONAL,
 
136
  lookup-table     [3] IMPLICIT Colour-Lookup-Table OPTIONAL,
 
137
  matrix2          [2] IMPLICIT Three-by-Three-Matrix OPTIONAL
 
138
}
 
139
 
 
140
Three-by-Three-Matrix ::= SEQUENCE {
 
141
  row-1  Three-Nums,
 
142
  row-2  Three-Nums,
 
143
  row-3  Three-Nums
 
144
}
 
145
 
 
146
Three-Nums ::= SEQUENCE {
 
147
  column-1  Real-Or-Int,
 
148
  column-2  Real-Or-Int,
 
149
  column-3  Real-Or-Int
 
150
}
 
151
 
 
152
Colour-Lookup-Table ::= SET {
 
153
  number-of-entries  [0] IMPLICIT INTEGER,
 
154
  m                  [1] IMPLICIT INTEGER,
 
155
  n                  [2] IMPLICIT INTEGER,
 
156
  colour-table       [3] IMPLICIT SET OF Colour-Table-Entry
 
157
}
 
158
 
 
159
Colour-Table-Entry ::= SET {
 
160
  index  [3] IMPLICIT INTEGER,
 
161
  r      [0]  Real-Or-Int,
 
162
  g      [1]  Real-Or-Int,
 
163
  b      [2]  Real-Or-Int
 
164
}
 
165
 
 
166
CMY-K-Calibration ::= SET {
 
167
  reference-white  [0] IMPLICIT CIE-Ref,
 
168
  comment          [1] IMPLICIT Character-Data OPTIONAL,
 
169
  cmyk-lut         [2] IMPLICIT Grid-Specification
 
170
}
 
171
 
 
172
Grid-Specification ::=
 
173
  SET OF
 
174
    SET {grid-location  [0] IMPLICIT CMYK-Colour,
 
175
         grid-value     [1] IMPLICIT Grid-Value}
 
176
 
 
177
Grid-Value ::= SET {
 
178
  x-value  [0] IMPLICIT REAL,
 
179
  y-value  [1] IMPLICIT REAL,
 
180
  z-value  [2] IMPLICIT REAL
 
181
}
 
182
 
 
183
CIE-Ref ::= SET {
 
184
  xn-value  [0]  Real-Or-Int,
 
185
  yn-value  [1]  Real-Or-Int,
 
186
  zn-value  [2]  Real-Or-Int
 
187
}
 
188
 
 
189
END
 
190
 
 
191
-- Generated by Asnp, the ASN.1 pretty-printer of France Telecom R&D
 
192