Clean up encodings array

List pseudo-encodings seperately and sorted by encoding number.
This commit is contained in:
samhed 2016-06-02 14:53:22 +02:00
parent 5fd3f88e50
commit 5a20f425d4
1 changed files with 6 additions and 4 deletions

View File

@ -43,18 +43,20 @@ var RFB;
['HEXTILE', 0x05 ], ['HEXTILE', 0x05 ],
['RRE', 0x02 ], ['RRE', 0x02 ],
['RAW', 0x00 ], ['RAW', 0x00 ],
['DesktopSize', -223 ],
['Cursor', -239 ],
// Psuedo-encoding settings // Psuedo-encoding settings
//['JPEG_quality_lo', -32 ], //['JPEG_quality_lo', -32 ],
['JPEG_quality_med', -26 ], ['JPEG_quality_med', -26 ],
//['JPEG_quality_hi', -23 ], //['JPEG_quality_hi', -23 ],
//['compress_lo', -255 ], //['compress_lo', -255 ],
['compress_hi', -247 ], ['compress_hi', -247 ],
['DesktopSize', -223 ],
['last_rect', -224 ], ['last_rect', -224 ],
['xvp', -309 ], ['Cursor', -239 ],
['ExtendedDesktopSize', -308 ] ['ExtendedDesktopSize', -308 ],
['xvp', -309 ]
]; ];
this._encHandlers = {}; this._encHandlers = {};