Partager via


2.2.1.1.1.1.1 TS_RFX_ICAP

The TS_RFX_ICAP structure specifies the set of codec properties that the decoder supports.


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

version

tileSize

flags

colConvBits

transformBits

entropyBits

version (2 bytes): A 16-bit, unsigned integer. Specifies the codec version. This field MUST be set to CLW_VERSION_1_0 (0x0100), to indicate protocol version 1.0.

tileSize (2 bytes): A 16-bit, signed integer. Specifies the width and height of a tile. This field MUST be set to CT_TILE_64x64 (0x0040), indicating that a tile is 64 x 64 pixels.

flags (1 byte): An 8-bit, unsigned integer. Specifies operational flags.

Flag

Meaning

CODEC_MODE

0x02

When this flag is set, it indicates that only image mode is supported by the decoder, and therefore, the codec MUST operate in image mode. When this flag is not set, it indicates that both the image mode and the video mode of the codec are supported by the decoder and the codec MUST operate in video mode.

When operating in image mode, the encode headers messages (section 2.2.2.2) MUST always precede an encoded frame. When operating in video mode, the header messages MUST be present at the beginning of the stream and are optional elsewhere.

colConvBits (1 byte): An 8-bit, unsigned integer. Specifies the color conversion transform. This field MUST be set to CLW_COL_CONV_ICT (0x1), and the transformation is by the equations in sections 3.1.8.1.3 and 3.1.8.2.5.

transformBits (1 byte): An 8-bit, unsigned integer. Specifies the DWT. This field MUST be set to CLW_XFORM_DWT_53_A (0x1), the DWT transform given by the lifting equations for the DWT shown in section 3.1.8.1.4 and by the lifting equations for the inverse DWT shown in section 3.1.8.2.4.

entropyBits (1 byte): An 8-bit, unsigned integer. Specifies the entropy algorithm. This field MUST be set to one of the following values.

Value

Meaning

CLW_ENTROPY_RLGR1

0x01

RLGR algorithm as described in 3.1.8.1.7.1.

CLW_ENTROPY_RLGR3

0x04

RLGR algorithm as described in section 3.1.8.1.7.2.