2.2.2.2.2 NSCodec RLE Literal Segment (NSCODEC_RLE_LITERAL_SEGMENT)

The NSCODEC_RLE_RUN_SEGMENT structure is used to represent an RLE literal (section 3.1.8.1).


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

RunValue

RunValue (1 byte): An 8-bit, unsigned integer that contains a raw value from the original color plane. Either any bytes in the RLE encoded color plane stream that follow the RunValue field MUST NOT equal the value of the RunValue field, or the RunValue field MUST be the last segment in the stream.