JEITA CP-3451
- 67 -
E. Stream Data Segment structure
A stream data segment records part or all of the stream listed in the contents list segment. Because of the 64-Kbyte
size limit of a JPEG marker segment, a stream longer than this shall be recorded in two or more stream data
segments. Instead of writing stream data directly in multiple stream data segments, the segments may be filled
based on a fixed default. A stream data segment contains the following data.
− Index into Contents Lists
The order of Interoperability recorded in a contents list segment starting from 0.
− Offset into the full Flashpix stream
The offset to the first byte of stream data in the Flashpix stream.
− Stream Data
The actual data stream recorded as extended data in the transformation to Flashpix. The length of this data is
indicated by the length code in the stream data segment.
The data structure of a Stream Data Segment is given in Figure 28.
Address Offset
Bytes
Code
Meaning
(Hex)
(Hex)
(Hex)
+00
1
FF
Marker Prefix
+01
1
E2
APP2
+02
2
Length of field
+04
4
"FPXR"
+08
1
00
NULL
+09
1
00
Version
+0A
1
02
Stream Data
+0B
2
N
Index to Contents List
+0C
4
(Offset)
Offset to Flashpix stream
+11
Variable
(value)
Stream Data
Figure 28 Stream Data Segment Structure
F. Reserved Segment (Reserved for future use by the Flashpix format)
This marker segment is reserved for future use. An example is given in Figure 29.
Address Offset
Bytes
Code
Meaning
(Hex)
(Hex)
(Hex)
+00
1
FF
Marker Prefix
+01
1
E2
APP2
+02
2
Length of field
+04
4
"FPXR"
+08
1
00
NULL
+09
1
00
Version
+0A
1
03
Reserved for Flashpix
+0B
:
:
:
:
Figure 29 Structure of Data Segment Reserved for Flashpix