Home
last modified time | relevance | path

Searched refs:getPixel (Results 1 – 25 of 85) sorted by relevance

1234

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GeneralDecoder.cpp66 line1 = GBREG->getPixel(2, h - 2); in decode_Arith_Template0_opt()
67 line1 |= GBREG->getPixel(1, h - 2) << 1; in decode_Arith_Template0_opt()
68 line1 |= GBREG->getPixel(0, h - 2) << 2; in decode_Arith_Template0_opt()
69 line2 = GBREG->getPixel(3, h - 1); in decode_Arith_Template0_opt()
70 line2 |= GBREG->getPixel(2, h - 1) << 1; in decode_Arith_Template0_opt()
71 line2 |= GBREG->getPixel(1, h - 1) << 2; in decode_Arith_Template0_opt()
72 line2 |= GBREG->getPixel(0, h - 1) << 3; in decode_Arith_Template0_opt()
75 if(USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template0_opt()
86 line1 = ((line1 << 1) | GBREG->getPixel(w + 3, h - 2)) & 0x1f; in decode_Arith_Template0_opt()
87 line2 = ((line2 << 1) | GBREG->getPixel(w + 4, h - 1)) & 0x7f; in decode_Arith_Template0_opt()
[all …]
DJBig2_Image.cpp56 FX_BOOL CJBig2_Image::getPixel(FX_INT32 x, FX_INT32 y) in getPixel() function in CJBig2_Image
157 (getPixel(i + dx, j + dy) | pDst->getPixel(x + i, y + j)) & 1); in composeTo_unopt()
165 (getPixel(i + dx, j + dy) & pDst->getPixel(x + i, y + j)) & 1); in composeTo_unopt()
173 (getPixel(i + dx, j + dy) ^ pDst->getPixel(x + i, y + j)) & 1); in composeTo_unopt()
181 … (~(getPixel(i + dx, j + dy) ^ pDst->getPixel(x + i, y + j))) & 1); in composeTo_unopt()
188 pDst->setPixel(x + i, y + j, getPixel(i + dx, j + dy)); in composeTo_unopt()
703 pImage->setPixel(i, j, getPixel(x + i, y + j)); in subImage_unopt()
DJBig2_Image.h31 FX_BOOL getPixel(FX_INT32 x, FX_INT32 y);
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient()
328 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient()
395 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad()
421 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad()
427 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
Des2fPrerequisiteTests.cpp243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
Des2fDepthStencilClearTests.cpp437 float depth = rowAccess.getPixel(x, 0).x(); in renderReference()
439 tcu::RGBA oldColor = dst.getPixel(x, y); in renderReference()
487 tcu::RGBA oldColor = dst.getPixel(x, y); in renderReference()
Des2fMultisampleTests.cpp130 tcu::RGBA pixColor = img.getPixel(x, y); in isPixelRegionUnicolored()
154 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); in drawUnicolorTestErrors()
161 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
445 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate()
1009 const tcu::RGBA& clr = clearedImg.getPixel(x, y); in iterate()
1177 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate()
1339 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
Des2fColorClearTest.cpp254 RGBA refRGBA = refImage.getPixel(x, y); in iterate()
255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient()
328 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient()
395 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad()
421 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad()
427 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
Des3fPrerequisiteTests.cpp243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
Des3fDepthStencilClearTests.cpp440 float depth = rowAccess.getPixel(x, 0).x(); in renderReference()
442 tcu::RGBA oldColor = dst.getPixel(x, y); in renderReference()
490 tcu::RGBA oldColor = dst.getPixel(x, y); in renderReference()
Des3fColorClearTest.cpp254 RGBA refRGBA = refImage.getPixel(x, y); in iterate()
255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
Des3fTextureSwizzleTests.cpp70 tcu::RGBA p = surface.getPixel(x, y); in swizzle()
208 tcu::RGBA p = referenceFrame.getPixel(x, y); in iterate()
Des3fMultisampleTests.cpp132 tcu::RGBA pixColor = img.getPixel(x, y); in isPixelRegionUnicolored()
156 tcu::RGBA refColor = img.getPixel((xMin + xMax) / 2, (yMin + yMax) / 2); in drawUnicolorTestErrors()
163 if (!tcu::compareThreshold(img.getPixel(x, y), refColor, tcu::RGBA(3, 3, 3, 3))) in drawUnicolorTestErrors()
601 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate()
1156 const tcu::RGBA& clr = clearedImg.getPixel(x, y); in iterate()
1321 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate()
1480 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
/external/deqp/framework/common/
DtcuSurface.hpp57 RGBA getPixel (int x, int y) const;
90 inline RGBA Surface::getPixel (int x, int y) const in getPixel() function in tcu::Surface
DtcuImageCompare.cpp429 Vec4 refPix = reference.getPixel(x, y, z); in floatUlpThresholdCompare()
430 Vec4 cmpPix = result.getPixel(x, y, z); in floatUlpThresholdCompare()
522 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare()
523 Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare()
608 const Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare()
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp140 sum += src.raw().getPixel(s, x, y); in resolveMultisampleColorBuffer()
151 sum += access.raw().getPixel(s, x, y); in resolveMultisamplePixel()
/external/deqp/modules/glshared/
DglsVertexArrayTests.cpp1856 tcu::RGBA refPixel = ref.getPixel(x, y); in compare()
1857 tcu::RGBA screenPixel = screen.getPixel(x, y); in compare()
1862 …!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(refP… in compare()
1863 …!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(refP… in compare()
1864 …pareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(screenP… in compare()
1865 …pareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThreshold(screenP… in compare()
1877 tcu::RGBA screenCmpPixel = screen.getPixel(x+dx, y+dy); in compare()
1888 tcu::RGBA refCmpPixel = ref.getPixel(x+dx, y+dy); in compare()
1901 ….setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() + 255)… in compare()
DglsTextureTestUtil.cpp956 dst.setPixel(src.getPixel((int)s, 0) * colorScale + colorBias, x, y); in fetchTexture()
1723 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1724 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
1827 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1828 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2021 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
2022 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2194 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
2195 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2361 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
[all …]
DglsTextureBufferCase.cpp205 …texelValue = tcu::Vec4(m_texture.getPixel(de::clamp<int>((deRoundFloatToInt32(position.x() * 4) + … in shadeVertices()
275 …const tcu::Vec4 texColor0 = m_texture.getPixel(de::clamp((position0.x() * position0.y()), 0, m_te… in shadeFragments()
276 …const tcu::Vec4 texColor1 = m_texture.getPixel(de::clamp((position1.x() * position1.y()), 0, m_te… in shadeFragments()
277 …const tcu::Vec4 texColor2 = m_texture.getPixel(de::clamp((position2.x() * position2.y()), 0, m_te… in shadeFragments()
278 …const tcu::Vec4 texColor3 = m_texture.getPixel(de::clamp((position3.x() * position3.y()), 0, m_te… in shadeFragments()
/external/skia/tests/
DBitmapCopyTest.cpp86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { in getPixel() function
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification()
170 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification()
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
DAwContentsRenderTest.java53 return grabViewToBitmap().getPixel(0, 0); in sampleBackgroundColorOnUiThread()
/external/chromium_org/third_party/skia/tests/
DBitmapCopyTest.cpp86 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { in getPixel() function
169 (getPixel(coords[i]->fX, coords[i]->fY, bm1) == in reportCopyVerification()
170 getPixel(coords[i]->fX, coords[i]->fY, bm2)); in reportCopyVerification()
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp359 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationValue()
517 const tcu::RGBA neighborColor = surface.getPixel(pos.x(), pos.y()); in hasNeighborWithColor()
542 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationDerivate()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DContentViewReadbackTest.java111 color.set(bitmap.getPixel(bitmap.getWidth() / 2, bitmap.getHeight() / 2)); in testScreenshotIsNotBlank()

1234