Home
last modified time | relevance | path

Searched refs:numPixels (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/mesa/swrast/
Ds_linetemp.h76 GLint numPixels; in NAME() local
218 numPixels = MAX2(dx, dy); in NAME()
229 span.redStep = (ChanToFixed(vert1->color[0]) - span.red ) / numPixels; in NAME()
230 span.greenStep = (ChanToFixed(vert1->color[1]) - span.green) / numPixels; in NAME()
231 span.blueStep = (ChanToFixed(vert1->color[2]) - span.blue ) / numPixels; in NAME()
232 span.alphaStep = (ChanToFixed(vert1->color[3]) - span.alpha) / numPixels; in NAME()
250 - vert0->attrib[VARYING_SLOT_POS][2]) / numPixels; in NAME()
256 - vert0->attrib[VARYING_SLOT_POS][2]) / numPixels); in NAME()
262 const GLfloat invLen = 1.0F / numPixels; in NAME()
290 span.end = numPixels; in NAME()
/external/skia/src/codec/
DSkBmpRLECodec.cpp408 uint8_t numPixels = task; in decodeRLE() local
409 const size_t rowBytes = compute_row_bytes(numPixels, in decodeRLE()
413 if (x + numPixels > width) { in decodeRLE()
435 while (numPixels > 0) { in decodeRLE()
442 numPixels--; in decodeRLE()
443 if (numPixels != 0) { in decodeRLE()
446 numPixels--; in decodeRLE()
454 numPixels--; in decodeRLE()
463 numPixels--; in decodeRLE()
481 const uint8_t numPixels = flag; in decodeRLE() local
[all …]
/external/deqp/modules/internal/
DditTextureFormatTests.cpp1194 const int numPixels = s_formatData[format.type].inputSize / inputPixelSize; in getInputAccess() local
1196 DE_ASSERT(numPixels == 4); in getInputAccess()
1197 DE_ASSERT(numPixels*inputPixelSize == s_formatData[format.type].inputSize); in getInputAccess()
1199 …return ConstPixelBufferAccess(format, IVec3(numPixels, 1, 1), IVec3(inputPixelSize, 0, 0), s_forma… in getInputAccess()
1226 const int numPixels = getInputAccess(storageFormat).getWidth(); in getReferenceValues() local
1230 dst.resize(numPixels); in getReferenceValues()
1232 for (int pixelNdx = 0; pixelNdx < numPixels; pixelNdx++) in getReferenceValues()
1384 const int numPixels = src.getWidth(); in verifyRead() local
1385 vector<Vector<T, 4> > res (numPixels); in verifyRead()
1391 for (int ndx = 0; ndx < numPixels; ndx++) in verifyRead()
[all …]
/external/swiftshader/src/OpenGL/libGL/
DQuery.cpp119 unsigned int numPixels = mQuery->data; in testQuery() local
126 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE; in testQuery()
/external/deqp/modules/glshared/
DglsShaderPerformanceMeasurer.cpp305 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in iterate() local
307 double mfragPerSecond = (double)numPixels / (double)totalTime; in iterate()
325 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in logMeasurementInfo() local
327 double mfragPerSecond = (double)numPixels / (double)totalTime; in logMeasurementInfo()
334 …ertex-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVert… in logMeasurementInfo()
/external/skia/tests/
DColorSpaceXformTest.cpp292 constexpr int numPixels = pixelgp*pixelgp*pixelgp; in DEF_TEST() local
293 SkAutoTMalloc<uint32_t> srcPixels(numPixels); in DEF_TEST()
306 SkAutoTMalloc<uint32_t> dstPixels(numPixels); in DEF_TEST()
319 numPixels, kOpaque_SkAlphaType); in DEF_TEST()
322 for (int i = 0; i < numPixels; ++i) { in DEF_TEST()
/external/libvncserver/libvncserver/
Dtight.c128 int numPixels; member
211 static int PaletteInsert (uint32_t rgb, int numPixels, int bpp);
1356 int numPixels, in PaletteInsert() argument
1371 count = palette.entry[idx].numPixels + numPixels; in PaletteInsert()
1372 if (new_idx && palette.entry[new_idx-1].numPixels < count) { in PaletteInsert()
1378 while (new_idx && palette.entry[new_idx-1].numPixels < count); in PaletteInsert()
1382 palette.entry[new_idx].numPixels = count; in PaletteInsert()
1397 idx > 0 && palette.entry[idx-1].numPixels < numPixels; in PaletteInsert()
1414 palette.entry[idx].numPixels = numPixels; in PaletteInsert()
/external/deqp/modules/gles2/performance/
Des2pTextureUploadTests.cpp270 deInt64 numPixels = (deInt64)m_texSize * (deInt64)m_texSize * numTexturesDrawn; in logResults() local
274 double avgMTexelsPerSeconds = (double)numPixels / (double)totalTime; in logResults()
275 double avgTexelDrawDurationNs = (double)totalTime * 1000.0 / (double)numPixels; in logResults()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp108 const int numPixels = targetWidth * targetHeight; in iterate() local
111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
Des3fMultisampleTests.cpp1292 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local
1347 …color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::… in iterate()
1367 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp108 const int numPixels = targetWidth * targetHeight; in iterate() local
111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
Des2fMultisampleTests.cpp1136 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local
1191 …color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::… in iterate()
1211 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
/external/deqp/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp251 int numPixels = 0; in countPixels() local
260 ++numPixels; in countPixels()
263 return numPixels; in countPixels()
556 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClamp() local
558 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClamp()
/external/deqp/modules/gles31/functional/
Des31fMultisampleTests.cpp587 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local
636 …color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::… in iterate()
656 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
/external/mesa3d/src/mesa/main/
Dteximage.c720 const GLint numPixels = width * height * depth;
721 GLubyte *data = (GLubyte *) malloc(numPixels * components * sizeof(GLubyte));