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>
#include <freerdp/config.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

◆ TAG

#define TAG   __FILE__

Function Documentation

◆ test_bmp_cmp_count()

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:

◆ test_bmp_cmp_dump()

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:

◆ test_PrimitivesYCbCr()

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:

◆ TestPrimitivesYCbCr()

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

Variable Documentation

◆ TEST_CB_COMPONENT

const INT16 TEST_CB_COMPONENT[4096]
static

◆ TEST_CR_COMPONENT

const INT16 TEST_CR_COMPONENT[4096]
static

◆ TEST_XRGB_IMAGE

const UINT32 TEST_XRGB_IMAGE[4096]
static

64x64 XRGB Image

◆ TEST_Y_COMPONENT

const INT16 TEST_Y_COMPONENT[4096]
static