/external/ImageMagick/MagickWand/ |
Android.mk | 40 pixel-iterator.c \ 41 pixel-wand.c \
|
/external/ImageMagick/www/api/ |
cache-view.php | 59 <p>AcquireAuthenticCacheView() acquires an authentic view into the pixel cache. It always succeeds but may return a warning or informational exception.</p> 86 <p>AcquireVirtualCacheView() acquires a virtual view into the pixel cache, using the VirtualPixelMethod that is defined within the given image itself. It always succeeds but may return a warning or informational exception.</p> 157 <p>GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p> 345 <p>GetCacheViewVirtualPixels() gets virtual pixels from the in-memory or disk pixel cache as defined by the geometry parameters. A pointer to the pixels is returned if the pixels are transferred, otherwise a NULL is returned.</p> 377 <p>GetOneCacheViewAuthenticPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs.</p> 384 Quantum *pixel,ExceptionInfo *exception) 399 <dd> These values define the offset of the pixel. </dd> 402 <dt>pixel</dt> 403 <dd>return a pixel at the specified (x,y) location. </dd> 413 <p>GetOneCacheViewVirtualPixel() returns a single pixel at the specified (x,y) location. The image background color is returned if an error occurs. If y (…) [all...] |
/external/opencv3/modules/features2d/src/ |
fast_score.cpp | 50 void makeOffsets(int pixel[25], int rowStride, int patternSize) 74 CV_Assert(pixel && offsets); 78 pixel[k] = offsets[k][0] + offsets[k][1] * rowStride; 80 pixel[k] = pixel[k - patternSize]; 84 static void testCorner(const uchar* ptr, const int pixel[], int K, int N, int threshold) { 85 // check that with the computed "threshold" the pixel is still a corner 86 // and that with the increased-by-1 "threshold" the pixel is not a corner anymore 95 int x = ptr[pixel[k]]; 120 int cornerScore<16>(const uchar* ptr, const int pixel[], int threshold [all...] |
/external/autotest/client/cros/image_comparison/ |
rgb_image_comparer.py | 17 * This class uses pixel by pixel comparer while PdiffImageComparer encapsules 43 @param box: int tuple, left, upper, right, lower pixel coordinates 76 if any(pixel > self.pixel_threshold 77 for pixel in t[1])]
|
/external/skia/tests/ |
BitmapHeapTest.cpp | 50 uint32_t* pixel = bm.getAddr32(1,0); local 51 *pixel = SK_ColorBLUE;
|
/frameworks/base/media/mca/filterfw/jni/ |
jni_native_frame.cpp | 33 } Pixel; 179 Pixel* src_ptr; 188 const Pixel pixel = *(src_ptr++); local 189 *(dst_ptr++) = (pixel.rgba[0] + pixel.rgba[1] + pixel.rgba[2]) / 3; 195 const Pixel pixel = *(src_ptr++); local 196 *(dst_ptr++) = pixel.rgba[0] [all...] |
/external/ImageMagick/MagickCore/ |
pixel.c | 63 #include "MagickCore/pixel.h" 64 #include "MagickCore/pixel-accessor.h" 65 #include "MagickCore/pixel-private.h" 88 % AcquirePixelChannelMap() acquires a pixel component map. 125 % ClonePixelChannelMap() clones a pixel component map. 133 % o channel_map: the pixel component map. 162 % ClonePixelInfo() makes a duplicate of the given pixel info structure, or if 163 % pixel info is NULL, a new one. 167 % PixelInfo *ClonePixelInfo(const PixelInfo *pixel) 171 % o pixel: the pixel info 6040 pixel; local 6151 pixel; local [all...] |
accelerate-kernels-private.h | 266 ReadMaskChannel = 0x0040, /* Pixel is Not Readable? */ 267 WriteMaskChannel = 0x0080, /* Pixel is Write Protected? */ 421 float4 pixel; 423 pixel.x=getPixelRed(p); 427 pixel.y=getPixelGreen(p); 428 pixel.z=getPixelBlue(p); 432 pixel.w=getPixelAlpha(p,number_channels); 433 return(pixel); 471 const unsigned int columns, const unsigned int x, const unsigned int y, float4 pixel) 475 setPixelRed(p,ClampToQuantum(pixel.x)) [all...] |
colormap.c | 64 #include "MagickCore/pixel-accessor.h" 136 pixel; 138 pixel=(double) (i*(QuantumRange/MagickMax(colors-1,1))); 141 image->colormap[i].red=pixel; 142 image->colormap[i].green=pixel; 143 image->colormap[i].blue=pixel; 318 Allocate memory for pixel indexes. 134 pixel; local
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
SweepGradientTest.java | 121 int pixel = mBitmap.getPixel(x, y); local 124 assertEquals(Color.alpha(color), Color.alpha(pixel), tolerance); 125 assertEquals(Color.red(color), Color.red(pixel), tolerance); 126 assertEquals(Color.green(color), Color.green(pixel), tolerance); 127 assertEquals(Color.blue(color), Color.blue(pixel), tolerance); 133 System.out.println(Integer.toHexString(pixel));
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_progress.h | 36 PixelWeight* GetPixelWeight(int pixel) {
37 return (PixelWeight*)(m_pWeightTables + (pixel - m_DestMin) * m_ItemSize);
53 PixelWeight* GetPixelWeight(int pixel) {
54 return (PixelWeight*)(m_pWeightTables + pixel * m_ItemSize);
69 PixelWeight* GetPixelWeight(int pixel) {
70 return (PixelWeight*)(m_pWeightTables + pixel * m_ItemSize);
|
/external/pdfium/xfa/src/fxbarcode/common/ |
BC_GlobalHistogramBinarizer.cpp | 52 int32_t pixel = (*localLuminances)[x] & 0xff;
local 53 localBuckets[pixel >> LUMINANCE_SHIFT]++;
90 int32_t pixel = (*localLuminances)[x] & 0xff;
local 91 localBuckets[pixel >> LUMINANCE_SHIFT]++;
100 int32_t pixel = (*localLuminances)[offset + x] & 0xff;
local 101 if (pixel < blackPoint) {
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
QuickDraw_Graphics_Suite.py | 100 """pixel depth - the number of bits per pixel """ 177 """pixel maps - """ 182 class pixel(aetools.ComponentItem): class in inherits:aetools.ComponentItem 183 """pixel - A pixel """ 186 pixels = pixel 302 pixel._superclassnames = [] 303 pixel._privpropdict = { 306 pixel._privelemdict = [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/lib-scriptpackages/StdSuites/ |
QuickDraw_Graphics_Suite.py | 100 """pixel depth - the number of bits per pixel """ 177 """pixel maps - """ 182 class pixel(aetools.ComponentItem): class in inherits:aetools.ComponentItem 183 """pixel - A pixel """ 186 pixels = pixel 302 pixel._superclassnames = [] 303 pixel._privpropdict = { 306 pixel._privelemdict = [all...] |
/system/core/libpixelflinger/arch-arm64/ |
t32cb16blend.S | 34 * .macro pixel 36 * This macro alpha blends RGB565 original pixel located in either 37 * top or bottom 16 bits of DREG register with SRC 32 bit pixel value 44 * \SRC is a 32-bit 0xAABBGGRR pixel value, with pre-multiplied colors. 46 * \FB is a target register that will contain the blended pixel values. 56 .macro pixel, DREG, SRC, FB, ODD 66 .if \ODD //Blending odd pixel present in top 16 bits of DREG register 101 .else //Blending even pixel present in bottom 16 bits of DREG register 138 .endif // End of blending even pixel 140 .endm // End of pixel macr [all...] |
/system/core/libpixelflinger/ |
t32cb16blend.S | 27 * .macro pixel 33 * \SRC is a 32-bit 0xAABBGGRR pixel value, with pre-multiplied colors. 35 * \FB is a target register that will contain the blended pixel values. 45 .macro pixel, DREG, SRC, FB, ODD 131 // r6: pixel 132 // r7: pixel 138 // r14: pixel 156 pixel r3, r4, r12, 0 168 // it's all zero, skip this pixel 176 pixel r3, r4, r12, [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/graphics/ |
NinePatchedImage.java | 200 * Get one pixel with alpha from the image. 211 private static final boolean isValidTickColor(int pixel) { 212 return (pixel == BLACK_TICK || pixel == RED_TICK); 222 int pixel = getPixel(mBaseImageData, x, y); local 227 if (isValidTickColor(pixel)) { 228 pixels[index] = pixel; 232 // clear pixel 340 * Erase the pixel. 383 int pixel = pixels[i] local 543 int pixel = mHorizontalPatchPixels[x]; local 552 int pixel = mVerticalPatchPixels[y]; local 561 int pixel = mHorizontalContentPixels[x]; local 570 int pixel = mVerticalContentPixels[y]; local [all...] |
/cts/tests/tests/display/src/android/display/cts/ |
VirtualDisplayTest.java | 399 int pixel = 0; local 400 pixel |= (buffer.get(offset) & 0xff) << 16; // R 401 pixel |= (buffer.get(offset + 1) & 0xff) << 8; // G 402 pixel |= (buffer.get(offset + 2) & 0xff); // B 403 pixel |= (buffer.get(offset + 3) & 0xff) << 24; // A 404 if (pixel == Color.BLACK || pixel == 0) { 406 } else if (pixel == BLUEISH) { 408 } else if (pixel == GREENISH) { 413 Log.d(TAG, "- Found unexpected color: " + Integer.toHexString(pixel)); [all...] |
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
VirtualDisplayTest.java | 453 int pixel = 0; local 454 pixel |= (buffer.get(offset) & 0xff) << 16; // R 455 pixel |= (buffer.get(offset + 1) & 0xff) << 8; // G 456 pixel |= (buffer.get(offset + 2) & 0xff); // B 457 pixel |= (buffer.get(offset + 3) & 0xff) << 24; // A 458 if (pixel == Color.BLACK || pixel == 0) { 460 } else if (pixel == BLUEISH) { 462 } else if (pixel == GREENISH) { 467 Log.d(TAG, "- Found unexpected color: " + Integer.toHexString(pixel)); [all...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
Sensor.cpp | 413 // TODO: Better pixel saturation curve? 451 const uint32_t *pixel = mScene.getPixelElectrons(); local 452 rCount = pixel[Scene::R] * scale64x; 453 gCount = pixel[Scene::Gr] * scale64x; 454 bCount = pixel[Scene::B] * scale64x; 481 const uint32_t *pixel = mScene.getPixelElectrons(); 482 rCount = pixel[Scene::R] * scale64x; 483 gCount = pixel[Scene::Gr] * scale64x; 484 bCount = pixel[Scene::B] * scale64x; 525 const uint32_t *pixel = mScene.getPixelElectrons() [all...] |
/external/webrtc/webrtc/modules/desktop_capture/x11/ |
x_server_pixel_buffer.cc | 317 uint32_t pixel; local 319 pixel = src_pos_32[x]; 321 pixel = src_pos_16[x]; 323 pixel = src_pos[x]; 325 uint32_t r = (pixel & red_mask) << red_shift; 326 uint32_t g = (pixel & green_mask) << green_shift; 327 uint32_t b = (pixel & blue_mask) << blue_shift;
|
/prebuilts/go/darwin-x86/src/image/draw/ |
draw_test.go | 131 // The destination pixel is {136, 0, 0, 255}. 132 // The source pixel is {0, 0, 90, 90}. 141 // The destination pixel is {136, 0, 0, 255}. 142 // The source pixel is {0, 48, 0, 90}. 151 // The destination pixel is {136, 0, 0, 255}. 152 // The source pixel is {0, 136, 0, 90} in NRGBA-space, which is {0, 48, 0, 90} in RGBA-space. 153 // The result pixel is different than in the "copy*" test cases because of rounding errors. 162 // The destination pixel is {136, 0, 0, 255}. 163 // The source pixel is {0, 0, 136} in YCbCr-space, which is {11, 38, 0, 255} in RGB-space. 172 // The destination pixel is {136, 0, 0, 255} [all...] |
/prebuilts/go/linux-x86/src/image/draw/ |
draw_test.go | 131 // The destination pixel is {136, 0, 0, 255}. 132 // The source pixel is {0, 0, 90, 90}. 141 // The destination pixel is {136, 0, 0, 255}. 142 // The source pixel is {0, 48, 0, 90}. 151 // The destination pixel is {136, 0, 0, 255}. 152 // The source pixel is {0, 136, 0, 90} in NRGBA-space, which is {0, 48, 0, 90} in RGBA-space. 153 // The result pixel is different than in the "copy*" test cases because of rounding errors. 162 // The destination pixel is {136, 0, 0, 255}. 163 // The source pixel is {0, 0, 136} in YCbCr-space, which is {11, 38, 0, 255} in RGB-space. 172 // The destination pixel is {136, 0, 0, 255} [all...] |
/cts/tests/tests/opengl/src/android/opengl/cts/ |
RendererOneColorBufferTest.java | 214 int pixel = pin[0]; local 215 float a = (pixel >> 24) & 0xFF; 216 float b = (pixel >> 16) & 0xFF; 217 float g = (pixel >> 8) & 0xFF; 218 float r = pixel & 0xFF;
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
TextureTestRenderer.java | 120 // for one pixel 121 IntBuffer pixel = ByteBuffer.allocateDirect(4).asIntBuffer(); local 123 GL10.GL_UNSIGNED_BYTE, pixel); 124 pixel.position(0); 125 Log.i(TAG, "pixel read " + Integer.toHexString(pixel.get(0))); 127 Assert.assertEquals(0x0000ffff, pixel.get(0)); // BLUE in RGBA
|