Partager via


2.2.1 NSCodec Capability Set (TS_NSCODEC_CAPABILITYSET)

The TS_NSCODEC_CAPABILITYSET structure advertises properties of the NSCodec Bitmap Codec. This capability set is encapsulated in the codecProperties field of the Bitmap Codec ([MS-RDPBCGR] section 2.2.7.2.10.1.1) structure, which is ultimately encapsulated in the Bitmap Codecs Capability Set ([MS-RDPBCGR] section 2.2.7.2.10), which is encapsulated in a server-to-client Demand Active PDU ([MS-RDPBCGR] section 2.2.1.13.1) or client-to-server Confirm Active PDU ([MS-RDPBCGR] section 2.2.1.13.2).


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

fAllowDynamicFidelity

fAllowSubsampling

colorLossLevel

fAllowDynamicFidelity (1 byte): An 8-bit unsigned integer that indicates support for lossy bitmap compression by reducing color fidelity ([MS-RDPEGDI] section 3.1.9.1.4).

Value

Meaning

FALSE

0x00

Lossy compression is not supported.

TRUE

0x01

Lossy compression is supported.

fAllowSubsampling  (1 byte): An 8-bit unsigned integer that indicates support for chroma subsampling ([MS-RDPEGDI] section 3.1.9.1.3).

Value

Meaning

FALSE

0x00

Chroma subsampling is not supported.

TRUE

0x01

Chroma subsampling is supported.

colorLossLevel (1 byte): An 8-bit unsigned integer that indicates the maximum supported Color Loss Level ([MS-RDPEGDI] section 3.1.9.1.4). This value MUST be between 1 and 7 (inclusive).