Home
last modified time | relevance | path

Searched refs:bitmapInfo (Results 1 – 16 of 16) 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.cpp677 BITMAPINFOHEADER bitmapInfo; in takeScreenshot() local
678 bitmapInfo.biSize = sizeof(BITMAPINFOHEADER); in takeScreenshot()
679 bitmapInfo.biWidth = mWidth; in takeScreenshot()
680 bitmapInfo.biHeight = -mHeight; in takeScreenshot()
681 bitmapInfo.biPlanes = 1; in takeScreenshot()
682 bitmapInfo.biBitCount = 32; in takeScreenshot()
683 bitmapInfo.biCompression = BI_RGB; in takeScreenshot()
684 bitmapInfo.biSizeImage = 0; in takeScreenshot()
685 bitmapInfo.biXPelsPerMeter = 0; in takeScreenshot()
686 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/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/swiftshader/src/WSI/
DWin32SurfaceKHR.cpp138 BITMAPINFO bitmapInfo = {}; in lazyCreateFrameBuffer() local
139 bitmapInfo.bmiHeader.biSize = sizeof(BITMAPINFO); in lazyCreateFrameBuffer()
140 bitmapInfo.bmiHeader.biBitCount = 32; in lazyCreateFrameBuffer()
141 bitmapInfo.bmiHeader.biPlanes = 1; in lazyCreateFrameBuffer()
142bitmapInfo.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()
146 bitmap = CreateDIBSection(bitmapContext, &bitmapInfo, DIB_RGB_COLORS, &framebuffer, 0, 0); in lazyCreateFrameBuffer()
/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.cpp469 SkImageInfo bitmapInfo = decodeInfo; in draw() local
470 set_bitmap_color_space(&bitmapInfo); in draw()
473 bitmapInfo = bitmapInfo.makeColorType(kN32_SkColorType); in draw()
542 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
575 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
625 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
680 draw_to_canvas(canvas, bitmapInfo, dst, rowBytes, fDstColorType); in draw()
701 draw_to_canvas(canvas, bitmapInfo, pixels.get(), rowBytes, fDstColorType); in draw()
741 SkImageInfo subsetBitmapInfo = bitmapInfo.makeWH(scaledW, scaledH); in draw()
858 SkImageInfo bitmapInfo = decodeInfo; in draw() local
[all …]
/external/skia/src/ports/
DSkScalerContext_mac_ct.cpp200 const CGBitmapInfo bitmapInfo = kCGBitmapByteOrder32Host | (CGBitmapInfo)alpha; in getCG() local
202 rowBytes, fRGBSpace.get(), bitmapInfo)); in getCG()
/external/llvm-project/clang/test/ARCMT/
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);
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);
/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/llvm-project/clang/test/Analysis/
Dretain-release.m1472 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1477 size_t bytesPerRow, CGColorSpaceRef space, CGBitmapInfo bitmapInfo,
1486 bytesPerRow, space, bitmapInfo, releaseCallback, number);
/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);