Home
last modified time | relevance | path

Searched refs:numPixels (Results 1 – 20 of 20) 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/skqp/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/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/skqp/src/gpu/ccpr/
DGrCCPathCache.h313 void addPathPixels(int numPixels) { fNumPathPixels += numPixels; } in addPathPixels() argument
314 ReleaseAtlasResult invalidatePathPixels(GrCCPathCache*, int numPixels);
DGrCoverageCountingPathRenderer.cpp81 int64_t numPixels = sk_64_mul(clippedIBounds.height(), clippedIBounds.width()); in onCanDrawPath() local
82 if (path.countVerbs() > 1000 && path.countPoints() > numPixels) { in onCanDrawPath()
89 if (numPixels > 256 * 256) { in onCanDrawPath()
DGrCCPathCache.cpp411 GrCCPathCache* pathCache, int numPixels) { in invalidatePathPixels() argument
413 fNumInvalidatedPathPixels += numPixels; in invalidatePathPixels()
/external/skia/src/gpu/ccpr/
DGrCCPathCache.h313 void addPathPixels(int numPixels) { fNumPathPixels += numPixels; } in addPathPixels() argument
314 ReleaseAtlasResult invalidatePathPixels(GrCCPathCache*, int numPixels);
DGrCoverageCountingPathRenderer.cpp81 int64_t numPixels = sk_64_mul(clippedIBounds.height(), clippedIBounds.width()); in onCanDrawPath() local
82 if (path.countVerbs() > 1000 && path.countPoints() > numPixels) { in onCanDrawPath()
89 if (numPixels > 256 * 256) { in onCanDrawPath()
DGrCCPathCache.cpp411 GrCCPathCache* pathCache, int numPixels) { in invalidatePathPixels() argument
413 fNumInvalidatedPathPixels += numPixels; in invalidatePathPixels()
/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.cpp253 int numPixels = 0; in countPixels() local
262 ++numPixels; in countPixels()
265 return numPixels; in countPixels()
600 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClamp() local
602 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/deqp/external/vulkancts/modules/vulkan/image/
DvktImageCompressionTranscodingSupport.cpp178 size_t numPixels = (size_t)(sizeInBytes / 4) /* bytes */; in BinaryCompare() local
179 for (size_t i = 0; i < numPixels; i++) in BinaryCompare()
/external/mesa3d/src/mesa/main/
Dteximage.c753 const GLint numPixels = width * height * depth;
754 GLubyte *data = (GLubyte *) malloc(numPixels * components * sizeof(GLubyte));