FreeRDP
|
Macros | |
#define | MAX_BLOCK_SIZE 256 |
#define | SIZE_SQUARED (MAX_BLOCK_SIZE * MAX_BLOCK_SIZE) |
#define | ALF(_c_) (((_c_)&0xFF000000U) >> 24) |
#define | RED(_c_) (((_c_)&0x00FF0000U) >> 16) |
#define | GRN(_c_) (((_c_)&0x0000FF00U) >> 8) |
#define | BLU(_c_) ((_c_)&0x000000FFU) |
#define | TOLERANCE 1 |
#define | SRC1_WIDTH 6 |
#define | SRC1_HEIGHT 6 |
#define | SRC2_WIDTH 7 |
#define | SRC2_HEIGHT 7 |
#define | DST_WIDTH 9 |
#define | DST_HEIGHT 9 |
#define | TEST_WIDTH 4 |
#define | TEST_HEIGHT 5 |
Functions | |
static const UINT32 * | PIXEL (const BYTE *_addr_, UINT32 _bytes_, UINT32 _x_, UINT32 _y_) |
static UINT32 | alpha_add (UINT32 c1, UINT32 c2) |
static UINT32 | colordist (UINT32 c1, UINT32 c2) |
static BOOL | check (const BYTE *pSrc1, UINT32 src1Step, const BYTE *pSrc2, UINT32 src2Step, BYTE *pDst, UINT32 dstStep, UINT32 width, UINT32 height) |
static BOOL | test_alphaComp_func (void) |
static int | test_alphaComp_speed (void) |
int | TestPrimitivesAlphaComp (int argc, char *argv[]) |
#define ALF | ( | _c_ | ) | (((_c_)&0xFF000000U) >> 24) |
#define BLU | ( | _c_ | ) | ((_c_)&0x000000FFU) |
#define DST_HEIGHT 9 |
#define DST_WIDTH 9 |
#define GRN | ( | _c_ | ) | (((_c_)&0x0000FF00U) >> 8) |
#define MAX_BLOCK_SIZE 256 |
#define RED | ( | _c_ | ) | (((_c_)&0x00FF0000U) >> 16) |
#define SIZE_SQUARED (MAX_BLOCK_SIZE * MAX_BLOCK_SIZE) |
#define SRC1_HEIGHT 6 |
#define SRC1_WIDTH 6 |
#define SRC2_HEIGHT 7 |
#define SRC2_WIDTH 7 |
#define TEST_HEIGHT 5 |
#define TEST_WIDTH 4 |
#define TOLERANCE 1 |
|
static |
|
static |
|
static |
|
inlinestatic |
|
static |
|
static |
int TestPrimitivesAlphaComp | ( | int | argc, |
char * | argv[] | ||
) |