/aosp_15_r20/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/util/ |
H A D | ImageSubject.java | 110 private static boolean areColorsAlmostIdentical(int colorA, int colorB) { in areColorsAlmostIdentical() argument 111 float a1 = ((colorA >> 24) & 0xff) / 255f; in areColorsAlmostIdentical() 112 float r1 = ((colorA >> 16) & 0xff) / 255f; in areColorsAlmostIdentical() 113 float g1 = ((colorA >> 4) & 0xff) / 255f; in areColorsAlmostIdentical() 114 float b1 = (colorA & 0xff) / 255f; in areColorsAlmostIdentical()
|
/aosp_15_r20/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSpecificationTests.cpp | 1040 …Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * (m_texFormatInfo.valueMax - m_texFormatInfo.valueMin)… in createTexture() local 1049 colorA, colorB); in createTexture() 1102 …Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * (m_texFormatInfo.valueMax - m_texFormatInfo.valueMi… in createTexture() local 1110 cellSize, colorA, colorB); in createTexture() 1156 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in createTexture() local 1161 4, colorA, colorB); in createTexture() 1219 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in createTexture() local 1225 4, colorA, colorB); in createTexture() 1314 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local 1319 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
H A D | es3fTextureShadowTests.cpp | 254 uint32_t colorA = 0xff000000 | rgb; in init() local 258 … tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(), in init() 540 uint32_t colorA = 0xff000000 | rgb; in init() local 545 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 849 uint32_t colorA = 0xff000000 | rgb; in init() local 854 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init()
|
H A D | es3fTextureFilteringTests.cpp | 227 uint32_t colorA = 0xff000000 | rgb; in init() local 232 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 545 uint32_t colorA = 0xff000000 | rgb; in init() local 550 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 881 const uint32_t colorA = 0xff000000 | rgb; in init() local 886 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init() 1148 uint32_t colorA = 0xff000000 | rgb; in init() local 1153 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init()
|
H A D | es3fVertexTextureTests.cpp | 767 const uint32_t colorA = 0xff000000 | rgb; in init() local 772 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init() 1097 const uint32_t colorA = 0xff000000 | rgb; in init() local 1102 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 1439 const uint32_t colorA = 0xff000000 | rgb; in init() local 1444 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init() 1770 const uint32_t colorA = 0xff000000 | rgb; in init() local 1775 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init()
|
/aosp_15_r20/external/deqp/framework/common/ |
H A D | tcuTextureUtil.cpp | 1155 static void fillWithGrid1D(const PixelBufferAccess &access, int cellSize, const Vec4 &colorA, const… in fillWithGrid1D() argument 1164 access.setPixel(colorA, x, 0); in fillWithGrid1D() 1168 static void fillWithGrid2D(const PixelBufferAccess &access, int cellSize, const Vec4 &colorA, const… in fillWithGrid2D() argument 1180 access.setPixel(colorA, x, y); in fillWithGrid2D() 1185 static void fillWithGrid3D(const PixelBufferAccess &access, int cellSize, const Vec4 &colorA, const… in fillWithGrid3D() argument 1200 access.setPixel(colorA, x, y, z); in fillWithGrid3D() 1206 void fillWithGrid(const PixelBufferAccess &access, int cellSize, const Vec4 &colorA, const Vec4 &co… in fillWithGrid() argument 1219 …thGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, colorB); in fillWithGrid() 1222 colorA.swizzle(3, 2, 1, 0), colorB.swizzle(3, 2, 1, 0)); in fillWithGrid() 1227 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid() [all …]
|
H A D | tcuTextureUtil.hpp | 124 void fillWithGrid(const PixelBufferAccess &access, int cellSize, const Vec4 &colorA, const Vec4 &co… 125 void fillWithRepeatableGradient(const PixelBufferAccess &access, const Vec4 &colorA, const Vec4 &co…
|
/aosp_15_r20/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/ |
H A D | esextcTextureShadowLodFunctionsTest.cpp | 496 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local 500 …llWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize >> level), colorA, in initTexture() 537 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local 542 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture() 579 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 588 tcu::fillWithGrid(access, de::max(1, baseCellSize >> level), colorA, colorB); in initTexture() 655 … Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 667 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 310 const uint32_t colorA = 0xff000000 | rgb; in Texture2DShadowTestInstance() local 313 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), in Texture2DShadowTestInstance() 570 const uint32_t colorA = 0xff000000 | rgb; in TextureCubeShadowTestInstance() local 573 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec() * cScale +… in TextureCubeShadowTestInstance() 820 const uint32_t colorA = 0xff000000 | rgb; in Texture2DArrayShadowTestInstance() local 823 …tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec() * c… in Texture2DArrayShadowTestInstance() 1057 const uint32_t colorA = 0xff000000 | rgb; in Texture1DShadowTestInstance() local 1060 tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), in Texture1DShadowTestInstance() 1291 const uint32_t colorA = 0xff000000 | rgb; in Texture1DArrayShadowTestInstance() local 1294 …tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec() * c… in Texture1DArrayShadowTestInstance() [all …]
|
H A D | vktTextureFilteringTests.cpp | 287 const uint32_t colorA = 0xff000000 | rgb; in Texture2DFilteringTestInstance() local 293 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in Texture2DFilteringTestInstance() 295 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec() * cScale + cB… in Texture2DFilteringTestInstance() 530 const uint32_t colorA = 0xff000000 | rgb; in TextureCubeFilteringTestInstance() local 533 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec() * cScale +… in TextureCubeFilteringTestInstance() 539 … 4, tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in TextureCubeFilteringTestInstance() 542 tcu::RGBA(colorA).toVec() * cScale + cBias, in TextureCubeFilteringTestInstance() 810 const uint32_t colorA = 0xff000000 | rgb; in Texture2DArrayFilteringTestInstance() local 816 4, tcu::RGBA(colorA).toVec() * cScale + cBias, in Texture2DArrayFilteringTestInstance() 820 tcu::RGBA(colorA).toVec() * cScale + cBias, in Texture2DArrayFilteringTestInstance() [all …]
|
/aosp_15_r20/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureSpecificationTests.cpp | 894 Vec4 colorA(1.0f, 0.0f, 0.0f, 1.0f); in createTexture() local 900 …llWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, in createTexture() 948 Vec4 colorA(1.0f, 0.0f, 0.0f, 1.0f); in createTexture() local 953 …llWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, in createTexture() 1021 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 1026 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1099 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 1104 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1517 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 1522 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
H A D | es2fShaderTextureFunctionTests.cpp | 363 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local 367 …llWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize >> level), colorA, in initTexture() 405 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 410 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
|
H A D | es2fTextureFilteringTests.cpp | 205 uint32_t colorA = 0xff000000 | rgb; in init() local 210 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 495 uint32_t colorA = 0xff000000 | rgb; in init() local 500 tcu::RGBA(colorA).toVec() * cScale + cBias, in init()
|
H A D | es2fVertexTextureTests.cpp | 616 const uint32_t colorA = 0xff000000 | rgb; in init() local 621 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init() 948 const uint32_t colorA = 0xff000000 | rgb; in init() local 953 tcu::RGBA(colorA).toVec() * cScale + cBias, in init()
|
/aosp_15_r20/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureSpecificationTests.cpp | 462 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in createTexture() local 468 4, colorA, colorB); in createTexture() 560 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f) * cScale + cBias; in createTexture() local 567 4, colorA, colorB); in createTexture() 696 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); in createTexture() local 701 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
|
H A D | es31fTextureFormatTests.cpp | 344 tcu::Vec4 colorA(spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); in init() local 360 … << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" << TestLog::EndMessage; in init() 365 tcu::fillWithComponentGradients(m_texture->getFullRefTexture(), colorA, colorB); in init()
|
H A D | es31fTextureFilteringTests.cpp | 257 const uint32_t colorA = 0xff000000 | rgb; in init() local 262 … tcu::RGBA(colorA).toVec() * cScale + cBias, tcu::RGBA(colorB).toVec() * cScale + cBias); in init()
|
/aosp_15_r20/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
H A D | RuntimeShaderTests.kt | 454 val colorA = Color.valueOf(0.75f, 0.25f, 0.0f, 1.0f) in <lambda>() constant 457 shader.setColorUniform("inputColorA", colorA) in <lambda>() 461 val linearColorA = colorA.convert(linearExtendedSRGB) in <lambda>()
|
/aosp_15_r20/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 175 uint32_t colorA = 0xff000000 | rgb; in init() local 180 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 466 uint32_t colorA = 0xff000000 | rgb; in init() local 471 tcu::RGBA(colorA).toVec() * cScale + cBias, in init()
|
/aosp_15_r20/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 166 uint32_t colorA = 0xff000000 | rgb; in init() local 171 tcu::RGBA(colorA).toVec() * cScale + cBias, in init() 456 uint32_t colorA = 0xff000000 | rgb; in init() local 461 tcu::RGBA(colorA).toVec() * cScale + cBias, in init()
|
/aosp_15_r20/external/angle/src/tests/gl_tests/ |
H A D | BindUniformLocationTest.cpp | 237 static const float colorA[] = { in TEST_P() local 251 glUniform2fv(colorALocation, 4, colorA); in TEST_P()
|
/aosp_15_r20/frameworks/av/media/libstagefright/renderfright/tests/ |
H A D | RenderEngineTest.cpp | 140 auto colorCompare = [tolerance](const uint8_t* colorA, const uint8_t* colorB) { in expectBufferColor() argument 145 return std::equal(colorA, colorA + 4, colorB, colorBitCompare); in expectBufferColor() 185 auto colorCompare = [](const uint8_t* colorA, const uint8_t* colorB) { in expectAlpha() argument 186 return colorA[3] == colorB[3]; in expectAlpha()
|
/aosp_15_r20/frameworks/base/libs/hwui/jni/ |
H A D | android_graphics_Canvas.cpp | 435 AutoJavaIntArray colorA(env, jcolors, colorIndex + vertexCount); in drawVertices() local 444 colors = colorA.ptr() + colorIndex; in drawVertices() 614 AutoJavaIntArray colorA(env, jcolors, colorIndex + ptCount); in drawBitmapMesh() local 620 colorA.ptr() + colorIndex, paint); in drawBitmapMesh()
|
/aosp_15_r20/external/deqp/modules/gles31/stress/ |
H A D | es31sVertexAttributeBindingTests.cpp | 454 const tcu::Vec4 colorA(0.0f, 1.0f, 0.0f, 1.0f); in createBuffers() local 460 const tcu::Vec4 &color = ((x + y) % 2 == 0) ? (colorA) : (colorB); in createBuffers()
|
/aosp_15_r20/external/deqp/external/vulkancts/modules/vulkan/image/ |
H A D | vktImageDepthStencilDescriptorTests.cpp | 403 float colorA; member 406 PushConstantData() : colorR(0.0f), colorG(0.0f), colorB(0.0f), colorA(0.0f), depth(0.0f) in PushConstantData() 414 , colorA(color.w()) in PushConstantData()
|