FreeRDP
helpers.c File Reference
#include "helpers.h"

Functions

HGDI_BITMAP test_convert_to_bitmap (const BYTE *src, UINT32 SrcFormat, UINT32 SrcStride, UINT32 xSrc, UINT32 ySrc, UINT32 DstFormat, UINT32 DstStride, UINT32 xDst, UINT32 yDst, UINT32 nWidth, UINT32 nHeight, const gdiPalette *hPalette)
 
static void test_dump_data (unsigned char *p, int len, int width, const char *name)
 
void test_dump_bitmap (HGDI_BITMAP hBmp, const char *name)
 
static BOOL CompareBitmaps (HGDI_BITMAP hBmp1, HGDI_BITMAP hBmp2, const gdiPalette *palette)
 
BOOL test_assert_bitmaps_equal (HGDI_BITMAP hBmpActual, HGDI_BITMAP hBmpExpected, const char *name, const gdiPalette *palette)
 

Function Documentation

◆ CompareBitmaps()

static BOOL CompareBitmaps ( HGDI_BITMAP  hBmp1,
HGDI_BITMAP  hBmp2,
const gdiPalette *  palette 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_assert_bitmaps_equal()

BOOL test_assert_bitmaps_equal ( HGDI_BITMAP  hBmpActual,
HGDI_BITMAP  hBmpExpected,
const char *  name,
const gdiPalette *  palette 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_convert_to_bitmap()

HGDI_BITMAP test_convert_to_bitmap ( const BYTE src,
UINT32  SrcFormat,
UINT32  SrcStride,
UINT32  xSrc,
UINT32  ySrc,
UINT32  DstFormat,
UINT32  DstStride,
UINT32  xDst,
UINT32  yDst,
UINT32  nWidth,
UINT32  nHeight,
const gdiPalette *  hPalette 
)

FreeRDP: A Remote Desktop Protocol Implementation GDI Library Tests

Copyright 2016 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m Copyright 2016 Thincast Technologies GmbH

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_dump_bitmap()

void test_dump_bitmap ( HGDI_BITMAP  hBmp,
const char *  name 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_dump_data()

static void test_dump_data ( unsigned char *  p,
int  len,
int  width,
const char *  name 
)
static
Here is the caller graph for this function: