/third_party/skia/src/codec/ |
H A D | SkBmpRLECodec.cpp | 411 uint8_t numPixels = task; in decodeRLE() local 412 const size_t rowBytes = compute_row_bytes(numPixels, in decodeRLE() 414 // Abort if setting numPixels moves us off the edge of the in decodeRLE() 416 if (x + numPixels > width) { in decodeRLE() 422 // remaining in the stream to set numPixels. in decodeRLE() 437 // Set numPixels number of pixels in decodeRLE() 438 while (numPixels > 0) { in decodeRLE() 445 numPixels--; in decodeRLE() 446 if (numPixels != 0) { in decodeRLE() 449 numPixels in decodeRLE() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | Query9.cpp | 131 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/d3d11/ |
H A D | Query11.cpp | 228 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()
|
H A D | PixelTransfer11.cpp | 227 UINT numPixels = (destArea.width * destArea.height * destArea.depth); in copyBufferToTexture() local 228 deviceContext->Draw(numPixels, 0); in copyBufferToTexture()
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderPerformanceMeasurer.cpp | 307 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; 309 double mfragPerSecond = (double)numPixels / (double)totalTime; 327 deInt64 numPixels = (deInt64)m_viewportWidth * (deInt64)m_viewportHeight * numQuadGrids; 329 double mfragPerSecond = (double)numPixels / (double)totalTime; 336 << TestLog::Float("FragmentsPerVertices", "Vertex-fragment ratio", "Fragments/Vertices", QP_KEY_TAG_NONE, (float)numPixels / (float)numVertices)
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pTextureUploadTests.cpp | 270 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/modules/gles2/functional/ |
H A D | es2fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; in iterate() local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
|
H A D | es2fMultisampleTests.cpp | 1137 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local 1192 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; in iterate() 1212 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; in iterate() local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
|
H A D | es3fMultisampleTests.cpp | 1293 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local 1348 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; in iterate() 1368 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 254 int numPixels = 0; in countPixels() local 263 ++numPixels; in countPixels() 266 return numPixels; in countPixels() 630 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClamp() local 632 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClamp() 726 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClip() local 728 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip() 761 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClip() local 763 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/ |
H A D | vktClippingTests.cpp | 254 int numPixels = 0; in countPixels() local 263 ++numPixels; in countPixels() 266 return numPixels; in countPixels() 630 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClamp() local 632 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClamp() 726 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClip() local 728 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip() 761 const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regionSize, cases[caseNdx].color, Vec4()); in testPrimitivesDepthClip() local 763 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip()
|
/third_party/vk-gl-cts/modules/internal/ |
H A D | ditTextureFormatTests.cpp | 1240 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_formatData[format.type].input); 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; nd in verifyRead() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 526 const auto numPixels = subresourceWidth * subresourceHeight * subresourceDepth; in iterateAspect() local 551 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect() 576 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect() 602 const auto layerBufferOffset = level.offset + layerNdx * numPixels * pixelSize; in iterateAspect()
|
/third_party/backends/backend/ |
H A D | dell1600n_net.c | 1797 int numPixels, iPixel, width, height, scanLineSize, imageBytes; in ProcessPageData() local 1933 numPixels = height * width; in ProcessPageData() 1934 DBG (20, "ProcessPageData: num TIFF RGBA pixels: %d\n", numPixels); in ProcessPageData() 1935 if (!(pTiffRgba = calloc (numPixels, sizeof (u_long)))) in ProcessPageData() 1959 for (iPixel = 0; iPixel < numPixels; ++iPixel) in ProcessPageData()
|
H A D | hp5400_internal.h | 212 SetCalibration (int iHandle, int numPixels,
|
H A D | hp5400_internal.c | 337 SetCalibration (int iHandle, int numPixels, unsigned int *low_vals[3], in SetCalibration() argument 368 ((numPixels / CALPIXBYBLOCK) + in SetCalibration() 369 ((numPixels % CALPIXBYBLOCK != 0) ? 1 : 0)); in SetCalibration() 381 i = ( j % (int)( 0.80 * numPixels ) ) + (int)(0.10 * numPixels ); in SetCalibration()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageSubresourceLayoutTests.cpp | 531 const auto numPixels = subresourceWidth * subresourceHeight * subresourceDepth; in iterateAspect() local 556 if (subresourceLayout.size < pixelSize * numPixels) in iterateAspect() 581 if (numLayers > 1u && subresourceLayout.arrayPitch < pixelSize * numPixels) in iterateAspect() 607 const auto layerBufferOffset = level.offset + layerNdx * numPixels * pixelSize; in iterateAspect()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fMultisampleTests.cpp | 587 deInt32 numPixels = (deInt32)renderedImg.getWidth()*(deInt32)renderedImg.getHeight(); in iterate() local 636 log << TestLog::Message << "Average red color component: " << de::floatToString((float)sumRed / 255.0f / (float)numPixels, 2) << TestLog::EndMessage; in iterate() 656 if (m_currentIteration == m_numIterations-1 && sumRed != 0xff*numPixels) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4202 const auto numPixels = calcNumPixels(imageExtent); in ManyDrawsAllocatedData() local 4251 const auto colorCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(mapVkFormat(colorFormat))); in ManyDrawsAllocatedData() 4257 const auto stencilCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(stencilFormat)); in ManyDrawsAllocatedData() 4359 const auto numPixels = ManyDrawsAllocatedData::calcNumPixels(m_params.imageExtent); in iterate() local 4374 colors.reserve(numPixels); in iterate() 4375 for (deUint32 i = 0; i < numPixels; ++i) in iterate() 4576 for (deUint32 i = 0; i < numPixels; ++i) in iterate() 4581 for (deUint32 i = 0; i < numPixels; ++i) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiCommandBuffersTests.cpp | 4202 const auto numPixels = calcNumPixels(imageExtent); in ManyDrawsAllocatedData() local 4251 const auto colorCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(mapVkFormat(colorFormat))); in ManyDrawsAllocatedData() 4257 const auto stencilCheckBufferSize = static_cast<VkDeviceSize>(numPixels * tcu::getPixelSize(stencilFormat)); in ManyDrawsAllocatedData() 4359 const auto numPixels = ManyDrawsAllocatedData::calcNumPixels(m_params.imageExtent); in iterate() local 4374 colors.reserve(numPixels); in iterate() 4375 for (deUint32 i = 0; i < numPixels; ++i) in iterate() 4576 for (deUint32 i = 0; i < numPixels; ++i) in iterate() 4581 for (deUint32 i = 0; i < numPixels; ++i) in iterate()
|
/third_party/ffmpeg/libpostproc/ |
H A D | postprocess_template.c | 1387 static uint64_t numPixels=0; in dering() 1388 if(x!=1 && x!=8 && y!=1 && y!=8) numPixels++; in dering() 1416 worstDiff, (float)numSkipped/numPixels); in dering()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/ |
H A D | vktMeshShaderMiscTests.cpp | 5097 const auto numPixels = invocationCase / 2u; 5102 /*width*/ numPixels, 5105 /*numVertices*/ numPixels, 5106 /*numPrimitives*/ numPixels));
|
H A D | vktMeshShaderMiscTestsEXT.cpp | 5231 const auto numPixels = invocationCase / 2u; in createMeshShaderMiscTestsEXT() local 5236 /*width*/ numPixels, in createMeshShaderMiscTestsEXT() 5239 /*numVertices*/ numPixels, in createMeshShaderMiscTestsEXT() 5240 /*numPrimitives*/ numPixels)); in createMeshShaderMiscTestsEXT()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/ |
H A D | vktMeshShaderMiscTests.cpp | 5090 const auto numPixels = invocationCase / 2u; 5095 /*width*/ numPixels, 5098 /*numVertices*/ numPixels, 5099 /*numPrimitives*/ numPixels));
|