Home
last modified time | relevance | path

Searched refs:pixelColor (Results 1 – 12 of 12) sorted by relevance

/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/src/
Dcolor-handler.js32 var pixelColor = context.getImageData(0, 0, 1, 1).data;
34 var alpha = pixelColor[3] / 255;
35 return [pixelColor[0] * alpha, pixelColor[1] * alpha, pixelColor[2] * alpha, alpha];
/external/robolectric/integration_tests/nativegraphics/src/test/java/org/robolectric/integrationtests/nativegraphics/testing/bitmapverifiers/
DBlurPixelVerifier.java68 int pixelColor = bitmap[indexFromXAndY(x, y, stride, offset)]; in verify() local
69 double pixelRedChannel = Color.red(pixelColor); in verify()
70 double pixelGreenChannel = Color.green(pixelColor); in verify()
71 double pixelBlueChannel = Color.blue(pixelColor); in verify()
/external/ImageMagick/Magick++/tests/
Dattributes.cpp1061 if ( image.pixelColor(40,60) != string(canvasColor) ) in main()
1065 << string(image.pixelColor(40,60)) in main()
1072 image.pixelColor(40,60, ColorRGB(0.5,1,1)); in main()
1073 if ( image.pixelColor(40,60) != ColorRGB(0.5,1,1) ) in main()
/external/angle/src/tests/gl_tests/
DFramebufferMultiviewTest.cpp377 GLColor pixelColor; in TEST_P() local
378 glReadPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, &pixelColor.R); in TEST_P()
380 EXPECT_COLOR_NEAR(GLColor::green, pixelColor, 2); in TEST_P()
DImageTest.cpp3111 GLubyte pixelColor[4] = {255, 159, 211, 255}; in TEST_P()
3112 verifyResultsExternal(target, pixelColor); in TEST_P()
3195 GLubyte pixelColor[4] = {197, 128, 192, 255}; in TEST_P()
3196 verifyResultsExternalYUV(target, pixelColor); in TEST_P()
/external/ImageMagick/Magick++/lib/Magick++/
DImage.h1161 void pixelColor(const ::ssize_t x_,const ::ssize_t y_,const Color &color_);
1162 Color pixelColor(const ::ssize_t x_,const ::ssize_t y_ ) const;
/external/ImageMagick/Magick++/lib/
DImage.cpp3003 target=static_cast<PixelInfo>(pixelColor(x_,y_)); in floodFillAlpha()
3045 pixel=static_cast<PixelInfo>(pixelColor(x_,y_)); in floodFillColor()
3083 pixel=static_cast<PixelInfo>(pixelColor(x_,y_)); in floodFillTexture()
3864 void Magick::Image::pixelColor(const ssize_t x_,const ssize_t y_, in pixelColor() function in Magick::Image
3893 Magick::Color Magick::Image::pixelColor(const ssize_t x_, in pixelColor() function in Magick::Image
DSTL.cpp1457 image_.pixelColor( _x, _y, _color ); in operator ()()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp2115 float pixelColor = image.getPixel((deUint32)x, image.getHeight() / 2).x(); in verifyPoint() local
2117 if (pixelColor == expectedPointColor) in verifyPoint()
2120 if ((pixelColor != expectedPointColor) && (pixelColor != expectedBackgroundColor)) in verifyPoint()
2127 float pixelColor = image.getPixel((deUint32)y, image.getWidth() / 2).x(); in verifyPoint() local
2129 if (pixelColor == expectedPointColor) in verifyPoint()
2132 if ((pixelColor != expectedPointColor) && (pixelColor != expectedBackgroundColor)) in verifyPoint()
/external/ImageMagick/Magick++/
DNEWS317 * Set/get color alpha in Magick::Image::pixelColor() for DirectClass images.
DChangeLog582 * lib/Image.cpp (pixelColor): Implementation didn't handle pixels
616 * lib/Image.cpp (pixelColor): Reimplemented to be a const method.
1311 (pixelColor): Adapted to 5.0.
/external/angle/src/libANGLE/renderer/vulkan/
Dvk_helpers.cpp5257 uint16_t pixelColor = in fillWithColor() local
5260 std::fill_n<uint16_t *, uint32_t, uint16_t>(pixelPtr, count, pixelColor); in fillWithColor()
5265 uint32_t pixelColor = in fillWithColor() local
5268 std::fill_n<uint32_t *, uint32_t, uint32_t>(pixelPtr, count, pixelColor); in fillWithColor()
5273 uint16_t pixelColor = in fillWithColor() local
5276 std::fill_n<uint16_t *, uint32_t, uint16_t>(pixelPtr, count, pixelColor); in fillWithColor()
5281 uint32_t pixelColor = in fillWithColor() local
5284 std::fill_n<uint32_t *, uint32_t, uint32_t>(pixelPtr, count, pixelColor); in fillWithColor()