/external/OpenCL-CTS/test_conformance/gles/ |
D | helpers.cpp | 138 cl_##type *dst = new cl_##type[ numPixels * 4 ]; \ 139 for( size_t i = 0; i < numPixels * 4; i++ ) \ 147 cl_##type *dst = new cl_##type[ numPixels * 4 ]; \ 148 for( size_t i = 0; i < numPixels * 4; i++ ) \ 153 char * convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, ExplicitType… in convert_to_expected() argument 162 …char *outData = new char[ numPixels * 4 * get_explicit_type_size(outType) ] ; // sizeof( cl_int ) … in convert_to_expected() 163 memcpy( outData, inputBuffer, numPixels * 4 * get_explicit_type_size(inType) ); in convert_to_expected() 174 cl_int *outData = new cl_int[ numPixels * 4 ]; in convert_to_expected() 175 for( size_t i = 0; i < numPixels * 4; i++ ) in convert_to_expected() 184 cl_float *outData = new cl_float[ numPixels * 4 ]; in convert_to_expected() [all …]
|
D | testBase.h | 57 extern char * convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, Expli…
|
/external/OpenCL-CTS/test_conformance/gl/ |
D | helpers.cpp | 157 cl_##type *dst = new cl_##type[ numPixels * 4 ]; \ 158 for( size_t i = 0; i < numPixels * 4; i++ ) \ 166 cl_##type *dst = new cl_##type[ numPixels * 4 ]; \ 167 for( size_t i = 0; i < numPixels * 4; i++ ) \ 172 char * convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, ExplicitType… in convert_to_expected() argument 181 …char *outData = new char[ numPixels * channelNum * get_explicit_type_size(outType) ] ; // sizeof( … in convert_to_expected() 183 for (size_t i = 0; i < numPixels; ++i) { in convert_to_expected() 188 … memcpy( outData, inputBuffer, numPixels * channelNum * get_explicit_type_size(inType) ); in convert_to_expected() 200 cl_int *outData = new cl_int[ numPixels * channelNum ]; in convert_to_expected() 201 for( size_t i = 0; i < numPixels * channelNum; i++ ) in convert_to_expected() [all …]
|
D | testBase.h | 49 extern char * convert_to_expected( void * inputBuffer, size_t numPixels, ExplicitType inType, Expli…
|
/external/mesa3d/src/mesa/swrast/ |
D | s_linetemp.h | 76 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/ |
D | SkBmpRLECodec.cpp | 411 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 …]
|
/external/skqp/src/codec/ |
D | SkBmpRLECodec.cpp | 408 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/angle/src/libANGLE/renderer/d3d/d3d9/ |
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()
|
/external/deqp/modules/internal/ |
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_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 …]
|
/external/deqp/modules/glshared/ |
D | glsShaderPerformanceMeasurer.cpp | 305 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/angle/src/libANGLE/renderer/d3d/d3d11/ |
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()
|
D | PixelTransfer11.cpp | 227 UINT numPixels = (destArea.width * destArea.height * destArea.depth); in copyBufferToTexture() local 228 deviceContext->Draw(numPixels, 0); in copyBufferToTexture()
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCPathCache.h | 313 void addPathPixels(int numPixels) { fNumPathPixels += numPixels; } in addPathPixels() argument 314 ReleaseAtlasResult invalidatePathPixels(GrCCPathCache*, int numPixels);
|
D | GrCoverageCountingPathRenderer.cpp | 81 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()
|
D | GrCCPathCache.cpp | 411 GrCCPathCache* pathCache, int numPixels) { in invalidatePathPixels() argument 413 fNumInvalidatedPathPixels += numPixels; in invalidatePathPixels()
|
/external/deqp/modules/gles2/performance/ |
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()
|
/external/deqp/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 253 int numPixels = 0; in countPixels() local 262 ++numPixels; in countPixels() 265 return numPixels; in countPixels() 609 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClamp() local 611 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClamp() 701 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip() local 703 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip() 731 …const int numPixels = countPixels(drawContext.getColorPixels(), cases[caseNdx].regionOffset, regio… in testPrimitivesDepthClip() local 733 if (numPixels >= caseMinPixels[caseNdx]) in testPrimitivesDepthClip()
|
/external/deqp/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; in iterate() local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
|
/external/deqp/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 108 const int numPixels = targetWidth * targetHeight; in iterate() local 111 vector<deUint8> pixelKnownChannelMask (numPixels, 0); in iterate()
|
D | es2fMultisampleTests.cpp | 1136 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/image/ |
D | vktImageSubresourceLayoutTests.cpp | 512 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()
|
/external/OpenCL-CTS/test_common/harness/ |
D | imageHelpers.cpp | 3164 size_t allocSize, numPixels; in create_random_image_data() local 3170 numPixels = allocSize / (get_explicit_type_size(dataType) * 4); in create_random_image_data() 3174 numPixels = (image2DFromBuffer ? imageInfo->rowPitch : imageInfo->width) in create_random_image_data() 3177 allocSize = numPixels * 4 * get_explicit_type_size(dataType); in create_random_image_data() 3184 fprintf(stderr,"numPixels = %zu\n",numPixels); in create_random_image_data() 3252 for (; i < numPixels * 4; i++) in create_random_image_data() 3260 if (numPixels * 4 >= 8) in create_random_image_data() 3271 for (; i < numPixels * 4; i++) in create_random_image_data() 3283 for (; i < numPixels * 4; i++) p[i] = genrand_int32(d); in create_random_image_data() 3289 if (numPixels * 4 >= 36) in create_random_image_data() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fMultisampleTests.cpp | 587 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/OpenCL-CTS/test_conformance/spir/ |
D | datagen.h | 309 …size_t numPixels = m_desc.image_width * m_desc.image_height * m_desc.image_depth * m_desc.image_ar… 311 size_t allocSize = numPixels * alignment ;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
D | vktApiCommandBuffersTests.cpp | 4275 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()
|