/external/swiftshader/src/OpenGL/libGL/ |
H A D | Query.cpp | 119 unsigned int numPixels = mQuery->data; local 126 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE;
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_linetemp.h | 76 GLint numPixels; local 218 numPixels = MAX2(dx, dy); 229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels; 230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels; 231 span.blueStep = (ChanToFixed(vert1->color[2]) - span.blue ) / numPixels; 232 span.alphaStep = (ChanToFixed(vert1->color[3]) - span.alpha) / numPixels; 250 - vert0->attrib[VARYING_SLOT_POS][2]) / numPixels; 256 - vert0->attrib[VARYING_SLOT_POS][2]) / numPixels); 262 const GLfloat invLen = 1.0F / numPixels; 290 span.end = numPixels; [all...] |
/external/skia/src/codec/ |
H A D | SkBmpRLECodec.cpp | 408 uint8_t numPixels = task; local 409 const size_t rowBytes = compute_row_bytes(numPixels, 411 // Abort if setting numPixels moves us off the edge of the 413 if (x + numPixels > width) { 419 // remaining in the stream to set numPixels. 434 // Set numPixels number of pixels 435 while (numPixels > 0) { 442 numPixels--; 443 if (numPixels != 0) { 446 numPixels [all...] |
/external/skia/tests/ |
H A D | ColorSpaceXformTest.cpp | 292 constexpr int numPixels = pixelgp*pixelgp*pixelgp; local 293 SkAutoTMalloc<uint32_t> srcPixels(numPixels); 306 SkAutoTMalloc<uint32_t> dstPixels(numPixels); 319 numPixels, kOpaque_SkAlphaType); 322 for (int i = 0; i < numPixels; ++i) {
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0);
|
H A D | es2fMultisampleTests.cpp | 1136 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); local 1191 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; 1211 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels)
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0);
|
H A D | es3fMultisampleTests.cpp | 1292 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); local 1347 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; 1367 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels)
|
/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureUploadTests.cpp | 270 deInt64 numPixels = (deInt64)m_texSize * (deInt64)m_texSize * numTexturesDrawn; local 274 double avgMTexelsPerSeconds = (double)numPixels / (double)totalTime; 275 double avgTexelDrawDurationNs = (double)totalTime * 1000.0 / (double)numPixels;
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 251 int numPixels = 0; local 260 ++numPixels; 263 return numPixels; 556 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); local 558 if (numPixels >= caseMinPixels[caseNdx])
|
/external/deqp/modules/gles31/functional/ |
H A D | es31fMultisampleTests.cpp | 587 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); local 636 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; 656 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels)
|
/external/deqp/modules/internal/ |
H A D | ditTextureFormatTests.cpp | 1194 const int numPixels = s_formatData[format.type].inputSize / inputPixelSize; local 1196 DE_ASSERT(numPixels == 4); 1197 DE_ASSERT(numPixels*inputPixelSize == s_formatData[format.type].inputSize); 1199 return ConstPixelBufferAccess(format, IVec3(numPixels, 1, 1), IVec3(inputPixelSize, 0, 0), s_formatData[format.type].input); 1226 const int numPixels = getInputAccess(storageFormat).getWidth(); local 1230 dst.resize(numPixels); 1232 for (int pixelNdx = 0; pixelNdx < numPixels; pixelNdx++) 1384 const int numPixels = src.getWidth(); local 1385 vector<Vector<T, 4> > res (numPixels); 1391 for (int ndx = 0; ndx < numPixels; nd [all...] |
/external/libvncserver/libvncserver/ |
H A D | tight.c | 128 int numPixels; member in struct:PALETTE_ENTRY_s 211 static int PaletteInsert (uint32_t rgb, int numPixels, int bpp); 1356 int numPixels, 1371 count = palette.entry[idx].numPixels + numPixels; 1372 if (new_idx && palette.entry[new_idx-1].numPixels < count) { 1378 while (new_idx && palette.entry[new_idx-1].numPixels < count); 1382 palette.entry[new_idx].numPixels = count; 1397 idx > 0 && palette.entry[idx-1].numPixels < numPixels; 1355 PaletteInsert(uint32_t rgb, int numPixels, int bpp) argument [all...] |