FreeRDP
|
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/bitstream.h>
#include <freerdp/freerdp.h>
#include <freerdp/log.h>
#include "../mppc.h"
Functions | |
static int | test_MppcCompressBellsRdp5 (void) |
static int | test_MppcCompressBellsRdp4 (void) |
static int | test_MppcDecompressBellsRdp5 (void) |
static int | test_MppcDecompressBellsRdp4 (void) |
static int | test_MppcCompressIslandRdp5 (void) |
static int | test_MppcCompressBufferRdp5 (void) |
static int | test_MppcDecompressBufferRdp5 (void) |
int | TestFreeRDPCodecMppc (int argc, char *argv[]) |
Variables | |
static const BYTE | TEST_RDP5_COMPRESSED_DATA [] |
static const BYTE | TEST_RDP5_UNCOMPRESSED_DATA [] |
static const BYTE | TEST_MPPC_BELLS [] = "for.whom.the.bell.tolls,.the.bell.tolls.for.thee!" |
static const BYTE | TEST_MPPC_BELLS_RDP4 [] |
static const BYTE | TEST_MPPC_BELLS_RDP5 [] |
static const BYTE | TEST_ISLAND_DATA [] |
static const BYTE | TEST_ISLAND_DATA_RDP5 [] |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
int TestFreeRDPCodecMppc | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |
for.whom.the.bell.tolls,.the.bell.tolls.for.thee!
for.whom.the.bell.tolls,<16,15>.<40,4><19,3>e! ([MS-RDPBCGR])
<16,15> : ".the.bell.tolls" <40,4> : "for." <19,3> : "the"
for.whom.the.bell.tolls,<16,15>.f<40,3><35,3>e! (Microsoft implementation)
<16,15> : ".the.bell.tolls" <40,3> : "or." <19,3> " "the"
RDP5: 01100110 Literal 'f' 01101111 Literal 'o' 01110010 Literal 'r' 00101110 Literal '.' 01110111 Literal 'w' 01101000 Literal 'h' 01101111 Literal 'o' 01101101 Literal 'm' 00101110 Literal '.' 01110100 Literal 't' 01101000 Literal 'h' 01100101 Literal 'e' 00101110 Literal '.' 01100010 Literal 'b' 01100101 Literal 'e' 01101100 Literal 'l' 01101100 Literal 'l' 00101110 Literal '.' 01110100 Literal 't' 01101111 Literal 'o' 01101100 Literal 'l' 01101100 Literal 'l' 01110011 Literal 's' 00101100 Literal ',' 11111+010000 CopyOffset 16 110+111 LengthOfMatch 15 00101110 Literal '.' 01100110 Literal 'f' 11111+101000 CopyOffset 40 0 LengthOfMatch 3 11111+100011 CopyOffset 35 0 LengthOfMatch 3 01100101 Literal 'e' 00100001 Literal '!' 0000000 Trailing Bits
RDP4: 01100110 Literal 'f' 01101111 Literal 'o' 01110010 Literal 'r' 00101110 Literal '.' 01110111 Literal 'w' 01101000 Literal 'h' 01101111 Literal 'o' 01101101 Literal 'm' 00101110 Literal '.' 01110100 Literal 't' 01101000 Literal 'h' 01100101 Literal 'e' 00101110 Literal '.' 01100010 Literal 'b' 01100101 Literal 'e' 01101100 Literal 'l' 01101100 Literal 'l' 00101110 Literal '.' 01110100 Literal 't' 01101111 Literal 'o' 01101100 Literal 'l' 01101100 Literal 'l' 01110011 Literal 's' 00101100 Literal ',' 1111+010000 CopyOffset 16 110+111 LengthOfMatch 15 00101110 Literal '.' 01100110 Literal 'f' 1111+101000 CopyOffset 40 0 LengthOfMatch 3 1111+100011 CopyOffset 35 0 LengthOfMatch 3 01100101 Literal 'e' 00100001 Literal '!' 00 Trailing Bits
|
static |
|
static |
|
static |
|
static |