FreeRDP
TestPrimitivesYCbCr.c File Reference
#include "prim_test.h"
#include <winpr/print.h>
#include <freerdp/codec/color.h>
#include <winpr/wlog.h>
#include <freerdp/utils/profiler.h>

Macros

#define TAG   __FILE__
 

Functions

static int test_bmp_cmp_count (const BYTE *mem1, const BYTE *mem2, int size, int channel, int margin)
 
static int test_bmp_cmp_dump (const BYTE *actual, const BYTE *expected, int size, int channel, int margin)
 
static int test_PrimitivesYCbCr (const primitives_t *prims, UINT32 format, prim_size_t roi, BOOL compare)
 
int TestPrimitivesYCbCr (int argc, char *argv[])
 

Variables

static const INT16 TEST_Y_COMPONENT [4096]
 
static const INT16 TEST_CB_COMPONENT [4096]
 
static const INT16 TEST_CR_COMPONENT [4096]
 
static const UINT32 TEST_XRGB_IMAGE [4096]
 

Macro Definition Documentation

#define TAG   __FILE__

Function Documentation

static int test_bmp_cmp_count ( const BYTE mem1,
const BYTE mem2,
int  size,
int  channel,
int  margin 
)
static

Here is the caller graph for this function:

static int test_bmp_cmp_dump ( const BYTE actual,
const BYTE expected,
int  size,
int  channel,
int  margin 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

static int test_PrimitivesYCbCr ( const primitives_t prims,
UINT32  format,
prim_size_t  roi,
BOOL  compare 
)
static

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const INT16 TEST_CB_COMPONENT[4096]
static
const INT16 TEST_CR_COMPONENT[4096]
static
const UINT32 TEST_XRGB_IMAGE[4096]
static

64x64 XRGB Image

const INT16 TEST_Y_COMPONENT[4096]
static