Home
last modified time | relevance | path

Searched refs:bmiHeader (Results 1 – 21 of 21) sorted by relevance

/external/angle/util/windows/win32/
DWin32Pixmap.cpp31 bitmapInfo.bmiHeader.biSize = sizeof(bitmapInfo); in initialize()
32 bitmapInfo.bmiHeader.biWidth = static_cast<LONG>(width); in initialize()
33 bitmapInfo.bmiHeader.biHeight = static_cast<LONG>(height); in initialize()
34 bitmapInfo.bmiHeader.biPlanes = 1; in initialize()
35 bitmapInfo.bmiHeader.biBitCount = static_cast<WORD>(depth); in initialize()
36 bitmapInfo.bmiHeader.biCompression = BI_RGB; in initialize()
37 bitmapInfo.bmiHeader.biSizeImage = 0; in initialize()
38 bitmapInfo.bmiHeader.biXPelsPerMeter = 1; in initialize()
39 bitmapInfo.bmiHeader.biYPelsPerMeter = 1; in initialize()
40 bitmapInfo.bmiHeader.biClrUsed = 0; in initialize()
[all …]
/external/mesa3d/src/gallium/winsys/sw/gdi/
Dgdi_sw_winsys.c152 gdt->bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in gdi_sw_displaytarget_create()
153 gdt->bmi.bmiHeader.biWidth = gdt->stride / cpp; in gdi_sw_displaytarget_create()
154 gdt->bmi.bmiHeader.biHeight= -(long)height; in gdi_sw_displaytarget_create()
155 gdt->bmi.bmiHeader.biPlanes = 1; in gdi_sw_displaytarget_create()
156 gdt->bmi.bmiHeader.biBitCount = bpp; in gdi_sw_displaytarget_create()
157 gdt->bmi.bmiHeader.biCompression = BI_RGB; in gdi_sw_displaytarget_create()
158 gdt->bmi.bmiHeader.biSizeImage = 0; in gdi_sw_displaytarget_create()
159 gdt->bmi.bmiHeader.biXPelsPerMeter = 0; in gdi_sw_displaytarget_create()
160 gdt->bmi.bmiHeader.biYPelsPerMeter = 0; in gdi_sw_displaytarget_create()
161 gdt->bmi.bmiHeader.biClrUsed = 0; in gdi_sw_displaytarget_create()
[all …]
/external/webrtc/modules/desktop_capture/
Ddesktop_frame_win.cc42 bmi.bmiHeader.biHeight = -size.height(); in Create()
43 bmi.bmiHeader.biWidth = size.width(); in Create()
44 bmi.bmiHeader.biPlanes = 1; in Create()
45 bmi.bmiHeader.biBitCount = DesktopFrameWin::kBytesPerPixel * 8; in Create()
46 bmi.bmiHeader.biSize = sizeof(bmi.bmiHeader); in Create()
47 bmi.bmiHeader.biSizeImage = bytes_per_row * size.height(); in Create()
/external/webrtc/examples/peerconnection/client/
Dmain_wnd.cc248 int height = abs(bmi.bmiHeader.biHeight); in OnPaint()
249 int width = bmi.bmiHeader.biWidth; in OnPaint()
284 int thumb_width = bmi.bmiHeader.biWidth / 4; in OnPaint()
285 int thumb_height = abs(bmi.bmiHeader.biHeight) / 4; in OnPaint()
288 thumb_height, 0, 0, bmi.bmiHeader.biWidth, in OnPaint()
289 -bmi.bmiHeader.biHeight, image, &bmi, DIB_RGB_COLORS, in OnPaint()
583 bmi_.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in VideoRenderer()
584 bmi_.bmiHeader.biPlanes = 1; in VideoRenderer()
585 bmi_.bmiHeader.biBitCount = 32; in VideoRenderer()
586 bmi_.bmiHeader.biCompression = BI_RGB; in VideoRenderer()
[all …]
/external/skqp/tools/sk_app/win/
DRasterWindowContext_win.cpp62 bmpInfo->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in resize()
63 bmpInfo->bmiHeader.biWidth = w; in resize()
64 bmpInfo->bmiHeader.biHeight = -h; // negative means top-down bitmap. Skia draws top-down. in resize()
65 bmpInfo->bmiHeader.biPlanes = 1; in resize()
66 bmpInfo->bmiHeader.biBitCount = 32; in resize()
67 bmpInfo->bmiHeader.biCompression = BI_RGB; in resize()
/external/skia/tools/sk_app/win/
DRasterWindowContext_win.cpp62 bmpInfo->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in resize()
63 bmpInfo->bmiHeader.biWidth = w; in resize()
64 bmpInfo->bmiHeader.biHeight = -h; // negative means top-down bitmap. Skia draws top-down. in resize()
65 bmpInfo->bmiHeader.biPlanes = 1; in resize()
66 bmpInfo->bmiHeader.biBitCount = 32; in resize()
67 bmpInfo->bmiHeader.biCompression = BI_RGB; in resize()
/external/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp139 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in lazyCreateFrameBuffer()
140 bitmapInfo.bmiHeader.biBitCount = 32; in lazyCreateFrameBuffer()
141 bitmapInfo.bmiHeader.biPlanes = 1; in lazyCreateFrameBuffer()
142 …bitmapInfo.bmiHeader.biHeight = -static_cast<LONG>(windowExtent.height); // Negative for top-down… in lazyCreateFrameBuffer()
143 bitmapInfo.bmiHeader.biWidth = windowExtent.width; in lazyCreateFrameBuffer()
144 bitmapInfo.bmiHeader.biCompression = BI_RGB; in lazyCreateFrameBuffer()
/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp160 bitmapInfo.bmiHeader.biSize = sizeof(bitmapInfo); in NativePixmap()
161 bitmapInfo.bmiHeader.biWidth = width; in NativePixmap()
162 bitmapInfo.bmiHeader.biHeight = height; in NativePixmap()
163 bitmapInfo.bmiHeader.biPlanes = 1; in NativePixmap()
164 bitmapInfo.bmiHeader.biBitCount = bitDepth; in NativePixmap()
165 bitmapInfo.bmiHeader.biCompression = BI_RGB; in NativePixmap()
166 bitmapInfo.bmiHeader.biSizeImage = 0; in NativePixmap()
167 bitmapInfo.bmiHeader.biXPelsPerMeter = 1; in NativePixmap()
168 bitmapInfo.bmiHeader.biYPelsPerMeter = 1; in NativePixmap()
169 bitmapInfo.bmiHeader.biClrUsed = 0; in NativePixmap()
[all …]
/external/swiftshader/src/Main/
DFrameBufferGDI.cpp142 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in init()
143 bitmapInfo.bmiHeader.biBitCount = 32; in init()
144 bitmapInfo.bmiHeader.biPlanes = 1; in init()
145 bitmapInfo.bmiHeader.biHeight = -height; in init()
146 bitmapInfo.bmiHeader.biWidth = width; in init()
147 bitmapInfo.bmiHeader.biCompression = BI_RGB; in init()
/external/pdfium/core/fxge/win32/
Dfx_win32_dib.cpp62 int width = pbmi->bmiHeader.biWidth; in FX_WindowsDIB_LoadFromBuf()
63 int height = pbmi->bmiHeader.biHeight; in FX_WindowsDIB_LoadFromBuf()
69 int pitch = (width * pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in FX_WindowsDIB_LoadFromBuf()
72 ? (FXDIB_Format)(pbmi->bmiHeader.biBitCount + 0x200) in FX_WindowsDIB_LoadFromBuf()
73 : (FXDIB_Format)pbmi->bmiHeader.biBitCount; in FX_WindowsDIB_LoadFromBuf()
92 if (pbmi->bmiHeader.biBitCount == 1) { in FX_WindowsDIB_LoadFromBuf()
95 } else if (pbmi->bmiHeader.biBitCount == 8) { in FX_WindowsDIB_LoadFromBuf()
Dfx_win32_device.cpp860 BITMAPINFOHEADER bmiHeader; in GDI_StretchBitMask() member
863 memset(&bmi.bmiHeader, 0, sizeof(BITMAPINFOHEADER)); in GDI_StretchBitMask()
864 bmi.bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in GDI_StretchBitMask()
865 bmi.bmiHeader.biBitCount = 1; in GDI_StretchBitMask()
866 bmi.bmiHeader.biCompression = BI_RGB; in GDI_StretchBitMask()
867 bmi.bmiHeader.biHeight = -height; in GDI_StretchBitMask()
868 bmi.bmiHeader.biPlanes = 1; in GDI_StretchBitMask()
869 bmi.bmiHeader.biWidth = width; in GDI_StretchBitMask()
1174 bmi.bmiHeader.biSize = sizeof bmi.bmiHeader; in GetDIBits()
1175 bmi.bmiHeader.biBitCount = pBitmap->GetBPP(); in GetDIBits()
[all …]
Dfx_win32_gdipext.cpp972 int height = abs(pInfo->pbmi->bmiHeader.biHeight); in LoadDIBitmap()
973 int width = pInfo->pbmi->bmiHeader.biWidth; in LoadDIBitmap()
974 int dest_pitch = (width * pInfo->pbmi->bmiHeader.biBitCount + 31) / 32 * 4; in LoadDIBitmap()
985 pInfo->pbmi, pData, pInfo->pbmi->bmiHeader.biBitCount == 32); in LoadDIBitmap()
/external/ImageMagick/coders/
Dscreenshot.c220 bmi.bmiHeader.biSize=sizeof(BITMAPINFOHEADER); in ReadSCREENSHOTImage()
221 bmi.bmiHeader.biWidth=(LONG) screen->columns; in ReadSCREENSHOTImage()
222 bmi.bmiHeader.biHeight=(-1)*(LONG) screen->rows; in ReadSCREENSHOTImage()
223 bmi.bmiHeader.biPlanes=1; in ReadSCREENSHOTImage()
224 bmi.bmiHeader.biBitCount=32; in ReadSCREENSHOTImage()
225 bmi.bmiHeader.biCompression=BI_RGB; in ReadSCREENSHOTImage()
Demf.c570 DIBinfo.bmiHeader.biSize=sizeof(BITMAPINFOHEADER); in ReadEMFImage()
571 DIBinfo.bmiHeader.biWidth=(LONG) image->columns; in ReadEMFImage()
572 DIBinfo.bmiHeader.biHeight=(-1)*(LONG) image->rows; in ReadEMFImage()
573 DIBinfo.bmiHeader.biPlanes=1; in ReadEMFImage()
574 DIBinfo.bmiHeader.biBitCount=32; in ReadEMFImage()
575 DIBinfo.bmiHeader.biCompression=BI_RGB; in ReadEMFImage()
/external/webrtc/modules/video_capture/windows/
Dsink_filter_ds.cc191 bih = &reinterpret_cast<VIDEOINFOHEADER*>(media_type->pbFormat)->bmiHeader; in TranslateMediaTypeToVideoCaptureCapability()
193 bih = &reinterpret_cast<VIDEOINFOHEADER2*>(media_type->pbFormat)->bmiHeader; in TranslateMediaTypeToVideoCaptureCapability()
298 vih->bmiHeader.biSize = sizeof(BITMAPINFOHEADER); in STDMETHOD()
299 vih->bmiHeader.biPlanes = 1; in STDMETHOD()
300 vih->bmiHeader.biClrImportant = 0; in STDMETHOD()
301 vih->bmiHeader.biClrUsed = 0; in STDMETHOD()
314 SetMediaInfoFromVideoType(*format_it, &vih->bmiHeader, media_type); in STDMETHOD()
316 vih->bmiHeader.biWidth = capability_.width; in STDMETHOD()
317 vih->bmiHeader.biHeight = capability_.height; in STDMETHOD()
318 vih->bmiHeader.biSizeImage = ((vih->bmiHeader.biBitCount / 4) * in STDMETHOD()
[all …]
Ddevice_info_ds.cc423 capability.width = h->bmiHeader.biWidth; in CreateCapabilityMap()
424 capability.height = h->bmiHeader.biHeight; in CreateCapabilityMap()
432 capability.width = h->bmiHeader.biWidth; in CreateCapabilityMap()
433 capability.height = h->bmiHeader.biHeight; in CreateCapabilityMap()
/external/pdfium/samples/
Dpdfium_test_write_helper.cc440 bmi.bmiHeader.biSize = sizeof(bmi) - sizeof(RGBQUAD); in WriteBmp()
441 bmi.bmiHeader.biWidth = width; in WriteBmp()
442 bmi.bmiHeader.biHeight = -height; // top-down image in WriteBmp()
443 bmi.bmiHeader.biPlanes = 1; in WriteBmp()
444 bmi.bmiHeader.biBitCount = 32; in WriteBmp()
445 bmi.bmiHeader.biCompression = BI_RGB; in WriteBmp()
446 bmi.bmiHeader.biSizeImage = 0; in WriteBmp()
450 file_header.bfSize = sizeof(file_header) + bmi.bmiHeader.biSize + out_len; in WriteBmp()
454 fwrite(&bmi, bmi.bmiHeader.biSize, 1, fp) != 1 || in WriteBmp()
/external/skia/src/ports/
DSkFontHost_win.cpp514 info.bmiHeader.biSize = sizeof(info.bmiHeader); in draw()
515 info.bmiHeader.biWidth = biWidth; in draw()
516 info.bmiHeader.biHeight = fHeight; in draw()
517 info.bmiHeader.biPlanes = 1; in draw()
518 info.bmiHeader.biBitCount = isBW ? 1 : 32; in draw()
519 info.bmiHeader.biCompression = BI_RGB; in draw()
521 info.bmiHeader.biClrUsed = 2; in draw()
/external/skqp/src/ports/
DSkFontHost_win.cpp504 info.bmiHeader.biSize = sizeof(info.bmiHeader); in draw()
505 info.bmiHeader.biWidth = biWidth; in draw()
506 info.bmiHeader.biHeight = fHeight; in draw()
507 info.bmiHeader.biPlanes = 1; in draw()
508 info.bmiHeader.biBitCount = isBW ? 1 : 32; in draw()
509 info.bmiHeader.biCompression = BI_RGB; in draw()
511 info.bmiHeader.biClrUsed = 2; in draw()
/external/python/cpython3/PC/bdist_wininst/
Dinstall.c1064 &bi->bmiHeader, in create_bitmap()
/external/python/cpython2/PC/bdist_wininst/
Dinstall.c1020 &bi->bmiHeader, in create_bitmap()