/external/ImageMagick/MagickCore/ |
signature.c | 50 #include "MagickCore/pixel-accessor.h" 461 % SignatureImage() computes a message digest from an image pixel stream with 487 pixel; 513 sizeof(pixel)); 527 sizeof(pixel)); 549 pixel=QuantumScale*p[i]; 550 for (j=0; j < (ssize_t) sizeof(pixel); j++) 551 *q++=(unsigned char) ((unsigned char *) &pixel)[j]; 475 pixel; local
|
threshold.c | 72 #include "MagickCore/pixel-accessor.h" 73 #include "MagickCore/pixel-private.h" 159 % AdaptiveThresholdImage() selects an individual threshold for each pixel 377 % intensity of each pixel channel. The result is a high-contrast image. 460 pixel; 470 pixel=GetPixelIntensity(image,q); 478 pixel=(double) q[i]; 479 q[i]=(Quantum) (pixel <= threshold ? 0 : QuantumRange); 626 pixel; 636 pixel=GetPixelIntensity(image,q) 453 pixel; local 618 pixel; local 1865 pixel; local [all...] |
Android.mk | 104 pixel.c\
|
/prebuilts/go/darwin-x86/src/image/ |
ycbcr.go | 42 // pixel, but each Cb and Cr sample can span one or more pixels. 88 // the pixel at (x, y). 94 // to the pixel at (x, y).
|
/prebuilts/go/linux-x86/src/image/ |
ycbcr.go | 42 // pixel, but each Cb and Cr sample can span one or more pixels. 88 // the pixel at (x, y). 94 // to the pixel at (x, y).
|
/external/skia/tests/ |
ClearTest.cpp | 28 uint32_t pixel = pixels.get()[y * w + x]; local 29 if (pixel != expectedValue) { 30 *actualValue = pixel; 76 // A rectangle that is inset by one on all sides and the 1-pixel wide rectangles that surround 84 // A rectangle that is inset by two on all sides and the 1-pixel wide rectangles that surround
|
ReadPixelsTest.cpp | 104 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bmp.rowBytes() + x * bmp.bytesPerPixel()); local 105 *pixel = get_src_color(x, y); 140 SkPMColor* pixel = reinterpret_cast<SkPMColor*>(pixels + y * bitmap->rowBytes() + x * bitmap->bytesPerPixel()); local 141 *pixel = get_dst_bmp_init_color(x, y, w); 195 const uint32_t* pixel = bitmap.getAddr32(bx, by); local 201 SkPMColor pmPixel = convert_to_pmcolor(ct, at, pixel, &didPremul); 203 ERRORF(reporter, "Expected readback pixel value 0x%08x, got 0x%08x. " 210 if (origDstPixel != *pixel) { 212 "Expected 0x%08x, got 0x%08x", origDstPixel, *pixel); 468 // Create a black&white checked texture with 2 1-pixel ring [all...] |
/frameworks/support/graphics/drawable/animated/tests/src/android/support/graphics/drawable/tests/ |
AnimatedVectorDrawableTest.java | 221 * Utility method to verify that the pixel at the given location has only red values. 229 int pixel = bitmap.getPixel(pixelX, pixelY); 230 int blue = pixel & 0xff; 231 int green = pixel & 0xff00 >> 8;
|
/external/ImageMagick/coders/ |
bmp.c | 64 #include "MagickCore/pixel-accessor.h" 173 % pixel packets. 189 % o pixels: The address of a byte (8 bits) array of pixel data created by 355 % o pixels: The address of a byte (8 bits) array of pixel data created by 359 % pixel data. 659 " Bits per pixel: %.20g",(double) bmp_info.bits_per_pixel); 1173 pixel; local 1291 pixel; local [all...] |
jp2.c | 63 #include "MagickCore/pixel-accessor.h" 458 pixel, 462 pixel=scale*(jp2_image->comps[i].data[y/jp2_image->comps[i].dy* 469 SetPixelRed(image,ClampToQuantum(pixel),q); 470 SetPixelGreen(image,ClampToQuantum(pixel),q); 471 SetPixelBlue(image,ClampToQuantum(pixel),q); 479 SetPixelAlpha(image,ClampToQuantum(pixel),q); 482 SetPixelGreen(image,ClampToQuantum(pixel),q); 487 SetPixelBlue(image,ClampToQuantum(pixel),q); 492 SetPixelAlpha(image,ClampToQuantum(pixel),q) 453 pixel, local [all...] |
/external/deqp/framework/common/ |
tcuFuzzyImageCompare.cpp | 213 static deUint32 distSquaredToNeighbor (de::Random& rnd, deUint32 pixel, const ConstPixelBufferAccess& surface, int x, int y) 216 deUint32 minDist = colorDistSquared(pixel, readUnorm8<NumChannels>(surface, x, y)); 242 minDist = de::min(minDist, colorDistSquared(pixel, readUnorm8<NumChannels>(surface, dx, dy))); 255 minDist = de::min(minDist, colorDistSquared(pixel, sample));
|
/external/ImageMagick/www/api/ |
quantize.php | 61 <p>For purposes of color allocation, an image is a set of n pixels, where each pixel is a point in RGB space. RGB space is a 3-dimensional vector space, and each pixel, Pi, is defined by an ordered triple of red, green, and blue coordinates, (Ri, Gi, Bi).</p> 69 <p>The basic algorithm operates in three phases: Classification, Reduction, and Assignment. Classification builds a color description tree for the image. Reduction collapses the tree until the number it represents, at most, the number of colors desired in the output image. Assignment defines the output image's color map and sets each pixel's color by restorage_class in the reduced tree. Our goal is to minimize the numerical discrepancies between the original colors and quantized colors (quantization error).</p> 77 <p>For each pixel in the input image, storage_class scans downward from the root of the color description tree. At each level of the tree it identifies the single node which represents a cube in RGB space containing the pixel's color. It updates the following data for each such node:</p> 88 <p>E: the distance squared in RGB space between each pixel contained within a node and the nodes' center. This represents the quantization error for a node.</p> 101 <dd> For each node, n2 pixels exist for which that node represents the smallest volume in RGB space containing those pixel's colors. When n2 > 0 the node will uniquely define a color in the output image. At the beginning of reduction, n2 = 0 for all nodes except a the leaves of the tree which represent colors present in the input image. </dd> 103 <dd> The other pixel count, n1, indicates the total number of colors within the cubic volume which the node represents. This includes n1 - n2 pixels whose colors should be defined by nodes at a lower level in the tree. </dd> 108 <dd>(1) A color map, which is an array of color descriptions (RGB triples) for each color present in the output image; (2) A pixel array, which represents each pixel as an index into the color map array. </dd [all...] |
resize.php | 59 <p>AdaptiveResizeImage() adaptively resize image with pixel resampling.</p> 126 <dd>the pixel interpolation method. </dd> 180 <p>MagnifyImage() doubles the size of the image with a pixel art scaling algorithm.</p> 232 <p>ResampleImage() resize image in terms of its pixel size, so that when displayed at the given resolution it will be the same size in terms of real world units as the original image at the original resolution.</p> 315 <p>SampleImage() scales an image to the desired dimensions with pixel sampling. Unlike other scaling methods, this method does not introduce any additional color into the scaled image.</p>
|
/cts/tests/tests/assist/service/src/android/voiceinteraction/service/ |
MainInteractionSession.java | 172 for (int pixel : pixels) { 173 if (pixel == color) {
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PaintFlagsDrawFilterTest.java | 94 int pixel = bitmap.getPixel(x, y); local 95 if (pixel == Color.RED) { 103 // underline is at least one pixel high 162 // Assert that at least one pixel is neither black nor white. This is used to verify that 178 // Assert that every pixel is either black or white. Used to verify that no filtering was
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableTestUtils.java | 118 * to the nearest pixel). 120 * @param size the pixel size to scale 123 * @return the pixel size scaled for the target density 140 * @param pixelThreshold The total difference threshold for a single pixel 141 * @param pixelCountThreshold The total different pixel count threshold 142 * @param pixelDiffTolerance The pixel value difference tolerance 193 final int pixel = b.getPixel(x, y); local 195 return pixel;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/ |
TextureArrayTest.java | 97 int pixel = heightmap.getPixel((int) (i/100f * heightmap.getWidth()), (int)(j/100f * heightmap.getHeight())); local 98 tmpColor.set(pixel);
|
/external/mesa3d/docs/ |
MESA_copy_sub_buffer.spec | 70 corresponds to the lower-left pixel of the window, like glReadPixels.
|
/external/mesa3d/src/mesa/main/ |
texcompress_cpal.c | 71 GLuint index, GLubyte *pixel) 73 memcpy(pixel, palette + info->size * index, info->size);
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_flate.cpp | 532 FX_WORD pixel = (dest_buf[i] << 8) | dest_buf[i + 1]; local 533 pixel -= 535 dest_buf[i] = pixel >> 8; 536 dest_buf[i + 1] = (uint8_t)pixel; 588 FX_WORD pixel = local 590 pixel += (dest_buf[i] << 8) | dest_buf[i + 1]; 591 dest_buf[i] = pixel >> 8; 592 dest_buf[i + 1] = (uint8_t)pixel;
|
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OneDimReader.cpp | 163 FX_BOOL pixel = row->Get(x);
local 164 if (pixel ^ isWhite) {
|
BC_OnedCodaBarReader.cpp | 138 FX_BOOL pixel = row->Get(i);
local 139 if (pixel ^ isWhite) {
|
BC_OnedCode128Reader.cpp | 102 FX_BOOL pixel = row->Get(i);
local 103 if (pixel ^ isWhite) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMapView.java | 130 private int scalePixel(int pixel, int minPixel, int maxPixel, int centerDegree, int spanDegrees) { 131 int offsetPixels = pixel - minPixel;
|
/prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/ |
SDL_pixels.h | 25 * Header for the enumerated pixel format definitions. 49 /** Pixel type. */ 66 /** Bitmap pixel order, high bit -> low bit. */ 272 * \note Everything in the pixel format structure is read-only. 298 * \brief Get the human readable name of a pixel format 303 * \brief Convert one of the enumerated pixel formats to a bpp and RGBA masks. 317 * \brief Convert a bpp and RGBA masks to an enumerated pixel format. 319 * \return The pixel format, or ::SDL_PIXELFORMAT_UNKNOWN if the conversion 331 * \brief Create an SDL_PixelFormat structure from a pixel format enum. 353 * \brief Set the palette for a pixel format structure [all...] |