Home
last modified time | relevance | path

Searched refs:bitmapInfo (Results 1 – 13 of 13) sorted by relevance

/external/angle/util/windows/win32/
DWin32Pixmap.cpp23 BITMAPINFO bitmapInfo; in initialize() local
24 memset(&bitmapInfo, 0, sizeof(bitmapInfo)); in initialize()
31 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()
[all …]
DWin32Window.cpp667 BITMAPINFOHEADER bitmapInfo; in takeScreenshot() local
668 bitmapInfo.biSize = sizeof(BITMAPINFOHEADER); in takeScreenshot()
669 bitmapInfo.biWidth = mWidth; in takeScreenshot()
670 bitmapInfo.biHeight = -mHeight; in takeScreenshot()
671 bitmapInfo.biPlanes = 1; in takeScreenshot()
672 bitmapInfo.biBitCount = 32; in takeScreenshot()
673 bitmapInfo.biCompression = BI_RGB; in takeScreenshot()
674 bitmapInfo.biSizeImage = 0; in takeScreenshot()
675 bitmapInfo.biXPelsPerMeter = 0; in takeScreenshot()
676 bitmapInfo.biYPelsPerMeter = 0; in takeScreenshot()
[all …]
/external/deqp/framework/platform/win32/
DtcuWin32EGLNativeDisplayFactory.cpp153 BITMAPINFO bitmapInfo; in NativePixmap() local
155 memset(&bitmapInfo, 0, sizeof(bitmapInfo)); in NativePixmap()
160 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()
[all …]
/external/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp129 BITMAPINFO bitmapInfo = {}; in lazyCreateFrameBuffer() local
130 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in lazyCreateFrameBuffer()
131 bitmapInfo.bmiHeader.biBitCount = 32; in lazyCreateFrameBuffer()
132 bitmapInfo.bmiHeader.biPlanes = 1; in lazyCreateFrameBuffer()
133bitmapInfo.bmiHeader.biHeight = -static_cast<LONG>(windowExtent.height); // Negative for top-down… in lazyCreateFrameBuffer()
134 bitmapInfo.bmiHeader.biWidth = windowExtent.width; in lazyCreateFrameBuffer()
135 bitmapInfo.bmiHeader.biCompression = BI_RGB; in lazyCreateFrameBuffer()
137 bitmap = CreateDIBSection(bitmapContext, &bitmapInfo, DIB_RGB_COLORS, &framebuffer, 0, 0); in lazyCreateFrameBuffer()
/external/swiftshader/src/Main/
DFrameBufferGDI.cpp140 BITMAPINFO bitmapInfo; in init() local
141 memset(&bitmapInfo, 0, sizeof(BITMAPINFO)); in init()
142 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()
149 bitmap = CreateDIBSection(bitmapContext, &bitmapInfo, DIB_RGB_COLORS, &framebuffer, 0, 0); in init()
/external/skqp/dm/
DDMSrcSink.cpp430 SkImageInfo bitmapInfo = decodeInfo; in draw() local
431 set_bitmap_color_space(&bitmapInfo); in draw()
434 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); in draw()
492 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
525 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
575 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
630 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
651 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
691 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH); in draw()
805 SkImageInfo bitmapInfo = decodeInfo; in draw() local
[all …]
/external/neven/
DFaceDetector_jni.cpp213 AndroidBitmapInfo bitmapInfo; in detect() local
214 AndroidBitmap_getInfo(_env, bitmap, &bitmapInfo); in detect()
217 int wpr = bitmapInfo.stride / 2; in detect()
/external/skia/dm/
DDMSrcSink.cpp437 SkImageInfo bitmapInfo = decodeInfo; in draw() local
438 set_bitmap_color_space(&bitmapInfo); in draw()
441 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); in draw()
499 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
532 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
582 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
637 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
658 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
698 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH); in draw()
812 SkImageInfo bitmapInfo = decodeInfo; in draw() local
[all …]
/external/clang/test/ARCMT/
Dobjcmt-arc-cf-annotations.m1264 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1269 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1278 bytesPerRow, space, bitmapInfo, releaseCallback, number);
Dobjcmt-arc-cf-annotations.m.result1306 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1311 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1320 bytesPerRow, space, bitmapInfo, releaseCallback, number);
/external/skqp/src/ports/
DSkFontHost_mac.cpp1053 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | alpha; in getCG() local
1055 rowBytes, fRGBSpace.get(), bitmapInfo)); in getCG()
/external/skia/src/ports/
DSkFontHost_mac.cpp1164 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | alpha; in getCG() local
1166 rowBytes, fRGBSpace.get(), bitmapInfo)); in getCG()
/external/clang/test/Analysis/
Dretain-release.m1259 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1264 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1273 bytesPerRow, space, bitmapInfo, releaseCallback, number);