Home
last modified time | relevance | path

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

12

/third_party/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()
/third_party/flutter/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 …]
/third_party/skia/src/codec/
DSkBmpRLECodec.cpp411 uint8_t numPixels = task; in decodeRLE() local
412 const size_t rowBytes = compute_row_bytes(numPixels, in decodeRLE()
416 if (x + numPixels > width) { in decodeRLE()
438 while (numPixels > 0) { in decodeRLE()
445 numPixels--; in decodeRLE()
446 if (numPixels != 0) { in decodeRLE()
449 numPixels--; in decodeRLE()
457 numPixels--; in decodeRLE()
466 numPixels--; in decodeRLE()
484 const uint8_t numPixels = flag; in decodeRLE() local
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DQuery9.cpp131 DWORD numPixels = 0; in testQuery() local
132 result = mQuery->GetData(&numPixels, sizeof(numPixels), D3DGETDATA_FLUSH); in testQuery()
136 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE; in testQuery()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DQuery9.cpp131 DWORD numPixels = 0; in testQuery() local
132 result = mQuery->GetData(&numPixels, sizeof(numPixels), D3DGETDATA_FLUSH); in testQuery()
136 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE; in testQuery()
/third_party/vk-gl-cts/modules/internal/
DditTextureFormatTests.cpp1240 const int numPixels = s_formatData[format.type].inputSize / inputPixelSize; in getInputAccess() local
1242 DE_ASSERT(numPixels == 4); in getInputAccess()
1243 DE_ASSERT(numPixels*inputPixelSize == s_formatData[format.type].inputSize); in getInputAccess()
1245 …return ConstPixelBufferAccess(format, IVec3(numPixels, 1, 1), IVec3(inputPixelSize, 0, 0), s_forma… in getInputAccess()
1272 const int numPixels = getInputAccess(storageFormat).getWidth(); in getReferenceValues() local
1276 dst.resize(numPixels); in getReferenceValues()
1278 for (int pixelNdx = 0; pixelNdx < numPixels; pixelNdx++) in getReferenceValues()
1430 const int numPixels = src.getWidth(); in verifyRead() local
1431 vector<Vector<T, 4> > res (numPixels); in verifyRead()
1437 for (int ndx = 0; ndx < numPixels; ndx++) in verifyRead()
[all …]
/third_party/vk-gl-cts/modules/glshared/
DglsShaderPerformanceMeasurer.cpp307 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in iterate() local
309 double mfragPerSecond = (double)numPixels / (double)totalTime; in iterate()
327 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; in logMeasurementInfo() local
329 double mfragPerSecond = (double)numPixels / (double)totalTime; in logMeasurementInfo()
336 …ertex-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVert… in logMeasurementInfo()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DQuery11.cpp228 UINT64 numPixels = 0; in testQuery() local
230 context->GetData(queryState->query.get(), &numPixels, sizeof(numPixels), 0); in testQuery()
236 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE; in testQuery()
DPixelTransfer11.cpp226 UINT numPixels = (destArea.width * destArea.height * destArea.depth); in copyBufferToTexture() local
227 deviceContext->Draw(numPixels, 0); in copyBufferToTexture()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DQuery11.cpp228 UINT64 numPixels = 0; in testQuery() local
230 context->GetData(queryState->query.get(), &numPixels, sizeof(numPixels), 0); in testQuery()
236 mResult = (numPixels > 0) ? GL_TRUE : GL_FALSE; in testQuery()
DPixelTransfer11.cpp227 UINT numPixels = (destArea.width * destArea.height * destArea.depth); in copyBufferToTexture() local
228 deviceContext->Draw(numPixels, 0); in copyBufferToTexture()
/third_party/flutter/skia/src/gpu/ccpr/
DGrCCPathCache.h312 void addPathPixels(int numPixels) { fNumPathPixels += numPixels; } in addPathPixels() argument
313 ReleaseAtlasResult invalidatePathPixels(GrCCPathCache*, int numPixels);
DGrCoverageCountingPathRenderer.cpp111 int64_t numPixels = sk_64_mul(clippedIBounds.height(), clippedIBounds.width()); in onCanDrawPath() local
112 if (path.countVerbs() > 1000 && path.countPoints() > numPixels) { in onCanDrawPath()
119 if (numPixels > 256 * 256) { in onCanDrawPath()
DGrCCPathCache.cpp411 GrCCPathCache* pathCache, int numPixels) { in invalidatePathPixels() argument
413 fNumInvalidatedPathPixels += numPixels; in invalidatePathPixels()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
DvktClippingTests.cpp253 int numPixels = 0; in countPixels() local
262 ++numPixels; in countPixels()
265 return numPixels; in countPixels()
629 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClamp() local
631 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClamp()
725 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip() local
727 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip()
755 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip() local
757 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageSubresourceLayoutTests.cpp512 const auto numPixels = subresourceWidth * subresourceHeight * subresourceDepth; in iterateAspect() local
537 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect()
562 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect()
588 const auto layerBufferOffset = level.offset + layerNdx * numPixels * pixelSize; in iterateAspect()
DvktImageCompressionTranscodingSupport.cpp179 size_t numPixels = (size_t)(sizeInBytes / 4) /* bytes */; in BinaryCompare() local
180 for (size_t i = 0; i < numPixels; i++) in BinaryCompare()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fColorClearTest.cpp108 const int numPixels = targetWidth * targetHeight; in iterate() local
111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
Des3fMultisampleTests.cpp1293 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local
1348 …color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::… in iterate()
1368 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fColorClearTest.cpp108 const int numPixels = targetWidth * targetHeight; in iterate() local
111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
Des2fMultisampleTests.cpp1137 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local
1192 …color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::… in iterate()
1212 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
/third_party/vk-gl-cts/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()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4275 const auto numPixels = calcNumPixels(imageExtent); in ManyDrawsAllocatedData() local
4324 …const auto colorCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(mapVkFo… in ManyDrawsAllocatedData()
4330 …const auto stencilCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(stenci… in ManyDrawsAllocatedData()
4432 const auto numPixels = ManyDrawsAllocatedData::calcNumPixels(m_params.imageExtent); in iterate() local
4447 colors.reserve(numPixels); in iterate()
4448 for (deUint32 i = 0; i < numPixels; ++i) in iterate()
4648 for (deUint32 i = 0; i < numPixels; ++i) in iterate()
4653 for (deUint32 i = 0; i < numPixels; ++i) in iterate()
/third_party/ffmpeg/libpostproc/
Dpostprocess_template.c1387 static uint64_t numPixels=0; in RENAME()
1388 if(x!=1 && x!=8 && y!=1 && y!=8) numPixels++; in RENAME()
1416 worstDiff, (float)numSkipped/numPixels); in RENAME()

12