Searched refs:bmih (Results 1 – 6 of 6) sorted by relevance
/external/pdfium/core/src/fxge/win32/ |
D | fx_win32_dib.cpp | 184 BITMAPINFOHEADER bmih; in LoadFromDDB() local 185 FXSYS_memset32(&bmih, 0, sizeof bmih); in LoadFromDDB() 186 bmih.biSize = sizeof bmih; in LoadFromDDB() 187 GetDIBits(hDC, hBitmap, 0, 0, NULL, (BITMAPINFO*)&bmih, DIB_RGB_COLORS); in LoadFromDDB() 188 int width = bmih.biWidth; in LoadFromDDB() 189 int height = abs(bmih.biHeight); in LoadFromDDB() 190 bmih.biHeight = -height; in LoadFromDDB() 191 bmih.biCompression = BI_RGB; in LoadFromDDB() 194 if (bmih.biBitCount == 1 || bmih.biBitCount == 8) { in LoadFromDDB() 196 if (bmih.biBitCount == 8) { in LoadFromDDB() [all …]
|
D | fx_win32_device.cpp | 1172 BITMAPINFOHEADER bmih; in CFX_WinBitmapDevice() local 1173 FXSYS_memset32(&bmih, 0, sizeof (BITMAPINFOHEADER)); in CFX_WinBitmapDevice() 1174 bmih.biSize = sizeof(BITMAPINFOHEADER); in CFX_WinBitmapDevice() 1175 bmih.biBitCount = format & 0xff; in CFX_WinBitmapDevice() 1176 bmih.biHeight = -height; in CFX_WinBitmapDevice() 1177 bmih.biPlanes = 1; in CFX_WinBitmapDevice() 1178 bmih.biWidth = width; in CFX_WinBitmapDevice() 1180 …m_hBitmap = CreateDIBSection(NULL, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, (FX_LPVOID*)&pBuffer, NULL,… in CFX_WinBitmapDevice()
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug.c | 647 struct bmp_info_header bmih; in debug_dump_float_rgba_bmp() local 659 bmih.biSize = 40; in debug_dump_float_rgba_bmp() 660 bmih.biWidth = width; in debug_dump_float_rgba_bmp() 661 bmih.biHeight = height; in debug_dump_float_rgba_bmp() 662 bmih.biPlanes = 1; in debug_dump_float_rgba_bmp() 663 bmih.biBitCount = 32; in debug_dump_float_rgba_bmp() 664 bmih.biCompression = 0; in debug_dump_float_rgba_bmp() 665 bmih.biSizeImage = height*width*4; in debug_dump_float_rgba_bmp() 666 bmih.biXPelsPerMeter = 0; in debug_dump_float_rgba_bmp() 667 bmih.biYPelsPerMeter = 0; in debug_dump_float_rgba_bmp() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng-win.c | 159 static BITMAPINFOHEADER *bmih; variable 513 bmih = (BITMAPINFOHEADER *)dib; in rpng_win_create_window() 514 bmih->biSize = sizeof(BITMAPINFOHEADER); in rpng_win_create_window() 515 bmih->biWidth = image_width; in rpng_win_create_window() 516 bmih->biHeight = -((long)image_height); in rpng_win_create_window() 517 bmih->biPlanes = 1; in rpng_win_create_window() 518 bmih->biBitCount = 24; in rpng_win_create_window() 519 bmih->biCompression = 0; in rpng_win_create_window() 705 wimage_data, (BITMAPINFO *)bmih, in rpng_win_wndproc()
|
D | rpng2-win.c | 267 static BITMAPINFOHEADER *bmih; variable 720 bmih = (BITMAPINFOHEADER *)dib; in rpng2_win_create_window() 721 bmih->biSize = sizeof(BITMAPINFOHEADER); in rpng2_win_create_window() 722 bmih->biWidth = rpng2_info.width; in rpng2_win_create_window() 723 bmih->biHeight = -((long)rpng2_info.height); in rpng2_win_create_window() 724 bmih->biPlanes = 1; in rpng2_win_create_window() 725 bmih->biBitCount = 24; in rpng2_win_create_window() 726 bmih->biCompression = 0; in rpng2_win_create_window() 1233 wimage_data, (BITMAPINFO *)bmih, in rpng2_win_wndproc()
|
/external/pdfium/fpdfsdk/src/ |
D | fpdfview.cpp | 420 BITMAPINFOHEADER bmih; in FPDF_RenderPage() local 421 FXSYS_memset(&bmih, 0, sizeof bmih); in FPDF_RenderPage() 422 bmih.biSize = sizeof bmih; in FPDF_RenderPage() 423 bmih.biBitCount = 24; in FPDF_RenderPage() 424 bmih.biHeight = -height; in FPDF_RenderPage() 425 bmih.biPlanes = 1; in FPDF_RenderPage() 426 bmih.biWidth = width; in FPDF_RenderPage() 427 pContext->m_hBitmap = CreateDIBSection(dc, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, &pBuffer, NULL, 0); in FPDF_RenderPage()
|