/external/pdfium/core/fxcodec/jbig2/ |
D | JBig2_GrrdProc.cpp | 53 lines[0] = GRREG->getPixel(1, h - 1); in decode_Template0_unopt() 54 lines[0] |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt() 56 lines[2] = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY - 1); in decode_Template0_unopt() 57 lines[2] |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY - 1) in decode_Template0_unopt() 59 lines[3] = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY); in decode_Template0_unopt() 60 lines[3] |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY) << 1; in decode_Template0_unopt() 61 lines[3] |= GRREFERENCE->getPixel(-GRREFERENCEDX - 1, h - GRREFERENCEDY) in decode_Template0_unopt() 63 lines[4] = GRREFERENCE->getPixel(-GRREFERENCEDX + 1, h - GRREFERENCEDY + 1); in decode_Template0_unopt() 64 lines[4] |= GRREFERENCE->getPixel(-GRREFERENCEDX, h - GRREFERENCEDY + 1) in decode_Template0_unopt() 66 lines[4] |= GRREFERENCE->getPixel(-GRREFERENCEDX - 1, h - GRREFERENCEDY + 1) in decode_Template0_unopt() [all …]
|
D | JBig2_Image_unittest.cpp | 29 EXPECT_TRUE(img.getPixel(0, 0)); in TEST() 30 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST() 47 EXPECT_TRUE(img.getPixel(0, 0)); in TEST() 48 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST() 66 EXPECT_TRUE(img.getPixel(0, 0)); in TEST() 67 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST() 68 EXPECT_TRUE(img.getPixel(kWidthPixels - 1, kLargerHeightLines - 1)); in TEST() 78 EXPECT_TRUE(img.getPixel(0, 0)); in TEST() 79 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST() 90 EXPECT_TRUE(img.getPixel(0, 0)); in TEST() [all …]
|
D | JBig2_GrdProc.cpp | 187 uint32_t line1 = GBREG->getPixel(1, h - 2); in decode_Arith_Template0_unopt() 188 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template0_unopt() 189 uint32_t line2 = GBREG->getPixel(2, h - 1); in decode_Arith_Template0_unopt() 190 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template0_unopt() 191 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template0_unopt() 195 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template0_unopt() 199 CONTEXT |= GBREG->getPixel(w + GBAT[0], h + GBAT[1]) << 4; in decode_Arith_Template0_unopt() 201 CONTEXT |= GBREG->getPixel(w + GBAT[2], h + GBAT[3]) << 10; in decode_Arith_Template0_unopt() 202 CONTEXT |= GBREG->getPixel(w + GBAT[4], h + GBAT[5]) << 11; in decode_Arith_Template0_unopt() 204 CONTEXT |= GBREG->getPixel(w + GBAT[6], h + GBAT[7]) << 15; in decode_Arith_Template0_unopt() [all …]
|
D | JBig2_Image.h | 37 int getPixel(int32_t x, int32_t y) const;
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
D | ShadowBitmapTest.java | 46 assertThat(bitmap.getPixel(0, 0)).isEqualTo(0); in shouldCreateActiveBitmap() 86 assertThat(bitmap.getPixel(0, 0)).isEqualTo(Color.parseColor("#ff0000")); in shouldCreateBitmapWithColors() 87 assertThat(bitmap.getPixel(0, 1)).isEqualTo(Color.parseColor("#990000")); in shouldCreateBitmapWithColors() 88 assertThat(bitmap.getPixel(1, 0)).isEqualTo(Color.parseColor("#00ff00")); in shouldCreateBitmapWithColors() 89 assertThat(bitmap.getPixel(1, 1)).isEqualTo(Color.parseColor("#009900")); in shouldCreateBitmapWithColors() 90 assertThat(bitmap.getPixel(2, 0)).isEqualTo(Color.parseColor("#0000ff")); in shouldCreateBitmapWithColors() 91 assertThat(bitmap.getPixel(2, 1)).isEqualTo(Color.parseColor("#000099")); in shouldCreateBitmapWithColors() 242 assertThat(bitmap.getPixel(0, 0)).isEqualTo(2); in shouldSetPixel() 251 assertThat(bitmap.getPixel(0, 0)).isEqualTo(2); in shouldSetPixel_allocateOnTheFly() 272 assertThat(bmp.getPixel(x, y)).isEqualTo(pixels[y * bmp.getWidth() + x]); in testGetPixels() [all …]
|
/external/deqp/framework/common/ |
D | tcuSurface.hpp | 57 RGBA getPixel (int x, int y) const; 87 inline RGBA Surface::getPixel (int x, int y) const in getPixel() function in tcu::Surface
|
D | tcuImageCompare.cpp | 507 const Vec4 refPix = reference.getPixel(x, y, z); in floatUlpThresholdCompare() 508 const Vec4 cmpPix = result.getPixel(x, y, z); in floatUlpThresholdCompare() 593 Vec4 refPix = reference.getPixel(x, y, z); in floatThresholdCompare() 594 Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare() 679 const Vec4 cmpPix = result.getPixel(x, y, z); in floatThresholdCompare()
|
/external/skqp/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 49 SkColor target = request->getPixel(x, y); in handle() 67 SkColor current = request->getPixel(x, y); in handle()
|
/external/skia/tools/skiaserve/urlhandlers/ |
D | BreakHandler.cpp | 49 SkColor target = request->getPixel(x, y); in handle() 67 SkColor current = request->getPixel(x, y); in handle()
|
/external/deqp/modules/gles2/functional/ |
D | es2fDitheringTests.cpp | 292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient() 330 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() 404 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad() 430 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad() 436 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
|
D | es2fPrerequisiteTests.cpp | 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
D | es2fMultisampleTests.cpp | 130 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()
|
D | es2fColorClearTest.cpp | 254 RGBA refRGBA = refImage.getPixel(x, y); in iterate() 255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
|
/external/deqp/modules/gles3/functional/ |
D | es3fDitheringTests.cpp | 292 if (!checkColor(inputClr, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckGradient() 330 const tcu::RGBA clr = renderedImg.getPixel(x, y); in drawAndCheckGradient() 402 if (!checkColor(quadColor, renderedImg.getPixel(x, y), colorChoicesOk)) in drawAndCheckUnicoloredQuad() 428 const tcu::RGBA renderedClr00 = renderedImg.getPixel(0, 0); in drawAndCheckUnicoloredQuad() 434 const tcu::RGBA curClr = renderedImg.getPixel(x, y); in drawAndCheckUnicoloredQuad()
|
D | es3fPrerequisiteTests.cpp | 243 RGBA resRGBA = resImage.getPixel(i, j); in iterate() 244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
|
D | es3fColorClearTest.cpp | 254 RGBA refRGBA = refImage.getPixel(x, y); in iterate() 255 RGBA resRGBA = resImage.getPixel(x, y); in iterate()
|
/external/deqp/modules/glshared/ |
D | glsVertexArrayTests.cpp | 1836 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()
|
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationWindingTests.cpp | 100 numWhitePixels += image.getPixel(x, y) == white ? 1 : 0; in verifyResultImage() 101 numRedPixels += image.getPixel(x, y) == red ? 1 : 0; in verifyResultImage() 143 if (image.getPixel(x, 0) == white) in verifyResultImage() 151 if (image.getPixel(x, image.getHeight()-1) == white) in verifyResultImage()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktSampleVerifier.cpp | 119 …const tcu::Vec4 refPix = (m_imParams.dim == IMG_DIM_1D) ? levelAccess.getPixel(coord[0], lay… in fetchTexelWrapped() 120 …rams.dim == IMG_DIM_2D || m_imParams.dim == IMG_DIM_CUBE) ? levelAccess.getPixel(coord[0], coord[1… in fetchTexelWrapped() 121 : levelAccess.getPixel(coord[0], coord[1], coord[2]); in fetchTexelWrapped() 198 …cornerTexels[ndx] += sRGBToLinear(m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx]… in fetchTexel() 202 …cornerTexels[ndx] += m_levels[level].getPixel(cornerCoords[ndx][0], cornerCoords[ndx][1], cornerLa… in fetchTexel()
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderWinding.cpp | 227 numWhitePixels += rendered.getPixel(x, y) == tcu::RGBA::white() ? 1 : 0; in iterate() 228 numRedPixels += rendered.getPixel(x, y) == tcu::RGBA::red() ? 1 : 0; in iterate()
|
/external/skqp/tools/skiaserve/ |
D | Request.h | 60 SkColor getPixel(int x, int y);
|
/external/skia/tools/skiaserve/ |
D | Request.h | 60 SkColor getPixel(int x, int y);
|
/external/deqp/framework/referencerenderer/ |
D | rrMultisamplePixelBufferAccess.cpp | 134 sum += src.raw().getPixel(s, x, y); in resolveMultisampleColorBuffer() 219 sum += access.raw().getPixel(s, x, y); in resolveMultisamplePixel()
|
/external/deqp/framework/opengl/ |
D | gluTextureTestUtil.cpp | 943 dst.setPixel(src.getPixel((int)s, 0) * colorScale + colorBias, x, y); in fetchTexture() 1274 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1275 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1381 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1382 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1588 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1589 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1762 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() 1763 …const tcu::Vec4 refPix = (reference.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colo… in computeTextureLookupDiff() 1929 …const tcu::Vec4 resPix = (result.getPixel(px, py) - sampleParams.colorBias) / sampleParams.colorS… in computeTextureLookupDiff() [all …]
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cES31CompatibilitySampleVariablesTests.cpp | 503 pixel = pixels.getPixel(x * samples + sample, y); in iterate() 780 tcu::Vec4 pixel = pixels.getPixel(sample, 0); in iterate() 799 uniquePixels.insert(pixels.getPixel(x * m_samples + sample, y)); in iterate() 824 tcu::Vec4 pixel = pixels.getPixel(x, y); in iterate()
|