FreeRDP
TestFreeRDPCodecRemoteFX.c File Reference
#include <winpr/crt.h>
#include <winpr/print.h>
#include <freerdp/freerdp.h>
#include <freerdp/codec/rfx.h>

Macros

#define IMG_WIDTH   64
 
#define IMG_HEIGHT   64
 
#define FORMAT_SIZE   4
 
#define FORMAT   PIXEL_FORMAT_XRGB32
 

Functions

static INLINE size_t fuzzyCompare (BYTE b1, BYTE b2)
 
static BOOL fuzzyCompareImage (const UINT32 *refImage, const BYTE *img, size_t npixels)
 
int TestFreeRDPCodecRemoteFX (int argc, char *argv[])
 

Variables

static BYTE encodeHeaderSample []
 
static BYTE encodeDataSample []
 
static UINT32 refImage []
 

Macro Definition Documentation

#define FORMAT   PIXEL_FORMAT_XRGB32
#define FORMAT_SIZE   4
#define IMG_HEIGHT   64
#define IMG_WIDTH   64

Function Documentation

static INLINE size_t fuzzyCompare ( BYTE  b1,
BYTE  b2 
)
static

Here is the caller graph for this function:

static BOOL fuzzyCompareImage ( const UINT32 refImage,
const BYTE img,
size_t  npixels 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

BYTE encodeDataSample[]
static
BYTE encodeHeaderSample[]
static
Initial value:
= {
0xc0, 0xcc, 0x0c, 0x00, 0x00, 0x00, 0xca, 0xac, 0xcc, 0xca, 0x00, 0x01, 0xc3, 0xcc, 0x0d, 0x00,
0x00, 0x00, 0x01, 0xff, 0x00, 0x40, 0x00, 0x28, 0xa8, 0xc1, 0xcc, 0x0a, 0x00, 0x00, 0x00, 0x01,
0x01, 0x00, 0x01, 0xc2, 0xcc, 0x0c, 0x00, 0x00, 0x00, 0x01, 0x00, 0x40, 0x00, 0x40, 0x00
}
UINT32 refImage[]
static