2.2.2.3.3 TS_RFX_REGION

The TS_RFX_REGION message contains information about the list of change rectangles on the screen for a specific channel. It also specifies the number of trailing TS_RFX_TILESET (section 2.2.2.3.4) messages.


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

CodecChannelT

...

regionFlags

numRects

rects (variable)

...

regionType

numTilesets

CodecChannelT (8 bytes): A TS_RFX_CODEC_CHANNELT (section 2.2.2.1.2) structure. The blockType field MUST be set to WBT_REGION (0xCCC6).

regionFlags (1 byte): An 8-bit, unsigned integer. Contains a collection of bit-packed property fields. The format of this field is described by the following bitfield diagram.

0

1

2

3

4

5

6

7

lrf

reserved

lrf (1 bit): A 1-bit unsigned integer. This field MUST be set to 0x1. The decoder SHOULD ignore this field.

reserved (7 bits: A 7-bit integer reserved for future use. This field MUST be ignored.

numRects (2 bytes): A 16-bit, unsigned integer. Specifies the number of TS_RFX_RECT (section 2.2.2.1.6) structures present in the rects field. If this value is zero, the decoder MUST generate a rectangle with coordinates (0, 0, width, height) that reflects the width and height of the channel's frame (section 2.2.2.1.3).

rects (variable): A variable-length array of TS_RFX_RECT (section 2.2.2.1.6) structures. This array defines the region. The number of rectangles in the array is specified in the numRects field. Processing rules for the rectangles in this array are specified in section 3.1.8.2.6.

regionType (2 bytes): A 16-bit, unsigned integer. Specifies the region type. This field MUST be set to CBT_REGION (0xCAC1).

numTilesets (2 bytes): A 16-bit, unsigned integer. Specifies the number of TS_RFX_TILESET (section 2.2.2.3.4) messages following this TS_RFX_REGION message. This field MUST be set to 0x0001.