C.7.9.2.3 Indirect Segment Type
Prev | C.7.9.2 Segmented Palette Color Lookup Table Data | Next

##### C.7.9.2.3 Indirect Segment Type

The indirect segment allows the re-use of repetitive regions within lookup table without respecifying the segment. The opcode is followed by the number of segments to copy and one offset pointer to the first segment to copy. The byte offset is relative to the beginning of the lookup table. For example, if an indirect segment wants to point to the first segment, then the offset will be zero. The offset is a 32 bit value but is stored in the segment as a least significant 16 bit value followed by a most significant 16 bit value. An indirect segment shall not point to or copy another indirect segment. This avoids the need for recursion and also avoids the possibility of infinite loops.

The indirect segment's format shall be as follows:

Table C.7-27. Indirect Segment Type

Segment Opcode = 2
Number of segments to copy
Least significant 16 bits of byte offset to first segment to copy
Most significant 16 bits of byte offset to first segment to copy

Prev | Up | Next
C.7.9.2.2 Linear Segment Type | Home | C.8 Modality Specific Modules