Home
last modified time | relevance | path

Searched refs:setPixel (Results 1 – 25 of 169) sorted by relevance

1234567

/external/pdfium/core/fxcodec/jbig2/
DJBig2_Image_unittest.cpp25 img.setPixel(0, 0, true); in TEST()
26 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false); in TEST()
43 img.setPixel(0, 0, true); in TEST()
44 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false); in TEST()
61 img.setPixel(0, 0, true); in TEST()
62 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false); in TEST()
73 img.setPixel(0, 0, true); in TEST()
74 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false); in TEST()
85 img.setPixel(0, 0, true); in TEST()
86 img.setPixel(kWidthPixels - 1, kHeightLines - 1, false); in TEST()
[all …]
DJBig2_HtrdProc.cpp30 HSKIP->setPixel(ng, mg, 1); in decode_Arith()
32 HSKIP->setPixel(ng, mg, 0); in decode_Arith()
/external/deqp/framework/common/
DtcuSurfaceAccess.hpp60 void setPixel (const tcu::Vec4& color, int x, int y) const;
71 inline void SurfaceAccess::setPixel (const tcu::Vec4& color, int x, int y) const in setPixel() function in tcu::SurfaceAccess
74 m_surface->setPixel(m_x+x, m_y+y, toRGBAMasked(color, m_colorMask)); in setPixel()
DtcuSurface.hpp56 void setPixel (int x, int y, RGBA col);
70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel() function in tcu::Surface
DtcuTextureUtil.cpp730 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
741 access.setPixel(color, x, y, z); in clear()
761 PixelBufferAccess(access.getFormat(), 1, 1, 1, 0, 0, &pixel.u8[0]).setPixel(color, 0, 0); in clear()
772 access.setPixel(color, x, y, z); in clear()
807 access.setPixel(tcu::Vec4(r, g, b, a), x, 0); in fillWithComponentGradients1D()
825 access.setPixel(tcu::Vec4(r, g, b, a), x, y); in fillWithComponentGradients2D()
847 dst.setPixel(tcu::Vec4(r, g, b, a), x, y, z); in fillWithComponentGradients3D()
886 access.setPixel(colorB, x, 0); in fillWithGrid1D()
888 access.setPixel(colorA, x, 0); in fillWithGrid1D()
902 access.setPixel(colorB, x, y); in fillWithGrid2D()
[all …]
DtcuImageCompare.cpp151 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels()
174 errorMask.setPixel(errorColor, x, y, z); in findNumPositionDeviationFailingPixels()
309 …diffMask.setPixel(tcu::RGBA(deClamp32(sum*diffFactor, 0, 255), deClamp32(255-sum*diffFactor, 0, 25… in computeSquaredDiffSum()
514 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatUlpThresholdCompare()
601 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatThresholdCompare()
685 errorMask.setPixel(isOk ? Vec4(0.0f, 1.0f, 0.0f, 1.0f) : Vec4(1.0f, 0.0f, 0.0f, 1.0f), x, y, z); in floatThresholdCompare()
770 errorMask.setPixel(isOk ? IVec4(0, 0xff, 0, 0xff) : IVec4(0xff, 0, 0, 0xff), x, y, z); in intThresholdCompare()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBitmapTest.java241 bitmap.setPixel(0, 0, 2); in shouldSetPixel()
250 bitmap.setPixel(0, 0, 2); in shouldSetPixel_allocateOnTheFly()
261 bmp.setPixel(x, y, packRGB(x, y, 0)); in testGetPixels()
280 bitmap.setPixel(0, 0, 2); in shouldThrowExceptionForSetPixelOnImmutableBitmap()
360 bitmap.setPixel(x0, y0, packRGB(r++, 0, 0)); in shouldGetPixelsFromSubsetOfBitmap()
447 bitmapOriginal.setPixel(0, 0, 123); in shouldCopyPixelsToBufferAndReconstruct()
448 bitmapOriginal.setPixel(1, 1, 456); in shouldCopyPixelsToBufferAndReconstruct()
449 bitmapOriginal.setPixel(2, 2, 789); in shouldCopyPixelsToBufferAndReconstruct()
460 bitmapReconstructed.setPixel(1,1, 999); in shouldCopyPixelsToBufferAndReconstruct()
461 bitmapReconstructed.setPixel(4,4, 999); in shouldCopyPixelsToBufferAndReconstruct()
/external/skia/src/codec/
DSkBmpRLECodec.cpp168 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() function in SkBmpRLECodec
440 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
444 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE()
452 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
515 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()
/external/skqp/src/codec/
DSkBmpRLECodec.cpp168 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() function in SkBmpRLECodec
440 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
444 setPixel(dst, dstRowBytes, dstInfo, in decodeRLE()
452 setPixel(dst, dstRowBytes, dstInfo, x++, in decodeRLE()
515 setPixel(dst, dstRowBytes, dstInfo, x, y, indices[which]); in decodeRLE()
/external/deqp/external/openglcts/modules/gl/
Dgl4cClipControlTests.cpp540 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
544 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer()
729 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer()
734 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
902 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
1091 referenceColorFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
1095 referenceColorFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer()
1323 referenceFrame.setPixel(x, y, tcu::RGBA::green()); in ValidateFramebuffer()
1327 referenceFrame.setPixel(x, y, tcu::RGBA::red()); in ValidateFramebuffer()
1333 referenceFrame.setPixel(x, y, tcu::RGBA::blue()); in ValidateFramebuffer()
/external/deqp/modules/gles2/functional/
Des2fShaderBuiltinVarTests.cpp343 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
435 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
551 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
657 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
661 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
665 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
669 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
Des2fDitheringTests.cpp294 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient()
303 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient()
406 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad()
415 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad()
Des2fDepthStencilClearTests.cpp415 rowAccess.setPixel(Vec4(1.0f), x, 0); in renderReference()
442 dst.setPixel(x, y, newColor); in renderReference()
459 rowAccess.setPixel(tcu::UVec4(0), x, 0); in renderReference()
490 dst.setPixel(x, y, newColor); in renderReference()
Des2fDepthRangeTests.cpp241 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
253 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
386 referenceFrame.setPixel(x, y, tcu::RGBA(col, col, col, 0xff)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassSparseRenderTargetTests.cpp506 reference.getAccess().setPixel(color, x, y); in iterateInternal()
522 reference.getAccess().setPixel(color, x, y); in iterateInternal()
541 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
543 reference.getAccess().setPixel(color, x, y); in iterateInternal()
564 reference.getAccess().setPixel(tcu::linearToSRGB(color), x, y); in iterateInternal()
566 reference.getAccess().setPixel(color, x, y); in iterateInternal()
/external/deqp/modules/egl/
DteglNativeCoordMappingTests.cpp279 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
283 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
289 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
293 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
301 errorMask.setPixel(x, y, tcu::RGBA(255, 0, 0, 255)); in validate()
305 errorMask.setPixel(x, y, tcu::RGBA(0, 255, 0, 255)); in validate()
/external/deqp/modules/gles3/functional/
Des3fDitheringTests.cpp294 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckGradient()
303 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckGradient()
404 errorMask.setPixel(x, y, tcu::RGBA::red()); in drawAndCheckUnicoloredQuad()
413 errorMask.setPixel(x, y, tcu::RGBA::green()); in drawAndCheckUnicoloredQuad()
Des3fDepthStencilClearTests.cpp418 rowAccess.setPixel(Vec4(1.0f), x, 0); in renderReference()
445 dst.setPixel(x, y, newColor); in renderReference()
462 rowAccess.setPixel(tcu::UVec4(0), x, 0); in renderReference()
493 dst.setPixel(x, y, newColor); in renderReference()
Des3fShaderBuiltinVarTests.cpp362 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
457 refImg.setPixel(x, y, tcu::RGBA(color)); in iterate()
576 refImg.setPixel(dx, dy, tcu::RGBA(color)); in iterate()
685 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
689 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
693 refImg.setPixel(x, y, tcu::RGBA::blue()); in iterate()
697 refImg.setPixel(x, y, tcu::RGBA::green()); in iterate()
Des3fFragDepthTests.cpp248 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
260 referenceFrame.setPixel(x, y, dpass ? tcu::RGBA::green() : tcu::RGBA::blue()); in iterate()
412 referenceFrame.setPixel(x, y, tcu::RGBA(col, col, col, 0xff)); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateGeneralTests.cpp127 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
224 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
360 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
362 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
DvktDynamicStateVPTests.cpp160 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in buildReferenceFrame()
207 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in buildReferenceFrame()
339 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
DvktDynamicStateRSTests.cpp441 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
443 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
537 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
539 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f), x, y); in iterate()
631 referenceFrame.getLevel(0).setPixel(tcu::Vec4(0.0f, 1.0f, 0.0f, 1.0f), x, y); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/conditional_rendering/
DvktConditionalDrawAndClearTests.cpp447 …reference.setPixel(tcu::Vec4(clearColor.float32[0], clearColor.float32[1], clearColor.float32[2], … in prepareReferenceImageOneColor()
454 reference.setPixel(tcu::Vec4(color), w, h); in prepareReferenceImageOneColor()
482 …(w >= (WIDTH / 2) && h >= (HEIGHT / 2)) reference.setPixel(tcu::Vec4(clearColorFinal.float32[0], c… in prepareReferenceImageColorClearPartial()
484 …reference.setPixel(tcu::Vec4(clearColorInitial.float32[0], clearColorInitial.float32[1], clearColo… in prepareReferenceImageColorClearPartial()
991 reference.setPixel(tcu::Vec4(clearColor.float32), w, h); in prepareReferenceImage()
997 if (h < step && isBitSet(resultBits, 0)) reference.setPixel(tcu::Vec4(0, 1, 0, 1), w, h); in prepareReferenceImage()
998 …if (h >= step && h < (step * 2) && isBitSet(resultBits, 1)) reference.setPixel(tcu::Vec4(0, 1, 0, … in prepareReferenceImage()
999 …if (h >= (step * 2) && h < (step * 3) && isBitSet(resultBits, 2)) reference.setPixel(tcu::Vec4(0, … in prepareReferenceImage()
1000 if (h >= (step * 3) && isBitSet(resultBits, 3)) reference.setPixel(tcu::Vec4(0, 1, 0, 1), w, h); in prepareReferenceImage()
/external/deqp/modules/gles31/functional/
Des31fShaderImageLoadStoreTests.cpp583 void setPixel (int x, int y, int z, const ColorT& color) const;
648 void LayeredImage::setPixel (int x, int y, int z, const ColorT& color) const in setPixel() function in deqp::gles31::Functional::__anon0a49b9df0111::LayeredImage
657 access.setPixel(color, x, y, m_type == TEXTURETYPE_CUBE ? 0 : z); in setPixel()
787 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
797 dst.setPixel(data[y*dst.getWidth() + x], x, y); in readPixelsRGBAInteger32()
1013 case TextureFormat::R: resultSliceAccess.setPixel(Vec4(clrData[0]), x, y); break; in readFloatOrNormTextureWithLookupsAndVerify()
1014 …case TextureFormat::RGBA: resultSliceAccess.setPixel(Vec4(clrData[0], clrData[1], clrData[2], clrD… in readFloatOrNormTextureWithLookupsAndVerify()
1257 reference.setPixel(x, y, z, color); in iterate()
1259 reference.setPixel(x, y, z, color.asFloat()*storeColorScale + storeColorBias); in iterate()
1391 reference.setPixel(x, y, z, color); in iterate()
[all …]

1234567