Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_bmp.c79 Uint32 biClrUsed; in SDL_LoadBMP_RW() local
119 biClrUsed = 0; in SDL_LoadBMP_RW()
130 biClrUsed = SDL_ReadLE32(src); in SDL_LoadBMP_RW()
215 if ( biClrUsed == 0 ) { in SDL_LoadBMP_RW()
216 biClrUsed = 1 << biBitCount; in SDL_LoadBMP_RW()
219 for ( i = 0; i < (int)biClrUsed; ++i ) { in SDL_LoadBMP_RW()
226 for ( i = 0; i < (int)biClrUsed; ++i ) { in SDL_LoadBMP_RW()
233 palette->ncolors = biClrUsed; in SDL_LoadBMP_RW()
355 Uint32 biClrUsed; in SDL_SaveBMP_RW() local
438 biClrUsed = surface->format->palette->ncolors; in SDL_SaveBMP_RW()
[all …]
/external/webkit/WebCore/platform/image-decoders/bmp/
DBMPImageReader.cpp193 if ((m_infoHeader.biClrUsed == 0) in processInfoHeader()
194 || (m_infoHeader.biClrUsed > maxColors)) in processInfoHeader()
195 m_infoHeader.biClrUsed = maxColors; in processInfoHeader()
219 m_infoHeader.biClrUsed = 0; in readInfoHeader()
255 m_infoHeader.biClrUsed = readUint32(32); in readInfoHeader()
507 m_tableSizeInBytes = m_infoHeader.biClrUsed * (m_isOS21x ? 3 : 4); in processColorTable()
520 m_colorTable.resize(m_infoHeader.biClrUsed); in processColorTable()
521 for (size_t i = 0; i < m_infoHeader.biClrUsed; ++i) { in processColorTable()
661 if ((colorIndexes[0] >= m_infoHeader.biClrUsed) in processRLEData()
662 || (colorIndexes[1] >= m_infoHeader.biClrUsed)) in processRLEData()
[all …]
DBMPImageReader.h113 uint32_t biClrUsed; member
/external/jpeg/
Drdbmp.c259 INT32 biClrUsed = 0; in start_input_bmp() local
317 biClrUsed = GET_4B(bmpinfoheader,32); in start_input_bmp()
354 if (biClrUsed <= 0) in start_input_bmp()
355 biClrUsed = 256; /* assume it's 256 */ in start_input_bmp()
356 else if (biClrUsed > 256) in start_input_bmp()
361 (JDIMENSION) biClrUsed, (JDIMENSION) 3); in start_input_bmp()
363 read_colormap(source, (int) biClrUsed, mapentrysize); in start_input_bmp()
365 bPad -= biClrUsed * mapentrysize; in start_input_bmp()
/external/webkit/WebCore/platform/win/
DBitmapInfo.cpp44 bitmapInfo.bmiHeader.biClrUsed = 0; in bitmapInfoForSize()
/external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
DSDL_syswm.c77 Uint32 biClrUsed; in WIN_SetWMIcon()
/external/webkit/WebCore/platform/graphics/wx/
DGraphicsContextWx.cpp591 bitmapInfo.bmiHeader.biClrUsed = 0; in getWindowsContext()
/external/qemu/distrib/sdl-1.2.12/src/video/windib/
DSDL_dibvideo.c741 binfo->bmiHeader.biClrUsed = 0;
/external/webkit/WebCore/platform/graphics/qt/
DGraphicsContextQt.cpp1175 bitmapInfo.bmiHeader.biClrUsed = 0; in getWindowsContext()