FreeRDP
|
#include <math.h>
#include <winpr/crt.h>
#include <winpr/print.h>
#include <winpr/crypto.h>
#include <freerdp/freerdp.h>
#include <freerdp/codec/color.h>
#include <freerdp/codec/bitmap.h>
#include <freerdp/codec/planar.h>
Functions | |
static BOOL | CompareBitmap (const BYTE *srcA, UINT32 srcAFormat, const BYTE *srcB, UINT32 srcBFormat, UINT32 width, UINT32 height) |
static BOOL | RunTestPlanar (BITMAP_PLANAR_CONTEXT *planar, const BYTE *srcBitmap, const UINT32 srcFormat, const UINT32 dstFormat, const UINT32 width, const UINT32 height) |
static BOOL | RunTestPlanarSingleColor (BITMAP_PLANAR_CONTEXT *planar, const UINT32 srcFormat, const UINT32 dstFormat) |
static BOOL | TestPlanar (const UINT32 format) |
static UINT32 | prand (UINT32 max) |
static BOOL | FuzzPlanar (void) |
int | TestFreeRDPCodecPlanar (int argc, char *argv[]) |
Variables | |
static const BYTE | TEST_RLE_BITMAP_EXPERIMENTAL_01 [16384] |
static const BYTE | TEST_RLE_BITMAP_EXPERIMENTAL_02 [16384] |
static const BYTE | TEST_RLE_BITMAP_EXPERIMENTAL_03 [16384] |
static const BYTE | TEST_RLE_BITMAP_EXPERIMENTAL_03_RLE [11160] |
static const BYTE | TEST_64X64_RED_PLANE [4096] |
static const BYTE | TEST_64X64_RED_PLANE_RLE [3739] |
static const BYTE | TEST_64X64_GREEN_PLANE [4096] |
static const BYTE | TEST_64X64_GREEN_PLANE_RLE [3696] |
static const BYTE | TEST_64X64_BLUE_PLANE [4096] |
static const BYTE | TEST_64X64_BLUE_PLANE_RLE [3724] |
static const BYTE | TEST_RLE_UNCOMPRESSED_BITMAP_16BPP [2048] |
static const UINT32 | colorFormatList [] |
static const UINT32 | colorFormatCount = sizeof(colorFormatList) / sizeof(colorFormatList[0]) |
|
static |
|
static |
|
static |
|
static |
|
static |
int TestFreeRDPCodecPlanar | ( | int | argc, |
char * | argv[] | ||
) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Experimental Case 01: 64x64 (32bpp)
|
static |
Experimental Case 02: 64x64 (32bpp)
|
static |
Experimental Case 03: 64x64 (32bpp)
|
static |
|
static |
[MS-RDPEGDI] Test Bitmap 32x32 (16bpp)