Home
last modified time | relevance | path

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

12345

/external/pdfium/core/src/fxcodec/jbig2/
DJBig2_GrrdProc.cpp49 line1 = GRREG->getPixel(1, h - 1); in decode_Template0_unopt()
50 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt()
52 line3 = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY - 1); in decode_Template0_unopt()
53 line3 |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY - 1) in decode_Template0_unopt()
55 line4 = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY); in decode_Template0_unopt()
56 line4 |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY) << 1; in decode_Template0_unopt()
57 line4 |= GRREFERENCE->getPixel(-GRREFERENCEDX - 1, h - GRREFERENCEDY) in decode_Template0_unopt()
59 line5 = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY + 1); in decode_Template0_unopt()
60 line5 |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY + 1) in decode_Template0_unopt()
62 line5 |= GRREFERENCE->getPixel(-GRREFERENCEDX - 1, h - GRREFERENCEDY + 1) in decode_Template0_unopt()
[all …]
DJBig2_GrdProc.cpp172 line1 = GBREG->getPixel(1, h - 2); in decode_Arith_Template0_unopt()
173 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template0_unopt()
174 line2 = GBREG->getPixel(2, h - 1); in decode_Arith_Template0_unopt()
175 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template0_unopt()
176 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template0_unopt()
179 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template0_unopt()
183 CONTEXT |= GBREG->getPixel(w + GBAT[0], h + GBAT[1]) << 4; in decode_Arith_Template0_unopt()
185 CONTEXT |= GBREG->getPixel(w + GBAT[2], h + GBAT[3]) << 10; in decode_Arith_Template0_unopt()
186 CONTEXT |= GBREG->getPixel(w + GBAT[4], h + GBAT[5]) << 11; in decode_Arith_Template0_unopt()
188 CONTEXT |= GBREG->getPixel(w + GBAT[6], h + GBAT[7]) << 15; in decode_Arith_Template0_unopt()
[all …]
DJBig2_GsidProc.cpp65 GSVALS.get()[y * GSW + x] |= GSPLANES.get(i)->getPixel(x, y) << i; in decode_Arith()
115 GSVALS.get()[y * GSW + x] |= GSPLANES.get()[J]->getPixel(x, y) << J; in decode_MMR()
DJBig2_Image.h31 FX_BOOL getPixel(int32_t x, int32_t y);
/external/deqp/framework/common/
DtcuSurface.hpp57 RGBA getPixel (int x, int y) const;
87 inline RGBA Surface::getPixel (int x, int y) const in getPixel() function in tcu::Surface
DtcuImageCompare.cpp506 const Vec4 refPix = reference.getPixel(x, y, z); in floatUlpThresholdCompare()
507 const Vec4 cmpPix = result.getPixel(x, y, z); in floatUlpThresholdCompare()
592 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare()
593 Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare()
678 const Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare()
/external/skia/src/core/
DSkLinearBitmapPipeline.cpp490 *px2 = getPixel(fSrc, bufferLoc[2]); in getFewPixels()
492 *px1 = getPixel(fSrc, bufferLoc[1]); in getFewPixels()
494 *px0 = getPixel(fSrc, bufferLoc[0]); in getFewPixels()
504 *px0 = getPixel(fSrc, bufferLoc[0]); in get4Pixels()
505 *px1 = getPixel(fSrc, bufferLoc[1]); in get4Pixels()
506 *px2 = getPixel(fSrc, bufferLoc[2]); in get4Pixels()
507 *px3 = getPixel(fSrc, bufferLoc[3]); in get4Pixels()
513 Sk4f getPixel(const uint32_t* src, int index) { in getPixel() function in __anon16939db40111::Passthrough8888
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient()
329 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient()
401 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad()
427 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad()
433 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()
Des3fColorClearTest.cpp254 RGBA refRGBA = refImage.getPixel(x, y); in iterate()
255 RGBA resRGBA = resImage.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()
603 tcu::RGBA color = renderedImg.getPixel(x, y); in iterate()
1180 const tcu::RGBA& clr = clearedImg.getPixel(x, y); in iterate()
1345 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate()
1504 if (renderedImg.getPixel(x, y).getGreen() > 0) in iterate()
Des3fTextureSwizzleTests.cpp70 tcu::RGBA p = surface.getPixel(x, y); in swizzle()
208 tcu::RGBA p = referenceFrame.getPixel(x, y); in iterate()
/external/deqp/modules/gles2/functional/
Des2fDitheringTests.cpp292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient()
329 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient()
403 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad()
429 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad()
435 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()
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()
1021 const tcu::RGBA& clr = clearedImg.getPixel(x, y); in iterate()
1189 sumRed += renderedImg.getPixel(x, y).getRed(); in iterate()
1351 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/glshared/
DglsVertexArrayTests.cpp1836 tcu::RGBA refPixel = ref.getPixel(x, y); in compare()
1837 tcu::RGBA screenPixel = screen.getPixel(x, y); in compare()
1849 …!tcu::compareThreshold(refPixel, ref.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(refP… in compare()
1850 …!tcu::compareThreshold(refPixel, ref.getPixel(x , y-1), threshold) && !tcu::compareThreshold(refP… in compare()
1851 …pareThreshold(screenPixel, screen.getPixel(x-1, y ), threshold) && !tcu::compareThreshold(screenP… in compare()
1852 …pareThreshold(screenPixel, screen.getPixel(x , y-1), threshold) && !tcu::compareThreshold(screenP… in compare()
1864 tcu::RGBA screenCmpPixel = screen.getPixel(x+dx, y+dy); in compare()
1875 tcu::RGBA refCmpPixel = ref.getPixel(x+dx, y+dy); in compare()
1888 ….setPixel(x, y, tcu::RGBA(screen.getPixel(x, y).getRed(), (screen.getPixel(x, y).getGreen() + 255)… in compare()
DglsTextureTestUtil.cpp980 dst.setPixel(src.getPixel((int)s, 0) * colorScale + colorBias, x, y); in fetchTexture()
1740 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1741 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
1845 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
1846 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2038 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
2039 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2212 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
2213 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff()
2379 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff()
[all …]
DglsTextureBufferCase.cpp200 …texelValue = tcu::Vec4(m_texture.getPixel(de::clamp<int>((deRoundFloatToInt32(position.x() * 4) + … in shadeVertices()
268 …const tcu::Vec4 texColor0 = m_texture.getPixel(de::clamp((position0.x() * position0.y()), 0, m_te… in shadeFragments()
269 …const tcu::Vec4 texColor1 = m_texture.getPixel(de::clamp((position1.x() * position1.y()), 0, m_te… in shadeFragments()
270 …const tcu::Vec4 texColor2 = m_texture.getPixel(de::clamp((position2.x() * position2.y()), 0, m_te… in shadeFragments()
271 …const tcu::Vec4 texColor3 = m_texture.getPixel(de::clamp((position3.x() * position3.y()), 0, m_te… in shadeFragments()
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp134 sum += src.raw().getPixel(s, x, y); in resolveMultisampleColorBuffer()
219 sum += access.raw().getPixel(s, x, y); in resolveMultisamplePixel()
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp393 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationValue()
558 const tcu::RGBA neighborColor = surface.getPixel(pos.x(), pos.y()); in hasNeighborWithColor()
584 const tcu::RGBA resPix = result.getPixel(x, y); in verifyHelperInvocationDerivate()
/external/skia/tests/
DBitmapCopyTest.cpp87 static uint32_t getPixel(int x, int y, const SkBitmap& bm) { in getPixel() function
167 uint32_t p1 = getPixel(coords[i]->fX, coords[i]->fY, bm1); in reportCopyVerification()
168 uint32_t p2 = getPixel(coords[i]->fX, coords[i]->fY, bm2); in reportCopyVerification()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp1181 …if (!tcu::boolAll(tcu::greaterThanEqual(alphaOneImage.getPixel(x, y), noAlphaOneImage.getPixel(x, … in verifyImage()
1184 …age << "Unsatisfied condition: " << alphaOneImage.getPixel(x, y) << " >= " << noAlphaOneImage.getP… in verifyImage()
1252 if (result.getPixel(x, y).x() > maxColorValue) in verifyImage()
1255 …message << "Pixel is not below the threshold value (" << result.getPixel(x, y).x() << " > " << max… in verifyImage()
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/ui/
DDrawUtils.java245 thumbnailData.transparentPixel = thumbnailData.getPixel(0, 0); in getThubmnail()
302 destData.setPixel(y, srcData.width - x - 1, srcData.getPixel(x, y)); in rotatePixelByPixel()
/external/deqp/modules/gles2/stress/
Des2sSpecialFloatTests.cpp187 const tcu::RGBA col = result.getPixel(x, y); in checkResultImage()
320 const tcu::RGBA col = resultImage.getPixel(x, y); in drawTestPattern()
1403 const tcu::Vec4 cNormal = normalImage.getAccess().getPixel(x, y); in testFBO()
1404 const tcu::Vec4 cSpecial = specialImage.getAccess().getPixel(x, y); in testFBO()
1624 const tcu::Vec4 cBefore = beforeImage.getAccess().getPixel(x, y); in testFBO()
1625 const tcu::Vec4 cAfter = afterImage.getAccess().getPixel(x, y); in testFBO()

12345