2.2.4.1.1 CLEARCODEC_COMPOSITE_PAYLOAD

The CLEARCODEC_COMPOSITE_PAYLOAD structure contains bitmap data encoded using ClearCodec compression techniques.


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

residualByteCount

bandsByteCount

subcodecByteCount

residualData (variable)

...

...

bandsData (variable)

...

...

subcodecData (variable)

...

...

residualByteCount (4 bytes):  A 32-bit unsigned integer that specifies the number of bytes in the residualData field.

bandsByteCount (4 bytes):  A 32-bit unsigned integer that specifies the number of bytes in the bandsData field.

subcodecByteCount (4 bytes):  A 32-bit unsigned integer that specifies the number of bytes in the subcodecData field.

residualData (variable):  An optional variable-length CLEARCODEC_RESIDUAL_DATA (section 2.2.4.1.1.1) structure that contains the compressed data for the first layer of the image. If the residualByteCount field is zero, this field MUST NOT be present.

bandsData (variable):  An optional variable-length CLEARCODEC_BANDS_DATA (section 2.2.4.1.1.2) structure that contains the compressed data for the second layer of the image. If the bandsByteCount field is zero, this field MUST NOT be present.

subcodecData (variable):  An optional variable-length CLEARCODEC_SUBCODECS_DATA (section 2.2.4.1.1.3) structure that contains the compressed data for the third layer of the image. If the subcodecByteCount field is zero, this field MUST NOT be present.