2.2.4.2.1.1 RFX_PROGRESSIVE_SYNC
The RFX_PROGRESSIVE_SYNC structure is used to transport codec version information. It is optional and SHOULD appear only once as the first block in the progressiveDataBlocks field of the encapsulating RFX_PROGRESSIVE_BITMAP_STREAM (section 2.2.4.2) structure. If this block appears out of sequence, the decoder SHOULD ignore it.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
blockType |
blockLen |
||||||||||||||||||||||||||||||
... |
magic |
||||||||||||||||||||||||||||||
... |
version |
blockType (2 bytes): A 16-bit unsigned integer that specifies the block type. This field MUST be set to WBT_SYNC (0xCCC0).
blockLen (4 bytes): A 32-bit unsigned integer that specifies the size, in bytes, of the RFX_PROGRESSIVE_SYNC block. This field MUST be set to 12 (0x0000000C).
magic (4 bytes): A 32-bit unsigned integer that SHOULD be set to 0xCACCACCA. The decoder SHOULD ignore this value.
version (2 bytes): A 16-bit unsigned integer that specifies the version of the codec. The upper 8 bits indicate the major version number, while the lower 8 bits indicate the minor version number. The current version of the wire format is 1.0 (encoded as 0x0100). The decoder SHOULD ignore this value.