/external/ImageMagick/coders/ |
pnm.c | 62 #include "MagickCore/pixel-accessor.h" 441 Convert PBM image to pixel packets. 484 Convert PGM image to pixel packets. 525 Convert PNM image to pixel packets. 541 pixel; 543 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); 546 SetPixelRed(image,pixel,q); 547 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value); 548 SetPixelGreen(image,pixel,q); 549 pixel=ScaleAnyToQuantum(PNMInteger(image,10,exception),max_value) 537 pixel; local 709 pixel; local 714 pixel; local 727 pixel; local 830 pixel; local 848 pixel; local 866 pixel; local 871 pixel; local 889 pixel; local 1031 pixel; local 1036 pixel; local 1061 pixel; local 1098 pixel; local 1103 pixel; local 1132 pixel; local 1181 pixel; local 1186 pixel; local 1212 pixel; local 1535 pixel; local [all...] |
debug.c | 13 % Image Pixel Values for Debugging. % 65 #include "MagickCore/pixel-accessor.h" 108 entry=AcquireMagickInfo("DEBUG","DEBUG","Image pixel values for debugging"); 153 % WriteDEBUGImage writes the image pixel values with 20 places of precision. 187 pixel; 217 "# ImageMagick pixel debugging: %.20g,%.20g,%.20g,%s\n",(double) 221 GetPixelInfo(image,&pixel); 232 GetPixelInfoPixel(image,p,&pixel); 234 (double) pixel.red,(double) pixel.green,(double) pixel.blue) 182 pixel; local [all...] |
xc.c | 57 #include "MagickCore/pixel.h" 58 #include "MagickCore/pixel-accessor.h" 103 pixel; 134 pixel=image->background_color; 138 &pixel,exception); 145 (void) SetImageColorspace(image,pixel.colorspace,exception); 146 image->alpha_trait=pixel.alpha_trait; 154 SetPixelViaPixelInfo(image,&pixel,q); 101 pixel; local
|
/external/opencv3/3rdparty/openexr/IlmImf/ |
ImfLut.cpp | 40 // of half --> half functions to pixel data, 80 char *pixel = base + data.xStride * local 87 *(half *)pixel = _lut (*(half *)pixel); 88 pixel += data.xStride; 128 Rgba *pixel = base + dataWindow.min.x * xStride; local 133 pixel->r = _lut (pixel->r); 136 pixel->g = _lut (pixel->g) [all...] |
ImfPxr24Compressor.cpp | 42 // The compressor preprocesses the pixel data to reduce entropy, 50 // the pixel data so that the values for each channel appear in a 51 // contiguous block of memory. The compressor converts the pixel 325 unsigned int pixel; local 326 char *pPtr = (char *) &pixel; 328 for (int k = 0; k < sizeof (pixel); ++k) 331 unsigned int diff = pixel - previousPixel; 332 previousPixel = pixel; 350 half pixel; local 352 pixel = *(const half *) inPtr 373 float pixel; local 456 unsigned int pixel = 0; local [all...] |
ImfPreviewImage.h | 44 // struct PreviewRgba -- holds the value of a PreviewImage pixel. 54 unsigned char g; // the pixel's color; intensity is 58 unsigned char a; // The pixel's alpha; 0 == transparent, 77 // whose initial values are specified in pixel array p. The x and y 79 // The pixel with coordinates (x, y) is at address p + y*w + x. 80 // Pixel (0, 0) is in the upper left corner of the preview image. 101 // Access to width, height and to the pixel array 115 PreviewRgba & pixel (unsigned int x, unsigned int y) function in class:Imf::PreviewImage 118 const PreviewRgba & pixel (unsigned int x, unsigned int y) const function in class:Imf::PreviewImage
|
/external/opencv3/modules/imgproc/test/ |
test_watershed.cpp | 101 int& pixel = line[i]; local 103 if (pixel == -1) // border 106 if (pixel <= 0 || pixel > compNum) 111 pixel = colors[pixel];
|
/external/libgdx/backends/gdx-backend-lwjgl/src/com/badlogic/gdx/backends/lwjgl/ |
LwjglCursor.java | 57 int pixel; local 61 pixel = pixelsRGBA[x + (y * pixmap.getWidth())]; 62 pixelsARGBflipped[x + ((pixmap.getHeight() - 1 - y) * pixmap.getWidth())] = ((pixel >> 8) & 0x00FFFFFF) 63 | ((pixel << 24) & 0xFF000000); 69 pixel = pixelsRGBA[x + (y * pixmap.getWidth())]; 70 pixelsARGBflipped[x + ((pixmap.getHeight() - 1 - y) * pixmap.getWidth())] = ((pixel & 0xFF) << 16) 71 | ((pixel & 0xFF0000) >> 16) | (pixel & 0xFF00FF00);
|
/system/core/libpixelflinger/ |
buffer.cpp | 27 uint32_t x, uint32_t y, pixel_t* pixel); 29 uint32_t x, uint32_t y, const pixel_t* pixel); 31 uint32_t x, uint32_t y, pixel_t* pixel); 33 uint32_t x, uint32_t y, pixel_t* pixel); 112 uint32_t x, uint32_t y, pixel_t* pixel) 127 pixel->s[i] = f->c[i].h - f->c[i].l; 128 if (pixel->s[i]) 129 pixel->c[i] = extract(v, f->c[i].h, f->c[i].l, f->size*8); 134 uint32_t x, uint32_t y, pixel_t* pixel) 137 pixel->c[0] = 0 [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
ImageCompare.java | 30 private static double luma(int pixel) { 31 final int R = Color.red(pixel); 32 final int G = Color.green(pixel); 33 final int B = Color.blue(pixel);
|
/external/ImageMagick/PerlMagick/demo/ |
Makefile | 10 perl pixel-fx.pl 17 compose-specials.jpg single-pixels.gif pixel-fx.gif
|
/external/freetype/src/cache/ |
ftcmanag.h | 158 ((a)->pixel != 0) == ((b)->pixel != 0) && \ 159 ( (a)->pixel || \ 166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/cache/ |
ftcmanag.h | 158 ((a)->pixel != 0) == ((b)->pixel != 0) && \ 159 ( (a)->pixel || \ 166 ( (q)->pixel ? 0 : ( (q)->x_res*33 ^ (q)->y_res*61 ) ) )
|
/hardware/bsp/intel/peripheral/libupm/src/lol/ |
lol.h | 77 * Gets a pixel at specified coordinates 80 * @return 1 if the pixel is on, 0 if off, -1 on error 85 * Sets a pixel at specified coordinates 88 * @param pixel 0 is off, 1 is on 91 unsigned char setPixel(int x, int y, unsigned char pixel);
|
/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/util/ |
ValPixConverterTest.java | 64 // (remember that 0,0 is the top left pixel)
104 float pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
local 105 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
108 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
109 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
114 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
115 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
119 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true);
120 assertEquals(value, ValPixConverter.pixToVal(pixel, min, max, sizeInPix, true));
124 pixel = ValPixConverter.valToPix(value, min, max, sizeInPix, true); [all...] |
/external/ImageMagick/MagickCore/ |
composite.c | 70 #include "MagickCore/pixel-accessor.h" 784 pixel; 869 /* do the variable blurring of each pixel in image */ 870 GetPixelInfo(image,&pixel); 927 (double) y_offset+y,&pixel,exception); 928 SetPixelViaPixelInfo(canvas_image,&pixel,q); 954 pixel; 782 pixel; local 925 (double) y_offset+y,&pixel,exception); local 952 pixel; local 1329 pixel; local 1504 pixel, local [all...] |
color.c | 63 #include "MagickCore/pixel-accessor.h" 1689 pixel; local 1757 pixel; local 1866 pixel; local 2258 pixel; local 2582 pixel; variable [all...] |
quantize.c | 36 % Realism in computer graphics typically requires using 24 bits/pixel to 41 % bits per pixel. In most instances, the quantized image closely 51 % each pixel is a point in RGB space. RGB space is a 3-dimensional 52 % vector space, and each pixel, Pi, is defined by an ordered triple of 77 % Assignment defines the output image's color map and sets each pixel's 98 % For each pixel in the input image, storage_class scans downward from 101 % containing the pixel's color. It updates the following data for each 116 % E: the distance squared in RGB space between each pixel contained 142 % smallest volume in RGB space containing those pixel's colors. When n2 147 % The other pixel count, n1, indicates the total number of colors withi 566 pixel; local 763 pixel; local 1109 pixel; local 1551 pixel; local 1813 pixel; local [all...] |
/external/autotest/client/deps/glbench/src/ |
png_helper.cc | 41 png_byte* pixel = &(row_pointers[y][x*4]); local 42 pixel[0] = *p; p++; // R 43 pixel[1] = *p; p++; // G 44 pixel[2] = *p; p++; // B 45 pixel[3] = *p; p++; // A
|
windowmanagertest.cc | 34 unsigned char* pixel = bitmap; local 45 *pixel = (1.f - dist2) * 255.f; 46 pixel++; 47 *pixel = (1.f - dist2) * 255.f; 48 pixel++; 49 *pixel = (1.f - dist2) * 255.f; 50 pixel++; 51 *pixel = 0; 52 pixel++;
|
/frameworks/base/tests/touchlag/ |
touchlag.cpp | 50 void clearBuffer(Buffer* buf, uint32_t pixel) { 51 android_memset32(buf->pixels, pixel, buf->s * buf->h * 4); 54 void drawTwoPixels(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { 58 bits[x] = pixel; 62 bits[x+W] = pixel; 67 void drawHLine(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w) { 79 android_memset32(bits, pixel, W*4); 84 void drawRect(Buffer* buf, uint32_t pixel, ssize_t x, ssize_t y, size_t w, size_t h) { 99 android_memset32(bits, pixel, W*4); 105 void drawCircle(Buffer* buf, uint32_t pixel, [all...] |
/external/webp/src/dsp/ |
lossless_neon.c | 33 uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 35 const uint8x16_t tmp = pixel.val[0]; 36 pixel.val[0] = pixel.val[2]; 37 pixel.val[2] = tmp; 38 vst4q_u8(dst, pixel); 48 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 49 const uint8x16x3_t tmp = { { pixel.val[0], pixel.val[1], pixel.val[2] } } 60 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local [all...] |
/external/opencv3/modules/video/src/ |
bgfg_KNN.cpp | 51 "Efficient Adaptive Density Estimation per Image Pixel for the Task of Background Subtraction" 137 // for each sample of 3 speed pixel models each pixel bg model we store ... 222 //and that is Tb=2*2*10*10 =400; where we take typical pixel level sigma=10 234 // Tau - shadow threshold. The shadow is detected if the pixel is darker 236 //Tau= 0.5 means that if pixel is more than 2 times darker then it is not shadow 243 Mat bgmodel; // model data pixel values 257 _cvUpdatePixelBackgroundNP( long pixel,const uchar* data, int nchannels, int m_nN, 276 long offsetLong = ndata * (pixel * m_nN * 3 + m_aModelIndexLong[pixel] + m_nN * 2) [all...] |
/system/core/libpixelflinger/arch-mips64/ |
col32cb16blend.S | 17 .macro pixel dreg src f sR sG sB shift 81 pixel $a6 $t3 $v0 $a3 $a4 $a5 0 82 pixel $a7 $t3 $v0 $a3 $a4 $a5 16 83 pixel $t8 $t3 $v0 $a3 $a4 $a5 32 84 pixel $t9 $t3 $v0 $a3 $a4 $a5 48 92 /* the pixel count underran, restore it now */ 102 pixel $a6 $t3 $v0 $a3 $a4 $a5 0
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/ |
bitmaptools.cc | 141 // Points at the top-left pixel in |pixels|. 162 bool PixelsEqual(const unsigned char* pixel, int color, int tolerance) { 164 return PixelsEqual(pixel, pixel2, tolerance); 182 for (const unsigned char* pixel = row; pixel < row + bmp.row_size; 183 pixel += bmp.pixel_stride) { 184 if (ignore_color >= 0 && PixelsEqual(pixel, ignore_color, tolerance)) 186 ++(counts[256 * 0 + pixel[0]]); 187 ++(counts[256 * 1 + pixel[1]]); 188 ++(counts[256 * 2 + pixel[2]]) [all...] |