Home
last modified time | relevance | path

Searched refs:paintColors (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/Device/
DETC_Decoder.cpp484 bgra8 paintColors[4]; in decodeTBlock() local
496 paintColors[0].set(r1, g1, b1); in decodeTBlock()
497 paintColors[1].set(r2 + d, g2 + d, b2 + d); in decodeTBlock()
498 paintColors[2].set(r2, g2, b2); in decodeTBlock()
499 paintColors[3].set(r2 - d, g2 - d, b2 - d); in decodeTBlock()
506 if((x + 0) < w) color[0] = paintColors[getIndex(0, j)].addA(alphaValues[j][0]); in decodeTBlock()
507 if((x + 1) < w) color[1] = paintColors[getIndex(1, j)].addA(alphaValues[j][1]); in decodeTBlock()
508 if((x + 2) < w) color[2] = paintColors[getIndex(2, j)].addA(alphaValues[j][2]); in decodeTBlock()
509 if((x + 3) < w) color[3] = paintColors[getIndex(3, j)].addA(alphaValues[j][3]); in decodeTBlock()
524 bgra8 paintColors[4]; in decodeHBlock() local
[all …]
/external/swiftshader/src/Renderer/
DETC_Decoder.cpp487 bgra8 paintColors[4]; in decodeTBlock() local
499 paintColors[0].set(r1, g1, b1); in decodeTBlock()
500 paintColors[1].set(r2 + d, g2 + d, b2 + d); in decodeTBlock()
501 paintColors[2].set(r2, g2, b2); in decodeTBlock()
502 paintColors[3].set(r2 - d, g2 - d, b2 - d); in decodeTBlock()
509 if((x + 0) < w) color[0] = paintColors[getIndex(0, j)].addA(alphaValues[j][0]); in decodeTBlock()
510 if((x + 1) < w) color[1] = paintColors[getIndex(1, j)].addA(alphaValues[j][1]); in decodeTBlock()
511 if((x + 2) < w) color[2] = paintColors[getIndex(2, j)].addA(alphaValues[j][2]); in decodeTBlock()
512 if((x + 3) < w) color[3] = paintColors[getIndex(3, j)].addA(alphaValues[j][3]); in decodeTBlock()
527 bgra8 paintColors[4]; in decodeHBlock() local
[all …]
/external/skia/gm/
Dmixercolorfilter.cpp108 const SkColor4f paintColors[] = { in mixRow() local
119 paint.setColor4f(paintColors[i % SK_ARRAY_COUNT(paintColors)]); in mixRow()
Dmodecolorfilters.cpp144 SkColor* paintColors = hasShader ? alphas : colors; in onDraw() local
146 paint.setColor(paintColors[pc]); in onDraw()
/external/skqp/gm/
Dmodecolorfilters.cpp130 SkColor* paintColors = hasShader ? alphas : colors; in onDraw() local
132 paint.setColor(paintColors[pc]); in onDraw()
/external/angle/src/image_util/
Dloadimage_etc.cpp561 const R8G8B8A8 paintColors[4] = { in decodeTBlock() local
574 row[i] = paintColors[getIndex(i, j)]; in decodeTBlock()
610 const R8G8B8A8 paintColors[4] = { in decodeHBlock() local
623 row[i] = paintColors[getIndex(i, j)]; in decodeHBlock()
1227 const R8G8B8A8 paintColors[kNumColors] = { in transcodeTBlockToBC1() local
1248 selectEndPointPCA(pixelIndexCounts, paintColors, kNumColors, &minColorIndex, in transcodeTBlockToBC1()
1251 packBC1(dest, pixelIndices, pixelIndexCounts, paintColors, kNumColors, minColorIndex, in transcodeTBlockToBC1()
1282 const R8G8B8A8 paintColors[kNumColors] = { in transcodeHBlockToBC1() local
1304 selectEndPointPCA(pixelIndexCounts, paintColors, kNumColors, &minColorIndex, in transcodeHBlockToBC1()
1307 packBC1(dest, pixelIndices, pixelIndexCounts, paintColors, kNumColors, minColorIndex, in transcodeHBlockToBC1()