Home
last modified time | relevance | path

Searched refs:basex (Results 1 – 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/platform/graphics/cg/
DImageBufferDataCG.cpp178 int basex = x * 4; in getData() local
179 unsigned char alpha = srcRows[basex + 3]; in getData()
181 destRows[basex] = (srcRows[basex] * 255) / alpha; in getData()
182 destRows[basex + 1] = (srcRows[basex + 1] * 255) / alpha; in getData()
183 destRows[basex + 2] = (srcRows[basex + 2] * 255) / alpha; in getData()
184 destRows[basex + 3] = alpha; in getData()
186 …reinterpret_cast<uint32_t*>(destRows + basex)[0] = reinterpret_cast<uint32_t*>(srcRows + basex)[0]; in getData()
228 int basex = x * 4; in getData() local
229 unsigned char alpha = srcRows[basex + 3]; in getData()
231 destRows[basex] = (srcRows[basex + 2] * 255) / alpha; in getData()
[all …]
/external/quake/quake/src/WinQuake/
Dmenu.cpp1791 int basex; in M_SerialConfig_Draw() local
1797 basex = (320-p->width)/2; in M_SerialConfig_Draw()
1798 M_DrawPic (basex, 4, p); in M_SerialConfig_Draw()
1808 M_Print (basex, 32, va ("%s - %s", startJoin, directModem)); in M_SerialConfig_Draw()
1809 basex += 8; in M_SerialConfig_Draw()
1811 M_Print (basex, serialConfig_cursor_table[0], "Port"); in M_SerialConfig_Draw()
1815 M_Print (basex, serialConfig_cursor_table[1], "IRQ"); in M_SerialConfig_Draw()
1819 M_Print (basex, serialConfig_cursor_table[2], "Baud"); in M_SerialConfig_Draw()
1825 M_Print (basex, serialConfig_cursor_table[3], "Modem Setup..."); in M_SerialConfig_Draw()
1828 M_Print (basex, serialConfig_cursor_table[4], "Phone number"); in M_SerialConfig_Draw()
[all …]
/external/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp179 int basex = x * 4; in getUnmultipliedImageData() local
180 destRows[basex + 0] = SkColorGetR(c); in getUnmultipliedImageData()
181 destRows[basex + 1] = SkColorGetG(c); in getUnmultipliedImageData()
182 destRows[basex + 2] = SkColorGetB(c); in getUnmultipliedImageData()
183 destRows[basex + 3] = SkColorGetA(c); in getUnmultipliedImageData()
237 int basex = x * 4; in putUnmultipliedImageData() local
238 dstRows[x] = SkPackARGB32(srcRows[basex + 3], in putUnmultipliedImageData()
239 srcRows[basex + 0], in putUnmultipliedImageData()
240 srcRows[basex + 1], in putUnmultipliedImageData()
241 srcRows[basex + 2]); in putUnmultipliedImageData()
/external/webkit/Source/WebCore/platform/graphics/cairo/
DImageBufferCairo.cpp200 int basex = x * 4; in getImageData() local
207 destRows[basex] = pixelColor.red(); in getImageData()
208 destRows[basex + 1] = pixelColor.green(); in getImageData()
209 destRows[basex + 2] = pixelColor.blue(); in getImageData()
210 destRows[basex + 3] = pixelColor.alpha(); in getImageData()
268 int basex = x * 4; in putImageData() local
270 Color pixelColor(srcRows[basex], in putImageData()
271 srcRows[basex + 1], in putImageData()
272 srcRows[basex + 2], in putImageData()
273 srcRows[basex + 3]); in putImageData()