Home
last modified time | relevance | path

Searched refs:biBitCount (Results 1 – 20 of 20) sorted by relevance

/external/webkit/Source/WebCore/platform/image-decoders/bmp/
DBMPImageReader.cpp114 m_infoHeader.biBitCount = 1; in decodeBMP()
180 if (m_infoHeader.biBitCount < 16) { in processInfoHeader()
181 const uint32_t maxColors = static_cast<uint32_t>(1) << m_infoHeader.biBitCount; in processInfoHeader()
190 m_infoHeader.biBitCount = 8; in processInfoHeader()
192 m_infoHeader.biBitCount = 4; in processInfoHeader()
195 if (m_infoHeader.biBitCount >= 16) in processInfoHeader()
197 else if (m_infoHeader.biBitCount) in processInfoHeader()
213 m_infoHeader.biBitCount = readUint16(10); in readInfoHeader()
221 m_infoHeader.biBitCount = readUint16(14); in readInfoHeader()
228 if ((biCompression == 3) && (m_infoHeader.biBitCount == 1)) { in readInfoHeader()
[all …]
DBMPImageReader.h112 uint16_t biBitCount; member
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_bmp.c74 Uint16 biBitCount; in SDL_LoadBMP_RW() local
114 biBitCount = SDL_ReadLE16(src); in SDL_LoadBMP_RW()
125 biBitCount = SDL_ReadLE16(src); in SDL_LoadBMP_RW()
141 switch (biBitCount) { in SDL_LoadBMP_RW()
144 ExpandBMP = biBitCount; in SDL_LoadBMP_RW()
145 biBitCount = 8; in SDL_LoadBMP_RW()
159 switch (biBitCount) { in SDL_LoadBMP_RW()
186 switch (biBitCount) { in SDL_LoadBMP_RW()
206 biWidth, biHeight, biBitCount, Rmask, Gmask, Bmask, 0); in SDL_LoadBMP_RW()
216 biClrUsed = 1 << biBitCount; in SDL_LoadBMP_RW()
[all …]
/external/webkit/Source/WebCore/platform/win/
DBitmapInfo.h51 bool is16bit() const { return bmiHeader.biBitCount == 16; } in is16bit()
52 bool is32bit() const { return bmiHeader.biBitCount == 32; } in is32bit()
56 unsigned bytesPerLine() const { return (width() * bmiHeader.biBitCount + 7) / 8; } in bytesPerLine()
58 unsigned paddedWidth() const { return paddedBytesPerLine() * 8 / bmiHeader.biBitCount; } in paddedWidth()
DBitmapInfo.cpp42 bitmapInfo.bmiHeader.biBitCount = bitCount; in bitmapInfoForSize()
/external/qemu/android/camera/
Dcamera-capture-windows.c229 if (wcd->frame_bitmap->bmiHeader.biBitCount == 32) { in _on_captured_frame()
231 } else if (wcd->frame_bitmap->bmiHeader.biBitCount == 16) { in _on_captured_frame()
345 if (wcd->frame_bitmap->bmiHeader.biBitCount == 24) { in camera_device_start_capturing()
351 (frame_width * frame_height * wcd->frame_bitmap->bmiHeader.biBitCount) / 8; in camera_device_start_capturing()
462 wcd->gdi_bitmap->bmiHeader.biBitCount = bitmap.bmBitsPixel; in camera_device_start_capturing()
488 if (wcd->gdi_bitmap->bmiHeader.biBitCount == 16) { in camera_device_start_capturing()
490 } else if (wcd->gdi_bitmap->bmiHeader.biBitCount == 24) { in camera_device_start_capturing()
492 } else if (wcd->gdi_bitmap->bmiHeader.biBitCount == 32) { in camera_device_start_capturing()
496 __FUNCTION__, wcd->gdi_bitmap->bmiHeader.biBitCount); in camera_device_start_capturing()
502 __FUNCTION__, wcd->window_name, wcd->gdi_bitmap->bmiHeader.biBitCount, in camera_device_start_capturing()
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
DSDL_syswm.c72 Uint16 biBitCount; in WIN_SetWMIcon()
110 icon_win32->biBitCount = 8; in WIN_SetWMIcon()
115 icon_win32->biBitCount, 0, 0, 0, 0); in WIN_SetWMIcon()
138 for ( i=0; i<(1<<icon_win32->biBitCount); ++i ) { in WIN_SetWMIcon()
/external/webkit/Source/WebCore/platform/graphics/win/
DDIBPixelData.cpp70 info.biBitCount = m_bitsPerPixel; in writeToFile()
/external/webkit/Tools/DumpRenderTree/win/
DPixelDumpSupportWin.cpp58 bmp.bmiHeader.biBitCount = 32; in createBitmapContextFromWebView()
/external/webkit/Source/WebKit2/WebProcess/WebCoreSupport/win/
DWebDragClientWin.cpp74 …bmiHeader.biWidth * abs(bitmapInfo.bmiHeader.biHeight) * (bitmapInfo.bmiHeader.biBitCount + 7) / 8; in startDrag()
/external/jmonkeyengine/engine/src/desktop/com/jme3/app/state/
DMjpegFileWriter.java336 public short biBitCount = 24; field in MjpegFileWriter.AVIStreamFormat
362 baos.write(shortBytes(swapShort(biBitCount))); in toBytes()
/external/libpng/contrib/gregbook/
Drpng-win.c474 bmih->biBitCount = 24; in rpng_win_create_window()
Drpng2-win.c700 bmih->biBitCount = 24; in rpng2_win_create_window()
/external/qemu/distrib/sdl-1.2.12/src/video/windib/
DSDL_dibvideo.c456 switch( dib_hdr->biBitCount ) in DIB_SussScreenDepth()
743 binfo->bmiHeader.biBitCount = video->format->BitsPerPixel;
/external/webkit/Source/WebCore/platform/graphics/wx/
DGraphicsContextWx.cpp622 bitmapInfo.bmiHeader.biBitCount = 32; in getWindowsContext()
/external/libpng/contrib/visupng/
DVisualPng.c743 pbmih->biBitCount = 24; in DisplayImage()
/external/qemu/distrib/sdl-1.2.12/src/video/gapi/
DSDL_gapivideo.c1200 pHeader->biBitCount = bpp; in GAPI_WinPAINT()
/external/skia/src/ports/
DSkFontHost_win.cpp377 info.bmiHeader.biBitCount = isBW ? 1 : 32; in draw()
/external/webkit/Source/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp1301 bitmapInfo.bmiHeader.biBitCount = 32; in getWindowsContext()
/external/webkit/Source/WebCore/
DChangeLog-2010-12-0673326 Support all available biBitCount values in BitmapInfo
73329 Add an enum with all possible values for biBitCount.