/external/pdfium/xfa/src/fxbarcode/ |
BC_BufferedImageLuminanceSource.cpp | 143 int32_t pixel = rowLine[x];
local 144 int32_t luminance = (306 * ((pixel >> 16) & 0xFF) +
145 601 * ((pixel >> 8) & 0xFF) + 117 * (pixel & 0xFF)) >>
160 int32_t pixel = rgb[offset + x];
local 162 (306 * ((pixel >> 16) & 0xFF) + 601 * ((pixel >> 8) & 0xFF) +
163 117 * (pixel & 0xFF)) >>
|
/external/ImageMagick/www/api/ |
pixel-wand.php | 9 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Wand Methods</title> 15 <meta name="keywords" content="magickwc, api, for, imagemagick:, pixel, wmethods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 55 <p class="text-center"><a href="pixel-wand.php#ClearPixelWand">ClearPixelWand</a> • <a href="pixel-wand.php#ClonePixelWand">ClonePixelWand</a> • <a href="pixel-wand.php#ClonePixelWands">ClonePixelWands</a> • <a href="pixel-wand.php#DestroyPixelWand">DestroyPixelWand</a> • <a href="pixel-wand.php#DestroyPixelWands">DestroyPixelWands</a> • <a href="pixel-wand.php#IsPixelWandSimilar">IsPixelWandSimilar</a> • <a href="pixel-wand.php#IsPixelWand">IsPixelWand</a> • <a href="pixel-wand.php#NewPixelWand">NewPixelWand</a> • <a href="pixel-wand.php#NewPixelWands">NewPixelWand (…) [all...] |
pixel-iterator.php | 9 <title>ImageMagick: MagickWand, C API for ImageMagick: Pixel Iterator Methods</title> 15 <meta name="keywords" content="magickwc, api, for, imagemagick:, pixel, iterator, methods, ImageMagick, PerlMagick, image processing, image, photo, software, Magick++, OpenMP, convert"/> 55 <p class="text-center"><a href="pixel-iterator.php#ClearPixelIterator">ClearPixelIterator</a> • <a href="pixel-iterator.php#ClonePixelIterator">ClonePixelIterator</a> • <a href="pixel-iterator.php#DestroyPixelIterator">DestroyPixelIterator</a> • <a href="pixel-iterator.php#IsPixelIterator">IsPixelIterator</a> • <a href="pixel-iterator.php#NewPixelIterator">NewPixelIterator</a> • <a href="pixel-iterator.php#PixelClearIteratorException">PixelClearIteratorException</a> • <a href="pixel-iterator.php#NewPixelRegionIterator">NewPixelRegionIterator</a> • <a href="pixel-iterator.php#PixelGetCurrentIteratorRow">PixelGetCurrentIteratorRow</a> • <a href="pixel-iter (…) [all...] |
/external/ImageMagick/coders/ |
uyvy.c | 13 % Read/Write 16bit/pixel Interleaved YUV Image Format % 58 #include "MagickCore/pixel-accessor.h" 221 entry=AcquireMagickInfo("UYVY","PAL","16bit/pixel interleaved YUV"); 228 entry=AcquireMagickInfo("UYVY","UYVY","16bit/pixel interleaved YUV"); 278 % than the 12bit/pixel YUV format, but has better locality. 298 pixel; 340 (void) ResetMagickMemory(&pixel,0,sizeof(PixelInfo)); 350 pixel.green=(pixel.green+GetPixelGreen(uyvy_image,p))/2; 351 pixel.blue=(pixel.blue+GetPixelBlue(uyvy_image,p))/2 292 pixel; local [all...] |
miff.c | 68 #include "MagickCore/pixel.h" 69 #include "MagickCore/pixel-accessor.h" 194 size_t *length,PixelInfo *pixel,ExceptionInfo *exception) 202 pixel->index=0; 207 pixel->index=ConstrainColormapIndex(image,((size_t) *p << 24) | 215 pixel->index=ConstrainColormapIndex(image,(*p << 8) | *(p+1), 222 pixel->index=ConstrainColormapIndex(image,*p,exception); 240 pixel->alpha=ScaleCharToQuantum(quantum); 252 pixel->alpha=(Quantum) (quantum >> (image->depth- 265 pixel->alpha=(Quantum) (quantum >> (image->depth 437 pixel; local 1189 pixel; local 1205 pixel; local 1221 pixel; local 1947 pixel, local 2361 pixel; local 2374 pixel; local 2387 pixel; local [all...] |
mpc.c | 594 if (LocaleCompare(keyword,"pixel-intensity") == 0) 872 pixel; 876 p=PushCharPixel(p,&pixel); 877 image->colormap[i].red=ScaleCharToQuantum(pixel); 878 p=PushCharPixel(p,&pixel); 879 image->colormap[i].green=ScaleCharToQuantum(pixel); 880 p=PushCharPixel(p,&pixel); 881 image->colormap[i].blue=ScaleCharToQuantum(pixel); 888 pixel; 892 p=PushShortPixel(MSBEndian,p,&pixel); 868 pixel; local 884 pixel; local 900 pixel; local 1407 pixel; local 1420 pixel; local 1433 pixel; local [all...] |
txt.c | 65 #include "MagickCore/pixel-accessor.h" 107 #define MagickID "# ImageMagick pixel enumeration:" 395 pixel; 472 GetPixelInfo(image,&pixel); 552 pixel.red=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (red+0.5), 554 pixel.green=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (green+0.5), 556 pixel.blue=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (blue+0.5), 558 pixel.black=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (black+0.5), 560 pixel.alpha=(MagickRealType) ScaleAnyToQuantum((QuantumAny) (alpha+0.5), 566 SetPixelViaPixelInfo(image,&pixel,q) 390 pixel; local 704 pixel; local [all...] |
sct.c | 57 #include "MagickCore/pixel-accessor.h" 141 pixel; 231 Convert SCT raster image to pixel packets. 242 pixel=(Quantum) ScaleCharToQuantum((unsigned char) ReadBlobByte(image)); 244 pixel=(Quantum) (QuantumRange-pixel); 249 SetPixelRed(image,pixel,q); 250 SetPixelGreen(image,pixel,q); 251 SetPixelBlue(image,pixel,q); 256 SetPixelGreen(image,pixel,q) 138 pixel; local [all...] |
tga.c | 64 #include "MagickCore/pixel-accessor.h" 158 pixel; 330 (void) ResetMagickMemory(&pixel,0,sizeof(pixel)); 331 pixel.alpha=(MagickRealType) OpaqueAlpha; 342 image->colormap[i]=pixel; 353 pixel.red=(MagickRealType) ScaleCharToQuantum((unsigned char) 355 pixel.green=pixel.red; 356 pixel.blue=pixel.red 155 pixel; local [all...] |
/external/ImageMagick/MagickCore/ |
cache-view.c | 58 #include "MagickCore/pixel-accessor.h" 100 % AcquireAuthenticCacheView() acquires an authentic view into the pixel cache. 137 % AcquireVirtualCacheView() acquires a virtual view into the pixel cache, 286 % GetCacheViewAuthenticPixels() gets pixels from the in-memory or disk pixel 647 % disk pixel cache as defined by the geometry parameters. A pointer to the 698 % GetOneCacheViewAuthenticPixel() returns a single pixel at the specified (x,y) 705 % Quantum *pixel,ExceptionInfo *exception) 711 % o x,y: These values define the offset of the pixel. 713 % o pixel: return a pixel at the specified (x,y) location [all...] |
resample.c | 13 % MagickCore Pixel Resampling Methods % 56 #include "MagickCore/pixel.h" 57 #include "MagickCore/pixel-accessor.h" 178 % output pixel, the ResampleFilter structure generated holds that information 191 % (void) ResamplePixelColor(resample_filter,u,v,&pixel); 192 % ... assign resampled pixel value ... 297 % ResamplePixelColor() samples the pixel values surrounding the location 305 % const double u0,const double v0,PixelInfo *pixel, 315 % o pixel: the resampled pixel is returned here [all...] |
/external/skia/tests/ |
CTest.cpp | 61 uint32_t pixel[1] = { 0 }; local 64 sk_surface_t* surface = sk_surface_new_raster_direct(&info, pixel, sizeof(uint32_t), 70 REPORTER_ASSERT(reporter, 0xFF000000 == pixel[0]); 74 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]); 79 REPORTER_ASSERT(reporter, 0x80404040 == pixel[0]);
|
/cts/tests/tests/view/src/android/view/cts/ |
TextureViewTest.java | 92 int pixel = screenshot.getPixel(point.x, point.y); local 94 return pixel; 100 int pixel = getPixel(point); local 101 if (pixel == color) { 112 int pixel = getPixel(point); local 113 if (pixel != color) { 114 return pixel;
|
/external/mesa3d/src/gallium/state_trackers/xa/ |
xa_priv.h | 168 xa_pixel_to_float4(uint32_t pixel, float *color) 172 a = (pixel >> 24) & 0xff; 173 r = (pixel >> 16) & 0xff; 174 g = (pixel >> 8) & 0xff; 175 b = (pixel >> 0) & 0xff; 183 xa_pixel_to_float4_a8(uint32_t pixel, float *color) 187 a = (pixel >> 24) & 0xff;
|
/external/opencv3/modules/features2d/src/ |
fast.cpp | 64 int i, j, k, pixel[25]; local 65 makeOffsets(pixel, (int)img.step, patternSize); 111 __m128i x0 = _mm_sub_epi8(_mm_loadu_si128((const __m128i*)(ptr + pixel[0])), delta); 112 __m128i x1 = _mm_sub_epi8(_mm_loadu_si128((const __m128i*)(ptr + pixel[quarterPatternSize])), delta); 113 __m128i x2 = _mm_sub_epi8(_mm_loadu_si128((const __m128i*)(ptr + pixel[2*quarterPatternSize])), delta); 114 __m128i x3 = _mm_sub_epi8(_mm_loadu_si128((const __m128i*)(ptr + pixel[3*quarterPatternSize])), delta); 137 __m128i x = _mm_xor_si128(_mm_loadu_si128((const __m128i*)(ptr + pixel[k])), delta); 156 curr[j+k] = (uchar)cornerScore<patternSize>(ptr+k, pixel, threshold); 165 int d = tab[ptr[pixel[0]]] | tab[ptr[pixel[8]]] [all...] |
/system/core/libpixelflinger/arch-mips64/ |
t32cb16blend.S | 25 * with the 32bpp ABGR pixel held in src and store the result in fb 28 * the the second pixel (shift==16) will be merged into 34 .macro pixel dreg src fb shift 90 /* as long as there is at least one pixel */ 98 pixel $a7,$t0,$a5,0 122 pixel $a7,$t0,$a5,0 124 pixel $a7,$t1,$a5,16 139 pixel $a7,$t0,$a5,0 141 pixel $a7,$t1,$a5,16 148 /* the pixel count underran, restore it now * [all...] |
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 245 // load the framebuffer pixel 253 pixel_t pixel; 258 pixel = directTex ? parts.texel[directTex-1] : parts.iterated; 259 pixel.flags &= ~CORRUPTIBLE; 271 // allocate a register for the resulting pixel 272 pixel.setTo(regs.obtain(), &mCbFormat, FIRST); 274 build_component(pixel, parts, GGLFormat::ALPHA, regs); 282 build_component(pixel, parts, GGLFormat::RED, regs); 283 build_component(pixel, parts, GGLFormat::GREEN, regs); 284 build_component(pixel, parts, GGLFormat::BLUE, regs) [all...] |
/external/libpng/contrib/gregbook/ |
rpng2-x.c | 26 - 1.10: added support for non-default visuals; fixed X pixel-conversion 1089 ulg pixel; local 1381 ulg i, pixel; local 1622 ulg pixel; local [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
xm_line.c | 52 * Render an array of points into a pixmap, any pixel format. 66 unsigned long pixel = xmesa_color_to_pixel( xmesa, 70 XMesaSetForeground( dpy, gc, pixel ); 134 unsigned long pixel; \ 135 PACK_TRUECOLOR( pixel, color[0], color[1], color[2] ); 137 #define PLOT(X,Y) XMesaPutPixel(xrb->ximage, X, YFLIP(xrb, Y), pixel ); 149 GLuint pixel = PACK_8A8B8G8R(color[0], color[1], color[2], color[3]); 154 #define PLOT(X,Y) *pixelPtr = pixel; 166 GLuint pixel = PACK_8A8R8G8B(color[0], color[1], color[2], color[3]); 171 #define PLOT(X,Y) *pixelPtr = pixel; 422 unsigned long pixel = xmesa_color_to_pixel(ctx, local [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_clear.c | 78 TYPE pixel, pixelMask; \ 79 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, &pixel); \ 82 pixel &= pixelMask; \ 89 row[j] = (row[j] & pixelMask) | pixel; \ 94 row[j] = pixel; \ 105 TYPE pixel[N], pixelMask[N]; \ 107 _mesa_pack_float_rgba_row(rb->Format, 1, clearColor, pixel); \ 111 pixel[k] &= pixelMask[k]; \ 121 (row[j * N + k] & pixelMask[k]) | pixel[k]; \ 128 row[j * N + k] = pixel[k]; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BlendComposite.java | 158 int pixel = srcPixels[x]; local 159 srcPixel[0] = (pixel >> 16) & 0xFF; 160 srcPixel[1] = (pixel >> 8) & 0xFF; 161 srcPixel[2] = (pixel ) & 0xFF; 162 srcPixel[3] = (pixel >> 24) & 0xFF; 164 pixel = dstPixels[x]; 165 dstPixel[0] = (pixel >> 16) & 0xFF; 166 dstPixel[1] = (pixel >> 8) & 0xFF; 167 dstPixel[2] = (pixel ) & 0xFF; 168 dstPixel[3] = (pixel >> 24) & 0xFF [all...] |
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
p1.cpp | 103 constexpr struct pixel { // expected-error {{struct cannot be marked constexpr}} struct 106 constexpr pixel(int); 109 constexpr pixel::pixel(int a) function in class:pixel 113 constexpr pixel small(2); // expected-error {{must be initialized by a constant expression}} expected-note {{in call to 'pixel(2)'}} 119 constexpr pixel large(4);
|
/system/core/libpixelflinger/arch-mips/ |
col32cb16blend.S | 17 .macro pixel dreg src f sR sG sB shift 97 pixel $t2 $t7 $v0 $a3 $t0 $t1 0 98 pixel $t3 $t7 $v0 $a3 $t0 $t1 16 105 pixel $t7 $t8 $v0 $a3 $t0 $t1 0 106 pixel $t3 $t8 $v0 $a3 $t0 $t1 16 118 /* the pixel count underran, restore it now */ 128 pixel $t2 $t7 $v0 $a3 $t0 $t1 0
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
saturation.rs | 150 float4 pixel = rsUnpackColor8888(in); 155 pixel.xyz = rsMatrixMultiply(&colorMatrix_min ,pixel.xyz) * (1 - t) + 156 t * (rsMatrixMultiply(&colorMatrix_max ,pixel.xyz)); 158 pixel.a = 1.0f; 159 return rsPackColorTo8888(clamp(pixel, 0.f, 1.0f));
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
DiscretePathEffectTest.java | 80 int pixel = bitmap.getPixel(x, y); local 81 if (Color.green(pixel) > 0) { 85 assertEquals(0xFF, Color.blue(pixel)); 86 if (Color.red(pixel) > 0) {
|