|
ReactOS 0.4.17-dev-970-gcf0f1a6
|

Go to the source code of this file.
Enumerations | |
| enum | { BMF_1BPP = 0 , BMF_4BPP = 1 , BMF_8BPP = 2 , BMF_16BPP_555 = 3 , BMF_16BPP_565 = 4 , BMF_24BPP_RGB = 5 , BMF_24BPP_BGR = 6 , BMF_32BPP_RGB = 7 , BMF_32BPP_BGR = 8 } |
Functions | |
| ULONG | GetRealColorDepth () |
| static ULONG | iXlateFromRGB (ULONG iFormat, COLORREF crColor) |
| static COLORREF | iXlateToRGB (ULONG iFormat, ULONG ulColor) |
| static ULONG | GetClosestColor (ULONG iFormat, COLORREF crColor, COLORREF crBackColor) |
| ULONG | GetDIBPixel (ULONG iFormat, PVOID pvBits, ULONG x) |
| static void | Initialize () |
| void | Test_SrcMono1 (ULONG iBmpFormat, HBITMAP hbmpDst, PVOID pvBits) |
| void | Test_SrcMono () |
| START_TEST (xlate) | |
Variables | |
| ULONG | bpp [] = {1, 4, 8, 15, 16, 24, 24, 32, 32} |
| static BYTE | ajBits1 [] = {0xAA, 0xAA, 0xAA, 0xAA, 0,0,0,0} |
| static BYTE | ajBits8 [] = {0x00, 0xFF, 0x80, 0xCC, 0,0,0,0} |
| static WORD | ajBits16 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
| static DWORD | ajBits24 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
| static DWORD | ajBits32 [] = {0x0000, 0xFFFF, 0x1000, 0x0C0C, 0,0,0,0} |
| static HBITMAP | hbmp1bpp_a |
| static HBITMAP | hbmp1bpp_b |
| static HBITMAP | hbmp8bpp_a |
| static HBITMAP | hbmp8bpp_b |
| static HBITMAP | hbmp16bpp_a |
| static HBITMAP | hbmp16bpp_b |
| static HBITMAP | hbmp24bpp_a |
| static HBITMAP | hbmp24bpp_b |
| static HBITMAP | hbmp32bpp_a |
| static HBITMAP | hbmp32bpp_b |
| static HBITMAP | hbmpCompat |
| static HDC | hdcSrc |
| static HDC | hdcDst |
| static ULONG | iDcFormat |
| anonymous enum |
| Enumerator | |
|---|---|
| BMF_1BPP | |
| BMF_4BPP | |
| BMF_8BPP | |
| BMF_16BPP_555 | |
| BMF_16BPP_565 | |
| BMF_24BPP_RGB | |
| BMF_24BPP_BGR | |
| BMF_32BPP_RGB | |
| BMF_32BPP_BGR | |
Definition at line 6 of file xlate.c.
Definition at line 181 of file xlate.c.
Referenced by Test_SrcMono1().
Definition at line 189 of file xlate.c.
Referenced by Test_SrcMono1().
| ULONG GetRealColorDepth | ( | ) |
Definition at line 36 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 212 of file xlate.c.
Referenced by _tmain(), _tWinMain(), BitmapInfoHeader::BitmapInfoHeader(), CCharMapWindow::Create(), CreateObjectsFromPersistFolder(), DECLARE_INTERFACE_(), DECLARE_INTERFACE_IID_(), INetCfgComponentControl_fnInitialize(), CZipFolder::Initialize(), CRecycleBinCleaner::InitializeEx(), CACListISF::Reset(), START_TEST(), Win32kProcessCallback(), and wmain().
Definition at line 96 of file xlate.c.
Referenced by GetClosestColor(), Test_SrcMono(), and Test_SrcMono1().
Definition at line 136 of file xlate.c.
Referenced by GetClosestColor(), and Test_SrcMono().
| START_TEST | ( | xlate | ) |
| void Test_SrcMono | ( | ) |
Definition at line 458 of file xlate.c.
Referenced by START_TEST().
Definition at line 256 of file xlate.c.
Referenced by Test_SrcMono().
|
static |
Definition at line 21 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 23 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 24 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 25 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 22 of file xlate.c.
Referenced by Initialize().
| ULONG bpp[] = {1, 4, 8, 15, 16, 24, 24, 32, 32} |
Definition at line 19 of file xlate.c.
Referenced by _bdf_parse_start(), avi_decompressor_source_get_media_type(), BDF_Glyph_Load(), BITMAP_LoadImageW(), BitmapImpl_Create(), bs_init(), bs_is_pixel_on(), bs_set_pixel_on(), check_alpha_draw(), check_bitmap_data(), check_dds_pixel_format_(), check_DrawIcon(), check_DrawIconEx(), check_DrawState_Color(), check_DrawState_Size(), CommonEncoderFrame_SetPixelFormat(), compare_sha1(), copy_pixels(), CreatDibBitmap(), create_alpha_bitmap(), create_bitmap(), create_default_palette(), create_dib(), create_dib_section(), create_test_bitmap(), create_test_icon(), CreateStateImages(), CURSORICON_ConvertPngToBmpIcon(), CURSORICON_GetCursorDataFromBMI(), d2d_bitmap_create_from_wic_bitmap(), d3drm_texture_load(), d3dx_get_tga_format_for_bpp(), ddraw1_SetDisplayMode(), ddraw2_SetDisplayMode(), ddraw4_SetDisplayMode(), ddraw7_SetDisplayMode(), ddrawex1_SetDisplayMode(), ddrawex2_SetDisplayMode(), ddrawex3_SetDisplayMode(), ddrawex4_SetDisplayMode(), DdsFrameDecode_CopyPixels(), decode_cinepak(), DIB_GetBitmapInfo(), DIB_GetWidthBytes(), encoder_get_supported_format(), FormatConverter_Initialize(), ft_bitmap_assure_buffer(), GdipImageRotateFlip(), get_addr(), get_bitmap_info(), get_bitmap_stride(), get_cblc_formats(), get_default_color_table(), get_dib_stride(), get_format(), get_pixel2(), get_pixelformat_bpp(), get_pixelformat_info(), get_ptr(), GetInfoFromBmp(), GetPossibleSettings(), GreCreateDIBitmapInternal(), GreGetDIBitsInternal(), IL_CalculateOtherBpp(), image_list_init(), InitBitmapInfo(), IntCreateDIBitmap(), is_pixel_on(), IWICPixelFormatInfo_GetBitsPerPixel_Proxy_W(), jpeg_encoder_get_supported_format(), metadc_stretchblt(), opentype_get_cblc_formats(), OverrideFileContent(), png_encoder_get_supported_format(), primarybuffer_SetFormat(), process_bitmap_updates(), process_bmpcache(), process_colour_pointer_common(), process_raw_bmpcache(), ReLoadDisplayPage(), set_pixel2(), set_pixel_on(), setup_picture(), SetupDiGetClassImageListExW(), SIC_Initialize(), START_TEST(), surface_cpu_blt(), test_bitmap_rendering(), test_bitmapbits(), Test_BitmapEntry(), test_color_formats(), test_connect_pin(), test_dds_decoder_frame_data(), test_dib_formats(), Test_DIBSectionEntry(), test_display_dc(), test_emf_AlphaBlend(), test_emf_BitBlt(), test_emf_SetDIBitsToDevice(), test_emf_StretchDIBits(), test_GetDIBits_selected_DDB(), test_GetDIBits_selected_DIB(), test_GetDIBits_top_down(), test_ImageList_DrawIndirect(), test_load_save_dib(), test_merge_colors(), test_multi_encoder_impl(), test_select_object(), test_WM_DISPLAYCHANGE(), tiff_encoder_get_supported_format(), WICCreateBitmapFromSectionEx(), width_bytes(), wined3d_resource_memory_colour_fill(), and write_source().
|
static |
Definition at line 28 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 28 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 26 of file xlate.c.
Referenced by Initialize(), Test_SrcMono(), and Test_SrcMono1().
|
static |
Definition at line 26 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().
|
static |
Definition at line 29 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 29 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 30 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 30 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 27 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 27 of file xlate.c.
Referenced by Initialize().
|
static |
Definition at line 31 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().
|
static |
Definition at line 32 of file xlate.c.
Referenced by check_BitBlt_pixel(), check_StretchBlt_pixel(), check_StretchBlt_stretch(), check_StretchDIBits_pixel(), check_StretchDIBits_stretch(), CreateMappedBitmap(), Do_BitBlt(), GdiAlphaBlend(), GdiTransparentBlt(), ImageList_GetIcon(), Initialize(), NtGdiTransparentBlt(), NtUserUpdateLayeredWindow(), START_TEST(), test_32bit_ddb(), test_BitBlt(), test_bitmap_rendering(), test_clipping(), test_DrawIcon(), test_DrawIconEx(), test_DrawState(), test_GdiAlphaBlend(), test_ImageList_DrawIndirect(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchBlt_stretch(), test_StretchBlt_TopDownOptions(), test_StretchDIBits(), TRACKBAR_Refresh(), UpdateLayeredWindow(), UXTHEME_DrawImageBackground(), UXTHEME_SizedBlt(), UXTHEME_StretchBlt(), WinGBitBlt(), and WinGStretchBlt().
|
static |
Definition at line 32 of file xlate.c.
Referenced by BitBlt(), check_BitBlt_pixel(), check_StretchBlt_pixel(), check_StretchBlt_stretch(), ClippedBitBlt(), ColorKeyedMaskBlt(), RdpClientUI::Display_MemBlt(), RdpClientUI::Display_TriBlt(), Do_BitBlt(), GdiAlphaBlend(), GdiTransparentBlt(), imagelist_copy_images(), Initialize(), IntPrintWindow(), MaskBlt(), NtGdiMaskBlt(), NtGdiTransparentBlt(), NtUserUpdateLayeredWindow(), PlayEnhMetaFileRecord(), PlayMetaFileRecord(), PlgBlt(), PROPSHEET_Paint(), START_TEST(), StretchBlt(), test_32bit_ddb(), test_BitBlt(), test_clipping(), test_GdiAlphaBlend(), Test_MaskBlt_16bpp(), Test_MaskBlt_1bpp(), Test_MaskBlt_32bpp(), Test_MaskBlt_Brush(), Test_SrcMono(), Test_SrcMono1(), test_StretchBlt(), test_StretchBlt_stretch(), test_StretchBlt_TopDownOptions(), UpdateLayeredWindow(), UXTHEME_Blt(), UXTHEME_DrawImageBackground(), UXTHEME_SizedBlt(), UXTHEME_StretchBlt(), WinGBitBlt(), and WinGStretchBlt().
|
static |
Definition at line 33 of file xlate.c.
Referenced by Initialize(), and Test_SrcMono().