FreeRDP
TestImage.c File Reference
#include <stdio.h>
#include <winpr/string.h>
#include <winpr/assert.h>
#include <winpr/file.h>
#include <winpr/path.h>
#include <winpr/image.h>

Functions

static BOOL test_image_equal (const wImage *imageA, const wImage *imageB)
 
static BOOL test_equal_to (const wImage *bmp, const char *name, UINT32 format)
 
static BOOL test_equal (void)
 
static BOOL test_read_write_compare (const char *tname, const char *tdst, UINT32 format)
 
static BOOL test_read_write (void)
 
static BOOL test_load_file (const char *name)
 
static BOOL test_load (void)
 
int TestImage (int argc, char *argv[])
 

Variables

static const char test_src_filename [] = TEST_SOURCE_PATH "/rgb"
 
static const char test_bin_filename [] = TEST_BINARY_PATH "/rgb"
 

Function Documentation

◆ test_equal()

static BOOL test_equal ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_equal_to()

static BOOL test_equal_to ( const wImage bmp,
const char *  name,
UINT32  format 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_image_equal()

static BOOL test_image_equal ( const wImage imageA,
const wImage imageB 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_load()

static BOOL test_load ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_load_file()

static BOOL test_load_file ( const char *  name)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_read_write()

static BOOL test_read_write ( void  )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_read_write_compare()

static BOOL test_read_write_compare ( const char *  tname,
const char *  tdst,
UINT32  format 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ TestImage()

int TestImage ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

Variable Documentation

◆ test_bin_filename

const char test_bin_filename[] = TEST_BINARY_PATH "/rgb"
static

◆ test_src_filename

const char test_src_filename[] = TEST_SOURCE_PATH "/rgb"
static