/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
D | WavePlotView.java | 271 double valueMax = 1.0; in onDraw() local 273 double valueRange = valueMax - valueMin; in onDraw() 349 float top = (float) ((valueMax - mValuesArray[i]) / valueRange) * h; in onDraw() 350 float bottom = (float) ((valueMax - mValuesArray2[i]) / valueRange) * h + 1; in onDraw() 356 float first = (float) ((valueMax - mValuesArray[i]) / valueRange) * h; in onDraw() 357 float second = (float) ((valueMax - mValuesArray[i + 1]) / valueRange) * h; in onDraw() 376 float top = iY + (float) ((valueMax - mInsetArray[i]) / valueRange) * iH; in onDraw() 378 (float) ((valueMax - mInsetArray2[i]) / valueRange) * iH + 1; in onDraw()
|
/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/ |
D | utils.cpp | 102 unsigned int height, cl_uchar valueMin, cl_uchar valueMax, in YUVGenerateNV12() argument 109 double max = static_cast<double>(valueMax); in YUVGenerateNV12() 148 unsigned int height, cl_uchar valueMin, cl_uchar valueMax, in YUVGenerateYV12() argument 155 double max = static_cast<double>(valueMax); in YUVGenerateYV12() 208 cl_uchar valueMax, double valueAdd /*= 0.0*/) in YUVGenerate() argument 213 YUVGenerateNV12(yuv, width, height, valueMin, valueMax, valueAdd); in YUVGenerate() 216 YUVGenerateYV12(yuv, width, height, valueMin, valueMax, valueAdd); in YUVGenerate() 590 double valueMax = static_cast<double>(cmax); in DataGenerate() local 591 double stepX = (valueMax - valueMin) / static_cast<double>(width); in DataGenerate() 592 double stepY = (valueMax - valueMin) / static_cast<double>(height); in DataGenerate() [all …]
|
D | utils.h | 111 unsigned int height, cl_uchar valueMin, cl_uchar valueMax, 114 unsigned int height, cl_uchar valueMin, cl_uchar valueMax, 118 cl_uchar valueMax, double valueAdd = 0.0);
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 672 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 673 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 731 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 732 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 772 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 773 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 812 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 813 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 870 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 871 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() [all …]
|
D | es3fFboMultisampleTests.cpp | 137 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render() 163 …flatShader.setColor(*getCurrentContext(), flatShaderID, Vec4(r,g,b,a) * (colorFmtInfo.valueMax-col… in render() 194 …rrentContext(), flatShaderID, Vec4(0.0f, 0.0f, c, 1.0f) * (colorFmtInfo.valueMax-colorFmtInfo.valu… in render() 218 …rrentContext(), flatShaderID, Vec4(0.0f, c, 0.0f, 1.0f) * (colorFmtInfo.valueMax-colorFmtInfo.valu… in render()
|
D | es3fFboColorbufferTests.cpp | 169 Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render() 230 …pes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt0), fmtInfo0.valueMax-fmtInfo0.valueMin… in render() 231 …pes() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt1), fmtInfo1.valueMax-fmtInfo1.valueMin… in render() 364 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render() 493 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render() 619 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render() 872 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render() 938 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render() 1000 const Vec4 color = randomVector<4>(rnd, fmtInfo.valueMin, fmtInfo.valueMax); in render()
|
D | es3fTextureFormatTests.cpp | 155 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init() 164 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init() 325 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init() 340 … case 0: gMin = spec.valueMin.swizzle(0, 1, 2, 3); gMax = spec.valueMax.swizzle(0, 1, 2, 3); break; in init() 341 … case 1: gMin = spec.valueMin.swizzle(2, 1, 0, 3); gMax = spec.valueMax.swizzle(2, 1, 0, 3); break; in init() 342 … case 2: gMin = spec.valueMin.swizzle(1, 2, 0, 3); gMax = spec.valueMax.swizzle(1, 2, 0, 3); break; in init() 343 … case 3: gMin = spec.valueMax.swizzle(0, 1, 2, 3); gMax = spec.valueMin.swizzle(0, 1, 2, 3); break; in init() 344 … case 4: gMin = spec.valueMax.swizzle(2, 1, 0, 3); gMax = spec.valueMin.swizzle(2, 1, 0, 3); break; in init() 345 … case 5: gMin = spec.valueMax.swizzle(1, 2, 0, 3); gMax = spec.valueMin.swizzle(1, 2, 0, 3); break; in init() 522 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init() [all …]
|
D | es3fFramebufferBlitTests.cpp | 356 …cIsGreater = tcu::greaterThan(srcFmtRangeInfo.valueMax-srcFmtRangeInfo.valueMin, dstFmtRangeInfo.… in render() 358 …tcu::select(dstFmtRangeInfo.valueMax, srcFmtRangeInfo.valueMax, tcu::logicalAnd(copyMask, srcIsG… in render() 362 …tcu::select(dstFmtRangeInfo.valueMax, srcFmtRangeInfo.valueMax, tcu::logicalOr(tcu::logicalNot(c… in render() 404 …gradientToDstShader.setGradient(*getCurrentContext(), gradShaderDstID, dstRangeInfo.valueMax, dstR… in render() 409 …r.setGradient(*getCurrentContext(), gradShaderSrcID, srcRangeInfo.valueMin, dstRangeInfo.valueMax); in render()
|
D | es3fFboInvalidateTests.cpp | 468 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render() 628 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render() 835 tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render() 993 …ader.setGradient(*getCurrentContext(), gradShaderID, colorFmtInfo.valueMin, colorFmtInfo.valueMax); in render() 1213 const tcu::Vec4 cScale = colorFmtInfo.valueMax-colorFmtInfo.valueMin; in render()
|
D | es3fTextureSwizzleTests.cpp | 134 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFormatTests.cpp | 120 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init() 127 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init() 269 << ",\n fill with " << formatGradient(&spec.valueMin, &spec.valueMax) << " gradient" in init() 284 … case 0: gMin = spec.valueMin.swizzle(0, 1, 2, 3); gMax = spec.valueMax.swizzle(0, 1, 2, 3); break; in init() 285 … case 1: gMin = spec.valueMin.swizzle(2, 1, 0, 3); gMax = spec.valueMax.swizzle(2, 1, 0, 3); break; in init() 286 … case 2: gMin = spec.valueMin.swizzle(1, 2, 0, 3); gMax = spec.valueMax.swizzle(1, 2, 0, 3); break; in init() 287 … case 3: gMin = spec.valueMax.swizzle(0, 1, 2, 3); gMax = spec.valueMin.swizzle(0, 1, 2, 3); break; in init() 288 … case 4: gMin = spec.valueMax.swizzle(2, 1, 0, 3); gMax = spec.valueMin.swizzle(2, 1, 0, 3); break; in init() 289 … case 5: gMin = spec.valueMax.swizzle(1, 2, 0, 3); gMax = spec.valueMin.swizzle(1, 2, 0, 3); break; in init()
|
D | es2fShaderTextureFunctionTests.cpp | 334 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture() 364 Vec4 cScale = fmtInfo.valueMax-fmtInfo.valueMin; in initTexture()
|
/external/deqp/modules/gles31/functional/ |
D | es31fDrawBuffersIndexedTests.cpp | 340 …const deInt32 red = deInt32(info.valueMin.x() + (info.valueMax.x() - info.valueMin.x()) * redScal… in clearRenderbuffer() 341 …const deInt32 green = deInt32(info.valueMin.y() + (info.valueMax.y() - info.valueMin.y()) * greenS… in clearRenderbuffer() 342 …const deInt32 blue = deInt32(info.valueMin.z() + (info.valueMax.z() - info.valueMin.z()) * blueSca… in clearRenderbuffer() 343 …const deInt32 alpha = deInt32(info.valueMin.w() + (info.valueMax.w() - info.valueMin.w()) * alphaS… in clearRenderbuffer() 353 const deUint32 red = deUint32(info.valueMax.x() * redScale); in clearRenderbuffer() 354 const deUint32 green = deUint32(info.valueMax.y() * greenScale); in clearRenderbuffer() 355 const deUint32 blue = deUint32(info.valueMax.z() * blueScale); in clearRenderbuffer() 356 const deUint32 alpha = deUint32(info.valueMax.w() * alphaScale); in clearRenderbuffer() 366 const float red = info.valueMin.x() + (info.valueMax.x() - info.valueMin.x()) * redScale; in clearRenderbuffer() 367 const float green = info.valueMin.y() + (info.valueMax.y() - info.valueMin.y()) * greenScale; in clearRenderbuffer() [all …]
|
D | es31fTextureFormatTests.cpp | 172 …::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); in init() 312 tcu::Vec4 colorA (spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); in init() 313 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); in init()
|
D | es31fTextureSpecificationTests.cpp | 344 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 345 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 384 Vec4 gMin = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 385 Vec4 gMax = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 446 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture() 541 …ize, m_depth, rowPitch, slicePitch, &data[0]), m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() 552 Vec4 cScale = m_texFormatInfo.valueMax-m_texFormatInfo.valueMin; in createTexture()
|
D | es31fFboColorbufferTests.cpp | 135 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render() 228 …Types() << glu::TYPE_SAMPLER_2D, getFragmentOutputType(texFmt), fmtInfo.valueMax-fmtInfo.valueMin,… in render()
|
D | es31fTextureBorderClampTests.cpp | 308 …tcu::fillWithComponentGradients(tcu::flipYAccess(stencilAccess), texFormatInfo.valueMax, texFormat… in genDummyTexture() 327 const tcu::Vec4 rampHigh = texFormatInfo.valueMax; in genDummyTexture() 400 …POINT: return rr::GenericVec4(texFormatInfo.valueMin + normalizedRange * texFormatInfo.valueMax); in mapToFormatColorUnits() 401 … return rr::GenericVec4(tcu::mix(texFormatInfo.valueMin, texFormatInfo.valueMax, normalizedRange)… in mapToFormatColorUnits() 402 … return rr::GenericVec4(tcu::mix(texFormatInfo.valueMin, texFormatInfo.valueMax, normalizedRange)… in mapToFormatColorUnits() 1942 const float maxChannelValue = (channelMask[0]) ? (texFormatInfo.valueMax[0]) in init() 1943 : (channelMask[1]) ? (texFormatInfo.valueMax[1]) in init() 1944 : (channelMask[2]) ? (texFormatInfo.valueMax[2]) in init() 1945 : (texFormatInfo.valueMax[3]); in init()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.hpp | 89 Vec4 valueMax; member 95 , valueMax (valueMax_) in TextureFormatInfo()
|
D | tcuTextureUtil.cpp | 1722 const float valueMax = 1.0f; in getTextureBorderColorFloat() local 1744 result[c] = de::clamp(sampler.borderColor.getAccess<float>()[(int)map], valueMin, valueMax); in getTextureBorderColorFloat() 1757 const IVec4 valueMax = getNBitSignedIntegerVec4MaxValue(channelBits); in getTextureBorderColorInt() local 1773 …:clamp(sampler.borderColor.getAccess<deInt32>()[(int)map], valueMin[(int)map], valueMax[(int)map]); in getTextureBorderColorInt() 1785 const UVec4 valueMax = getNBitUnsignedIntegerVec4MaxValue(channelBits); in getTextureBorderColorUint() local 1801 result[c] = de::min(sampler.borderColor.getAccess<deUint32>()[(int)map], valueMax[(int)map]); in getTextureBorderColorUint()
|
D | tcuRasterizationVerifier.cpp | 1862 …const tcu::Vec4 valueMax = de::clamp(range.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors… in verifyLineGroupPixelIndependentInterpolation() local 1867 …const tcu::Vec3 colorMaxF (de::clamp(valueMax.x() * (float)formatLimit.x(), 0.0f, (float)form… in verifyLineGroupPixelIndependentInterpolation() 1868 de::clamp(valueMax.y() * (float)formatLimit.y(), 0.0f, (float)formatLimit.y()), in verifyLineGroupPixelIndependentInterpolation() 1869 de::clamp(valueMax.z() * (float)formatLimit.z(), 0.0f, (float)formatLimit.z())); in verifyLineGroupPixelIndependentInterpolation() 1896 candidate.valueRangeMax = valueMax.swizzle(0, 1, 2); in verifyLineGroupPixelIndependentInterpolation() 2216 …const tcu::Vec4 valueMax = de::clamp(range.max.x(), 0.0f, 1.0f) * scene.lines[lineNdx].colors… in verifySinglesampleWideLineGroupInterpolation() local 2221 …const tcu::Vec3 colorMaxF (de::clamp(valueMax.x() * (float)formatLimit.x(), 0.0f, (float)form… in verifySinglesampleWideLineGroupInterpolation() 2222 de::clamp(valueMax.y() * (float)formatLimit.y(), 0.0f, (float)formatLimit.y()), in verifySinglesampleWideLineGroupInterpolation() 2223 de::clamp(valueMax.z() * (float)formatLimit.z(), 0.0f, (float)formatLimit.z())); in verifySinglesampleWideLineGroupInterpolation() 2251 interpolationCandidate.valueRangeMax = valueMax.swizzle(0, 1, 2); in verifySinglesampleWideLineGroupInterpolation()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.hpp | 388 LogGradientFmt (const tcu::Vec4* min_, const tcu::Vec4* max_) : valueMin(min_), valueMax(max_) {} in LogGradientFmt() 390 const tcu::Vec4* valueMax; member
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 213 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture2DFilteringTestInstance() 218 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DFilteringTestInstance() 429 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in TextureCubeFilteringTestInstance() 434 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in TextureCubeFilteringTestInstance() 672 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture2DArrayFilteringTestInstance() 677 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture2DArrayFilteringTestInstance() 890 cScale = fmtInfoStencil.valueMax - fmtInfoStencil.valueMin; in Texture3DFilteringTestInstance() 895 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in Texture3DFilteringTestInstance()
|
/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 486 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() 521 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() 561 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture() 626 Vec4 cScale = fmtInfo.valueMax - fmtInfo.valueMin; in initTexture()
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 204 fmtInfo.valueMax.swizzle(sw[0], sw[1], sw[2], sw[3])); in init()
|
/external/libxml2/include/libxml/ |
D | xpath.h | 386 int valueMax; /* max number of values stacked */ member
|