2.2.4.1.1.1 CLEARCODEC_RESIDUAL_DATA

The CLEARCODEC_RESIDUAL_DATA structure contains the first layer of pixels in an encoded image. The number of pixels encoded by this structure MUST be less than or equal to the number of pixels in the original image. The pixels are ordered from left to right and then top to bottom, and are stored as a succession of CLEARCODEC_RGB_RUN_SEGMENT (section 2.2.4.1.1.1.1) structures.


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

runSegments (variable)

...

...

runSegments (variable):  A variable-length array of CLEARCODEC_RGB_RUN_SEGMENT structures.