Home
last modified time | relevance | path

Searched refs:bmih (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/core/src/fxge/win32/
Dfx_win32_dib.cpp201 BITMAPINFOHEADER bmih; in LoadFromDDB() local
202 FXSYS_memset32(&bmih, 0, sizeof bmih); in LoadFromDDB()
203 bmih.biSize = sizeof bmih; in LoadFromDDB()
204 GetDIBits(hDC, hBitmap, 0, 0, NULL, (BITMAPINFO*)&bmih, DIB_RGB_COLORS); in LoadFromDDB()
205 int width = bmih.biWidth; in LoadFromDDB()
206 int height = abs(bmih.biHeight); in LoadFromDDB()
207 bmih.biHeight = -height; in LoadFromDDB()
208 bmih.biCompression = BI_RGB; in LoadFromDDB()
214 if (bmih.biBitCount == 1 || bmih.biBitCount == 8) { in LoadFromDDB()
216 if (bmih.biBitCount == 8) { in LoadFromDDB()
[all …]
Dfx_win32_device.cpp1163 BITMAPINFOHEADER bmih; in CFX_WinBitmapDevice() local
1164 FXSYS_memset32(&bmih, 0, sizeof (BITMAPINFOHEADER)); in CFX_WinBitmapDevice()
1165 bmih.biSize = sizeof(BITMAPINFOHEADER); in CFX_WinBitmapDevice()
1166 bmih.biBitCount = format & 0xff; in CFX_WinBitmapDevice()
1167 bmih.biHeight = -height; in CFX_WinBitmapDevice()
1168 bmih.biPlanes = 1; in CFX_WinBitmapDevice()
1169 bmih.biWidth = width; in CFX_WinBitmapDevice()
1171 …m_hBitmap = CreateDIBSection(NULL, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, (FX_LPVOID*)&pBuffer, NULL,… in CFX_WinBitmapDevice()
/external/mesa3d/src/gallium/auxiliary/util/
Du_debug.c647 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/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
Du_debug.c647 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/
Drpng-win.c159 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()
Drpng2-win.c265 static BITMAPINFOHEADER *bmih; variable
718 bmih = (BITMAPINFOHEADER *)dib; in rpng2_win_create_window()
719 bmih->biSize = sizeof(BITMAPINFOHEADER); in rpng2_win_create_window()
720 bmih->biWidth = rpng2_info.width; in rpng2_win_create_window()
721 bmih->biHeight = -((long)rpng2_info.height); in rpng2_win_create_window()
722 bmih->biPlanes = 1; in rpng2_win_create_window()
723 bmih->biBitCount = 24; in rpng2_win_create_window()
724 bmih->biCompression = 0; in rpng2_win_create_window()
1231 wimage_data, (BITMAPINFO *)bmih, in rpng2_win_wndproc()
/external/chromium_org/printing/
Demf_win.cc346 const BITMAPINFOHEADER *bmih = in SafePlayback() local
354 if (bmih->biCompression == BI_JPEG) { in SafePlayback()
356 bmih->biSizeImage)) { in SafePlayback()
358 bitmap.reset(gfx::JPEGCodec::Decode(bits, bmih->biSizeImage)); in SafePlayback()
360 } else if (bmih->biCompression == BI_PNG) { in SafePlayback()
362 bmih->biSizeImage)) { in SafePlayback()
365 gfx::PNGCodec::Decode(bits, bmih->biSizeImage, bitmap.get()); in SafePlayback()
/external/pdfium/fpdfsdk/src/
Dfpdfview.cpp518 BITMAPINFOHEADER bmih; in FPDF_RenderPage() local
519 FXSYS_memset(&bmih, 0, sizeof bmih); in FPDF_RenderPage()
520 bmih.biSize = sizeof bmih; in FPDF_RenderPage()
521 bmih.biBitCount = 24; in FPDF_RenderPage()
522 bmih.biHeight = -height; in FPDF_RenderPage()
523 bmih.biPlanes = 1; in FPDF_RenderPage()
524 bmih.biWidth = width; in FPDF_RenderPage()
525 pContext->m_hBitmap = CreateDIBSection(dc, (BITMAPINFO*)&bmih, DIB_RGB_COLORS, &pBuffer, NULL, 0); in FPDF_RenderPage()
/external/qemu/distrib/sdl-1.2.15/src/video/os2fslib/
DSDL_os2fslib.c1345 BITMAPINFOHEADER bmih; in os2fslib_CreateWMCursor_Win() local
1387 SDL_memset(&bmih, 0, sizeof(BITMAPINFOHEADER)); in os2fslib_CreateWMCursor_Win()
1388 bmih.cbFix = sizeof(BITMAPINFOHEADER); in os2fslib_CreateWMCursor_Win()
1389 bmih.cx = maxx; in os2fslib_CreateWMCursor_Win()
1390 bmih.cy = 2*maxy; in os2fslib_CreateWMCursor_Win()
1391 bmih.cPlanes = 1; in os2fslib_CreateWMCursor_Win()
1392 bmih.cBitCount = 1; in os2fslib_CreateWMCursor_Win()
1424 …hbm = GpiCreateBitmap(hps, (PBITMAPINFOHEADER2)&bmih, CBM_INIT, (PBYTE) pchTemp, (PBITMAPINFO2)&bm… in os2fslib_CreateWMCursor_Win()
1630 BITMAPINFOHEADER bmih; in os2fslib_SetIcon() local
1749 SDL_memset(&bmih, 0, sizeof(BITMAPINFOHEADER)); in os2fslib_SetIcon()
[all …]