2.2.4.2.1 RFX_PROGRESSIVE_DATABLOCK

The RFX_PROGRESSIVE_DATABLOCK structure is used to wrap data sent from the server to the client. All RemoteFX Progressive data blocks conform to this basic structure and are specified in sections 2.2.4.2.1.1 through 2.2.4.2.1.5.5.


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

blockType

blockLen

...

blockData (variable)

...

...

blockType (2 bytes):  A 16-bit unsigned integer that specifies the block type. This field MUST be set to one of the following values. If this field is not set to one of the specified values, the decoder SHOULD ignore the contents of the blockLen and blockData fields.

Value

Meaning

WBT_SYNC

0xCCC0

RFX_PROGRESSIVE_SYNC (section 2.2.4.2.1.1)

WBT_FRAME_BEGIN

0xCCC1

RFX_PROGRESSIVE_FRAME_BEGIN (section 2.2.4.2.1.2)

WBT_FRAME_END

0xCCC2

RFX_PROGRESSIVE_FRAME_END (section 2.2.4.2.1.3)

WBT_CONTEXT

0xCCC3

RFX_PROGRESSIVE_CONTEXT (section 2.2.4.2.1.4)

WBT_REGION

0xCCC4

RFX_PROGRESSIVE_REGION (section 2.2.4.2.1.5)

WBT_TILE_SIMPLE

0xCCC5

RFX_PROGRESSIVE_TILE_SIMPLE (section 2.2.4.2.1.5.3)

WBT_TILE_PROGRESSIVE_FIRST

0xCCC6

RFX_PROGRESSIVE_TILE_FIRST (section 2.2.4.2.1.5.4)

WBT_TILE_PROGRESSIVE_UPGRADE

0xCCC7

RFX_PROGRESSIVE_TILE_UPGRADE (section 2.2.4.2.1.5.5)

blockLen (4 bytes):  A 32-bit unsigned integer that specifies the combined size, in bytes, of the blockType, blockLen and blockData fields.

blockData (variable):  A variable-length field that contains data that conforms to the structure of the type specified by the blockType field.