FreeRDP
TestFreeRDPCodecZGfx.c File Reference
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/bitstream.h>
#include <freerdp/freerdp.h>
#include <freerdp/codec/zgfx.h>
#include <freerdp/log.h>

Functions

static int test_ZGfxCompressFox (void)
 
static int test_ZGfxDecompressFoxSingle (void)
 
static int test_ZGfxDecompressFoxMultipart (void)
 
static int test_ZGfxCompressConsistent (void)
 
int TestFreeRDPCodecZGfx (int argc, char *argv[])
 

Variables

static const BYTE TEST_FOX_DATA []
 
static const BYTE TEST_FOX_DATA_SINGLE []
 
static const BYTE TEST_FOX_DATA_MULTIPART []
 

Function Documentation

static int test_ZGfxCompressConsistent ( void  )
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int test_ZGfxCompressFox ( void  )
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int test_ZGfxDecompressFoxMultipart ( void  )
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int test_ZGfxDecompressFoxSingle ( void  )
static

Here is the call graph for this function:

Here is the caller graph for this function:

int TestFreeRDPCodecZGfx ( int  argc,
char *  argv[] 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const BYTE TEST_FOX_DATA[]
static
Initial value:
=
"The quick brown "
"fox jumps over t"
"he lazy dog"
const BYTE TEST_FOX_DATA_MULTIPART[]
static
Initial value:
=
"\xE1\x03\x00\x2B\x00\x00\x00\x11\x00\x00\x00\x04\x54\x68\x65\x20"
"\x71\x75\x69\x63\x6B\x20\x62\x72\x6F\x77\x6E\x20\x0E\x00\x00\x00"
"\x04\x66\x6F\x78\x20\x6A\x75\x6D\x70\x73\x20\x6F\x76\x65\x10\x00"
"\x00\x00\x24\x39\x08\x0E\x91\xF8\xD8\x61\x3D\x1E\x44\x06\x43\x79"
"\x9C\x02"
const BYTE TEST_FOX_DATA_SINGLE[]
static
Initial value:
=
"\xE0\x04\x54\x68\x65\x20\x71\x75\x69\x63\x6B\x20\x62\x72\x6F\x77"
"\x6E\x20\x66\x6F\x78\x20\x6A\x75\x6D\x70\x73\x20\x6F\x76\x65\x72"
"\x20\x74\x68\x65\x20\x6C\x61\x7A\x79\x20\x64\x6F\x67"