/external/ImageMagick/coders/ |
H A D | 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
|
H A D | debug.c | 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 182 pixel; local [all...] |
H A D | 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 292 pixel; local [all...] |
H A D | 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, 138 pixel; local [all...] |
H A D | stegano.c | 58 #include "MagickCore/pixel-accessor.h" 114 pixel; 196 &pixel,exception); 204 SetBit(i,GetBit(pixel.red,j)); 209 SetBit(i,GetBit(pixel.green,j)); 214 SetBit(i,GetBit(pixel.blue,j)); 112 pixel; local
|
H A D | uil.c | 59 #include "MagickCore/pixel-accessor.h" 185 pixel; 288 Compute the character per pixel. 302 GetPixelInfo(image,&pixel); 308 pixel=image->colormap[i]; 309 pixel.colorspace=sRGBColorspace; 310 pixel.depth=8; 311 pixel.alpha=(double) OpaqueAlpha; 312 GetColorTuple(&pixel,MagickTrue,name); 180 pixel; local
|
/external/skia/tests/ |
H A D | 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]);
|
H A D | SkImageTest.cpp | 38 uint32_t pixel = 0; local 40 canvas.readPixels(info, &pixel, 4, 0, 0); 41 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 42 canvas.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); 43 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 45 canvas.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); 46 REPORTER_ASSERT(reporter, pixel == SK_ColorTRANSPARENT);
|
H A D | ClearTest.cpp | 28 uint32_t pixel = pixels.get()[y * w + x]; local 29 if (pixel != expectedValue) { 30 *actualValue = pixel; 71 // A rectangle that is inset by one on all sides and the 1-pixel wide rectangles that surround 79 // A rectangle that is inset by two on all sides and the 1-pixel wide rectangles that surround
|
/external/ImageMagick/MagickCore/ |
H A D | 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
|
H A D | colorspace-private.h | 23 #include "MagickCore/pixel.h" 24 #include "MagickCore/pixel-accessor.h" 30 static inline void ConvertCMYKToRGB(PixelInfo *pixel) argument 32 pixel->red=((QuantumRange-(QuantumScale*pixel->red*(QuantumRange- 33 pixel->black)+pixel->black))); 34 pixel->green=((QuantumRange-(QuantumScale*pixel->green*(QuantumRange- 35 pixel 40 ConvertRGBToCMYK(PixelInfo *pixel) argument [all...] |
H A D | attribute.c | 82 #include "MagickCore/pixel.h" 83 #include "MagickCore/pixel-accessor.h" 185 pixel; 208 pixel=zero; 211 GetPixelInfoPixel(image,p,&pixel); 213 (IsFuzzyEquivalencePixelInfo(&pixel,&target[0]) == MagickFalse)) 216 (IsFuzzyEquivalencePixelInfo(&pixel,&target[1]) == MagickFalse)) 219 (IsFuzzyEquivalencePixelInfo(&pixel,&target[0]) == MagickFalse)) 222 (IsFuzzyEquivalencePixelInfo(&pixel,&target[2]) == MagickFalse)) 379 pixel; 183 pixel; local 376 pixel; local [all...] |
H A D | 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 a 701 GetOneCacheViewAuthenticPixel( const CacheView *cache_view,const ssize_t x,const ssize_t y,Quantum *pixel, ExceptionInfo *exception) argument 773 GetOneCacheViewVirtualPixel( const CacheView *cache_view,const ssize_t x,const ssize_t y,Quantum *pixel, ExceptionInfo *exception) argument 846 GetOneCacheViewVirtualPixelInfo( const CacheView *cache_view,const ssize_t x,const ssize_t y,PixelInfo *pixel, ExceptionInfo *exception) argument 905 GetOneCacheViewVirtualMethodPixel( const CacheView *cache_view,const VirtualPixelMethod virtual_pixel_method, const ssize_t x,const ssize_t y,Quantum *pixel,ExceptionInfo *exception) argument [all...] |
/external/ImageMagick/www/source/ |
H A D | contrast.c | 29 pixel; local 83 PixelGetMagickColor(pixels[x],&pixel); 84 pixel.red=SigmoidalContrast(pixel.red); 85 pixel.green=SigmoidalContrast(pixel.green); 86 pixel.blue=SigmoidalContrast(pixel.blue); 87 pixel.index=SigmoidalContrast(pixel [all...] |
/external/ImageMagick/www/source/wand/ |
H A D | sigmoidal-contrast.c | 17 pixel; local 29 PixelGetMagickColor(pixels[x],&pixel); 30 pixel.red=SigmoidalContrast(pixel.red); 31 pixel.green=SigmoidalContrast(pixel.green); 32 pixel.blue=SigmoidalContrast(pixel.blue); 33 pixel.index=SigmoidalContrast(pixel 66 pixel; local [all...] |
/external/autotest/client/deps/glbench/src/ |
H A D | png_helper.cc | 40 png_byte* pixel = &(row_pointers[y][x*4]); local 41 pixel[0] = *p; p++; // R 42 pixel[1] = *p; p++; // G 43 pixel[2] = *p; p++; // B 44 pixel[3] = *p; p++; // A
|
H A D | 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++;
|
/external/clang/test/CXX/dcl.dcl/dcl.spec/dcl.constexpr/ |
H A D | p9.cpp | 33 struct pixel { struct 36 constexpr pixel ur = { 1294, 1024 }; // ok 37 constexpr pixel origin; // expected-error {{default initialization of an object of const type 'const pixel' without a user-provided default constructor}}
|
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | 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/skia/gm/ |
H A D | encode-platform.cpp | 33 SkPMColor* pixel = bitmap->getAddr32(x, y); local 34 *pixel = SkUnPreMultiply::UnPreMultiplyPreservingByteOrder(*pixel);
|
/external/skia/src/codec/ |
H A D | SkMasks.cpp | 61 static uint8_t get_comp(uint32_t pixel, uint32_t mask, uint32_t shift, argument 63 return convert_to_8((pixel & mask) >> shift, size); 71 uint8_t SkMasks::getRed(uint32_t pixel) const { 72 return get_comp(pixel, fRed.mask, fRed.shift, fRed.size); 74 uint8_t SkMasks::getGreen(uint32_t pixel) const { 75 return get_comp(pixel, fGreen.mask, fGreen.shift, fGreen.size); 77 uint8_t SkMasks::getBlue(uint32_t pixel) const { 78 return get_comp(pixel, fBlue.mask, fBlue.shift, fBlue.size); 80 uint8_t SkMasks::getAlpha(uint32_t pixel) const { 81 return get_comp(pixel, fAlph [all...] |
/external/freetype/include/freetype/ |
H A D | ftcache.h | 411 /* pixel :: A Boolean. If 1, the `width' and `height' fields are */ 412 /* interpreted as integer pixel character sizes. */ 415 /* x_res :: Only used when `pixel' is value~0 to indicate the */ 418 /* y_res :: Only used when `pixel' is value~0 to indicate the */ 430 FT_Int pixel; member in struct:FTC_ScalerRec_
|
/external/libdrm/tests/planetest/ |
H A D | bo.c | 72 uint8_t *pixel = row + j * 4; local 77 pixel[0] = b; 78 pixel[1] = g; 79 pixel[2] = r; 80 pixel[3] = a; 82 pixel[0] = r; 83 pixel[1] = g; 84 pixel[2] = b; 85 pixel[3] = a;
|
/external/mesa3d/src/mesa/main/ |
H A D | texcompress_cpal.c | 71 GLuint index, GLubyte *pixel) 73 memcpy(pixel, palette + info->size * index, info->size); 70 get_palette_entry(const struct cpal_format_info *info, const GLubyte *palette, GLuint index, GLubyte *pixel) argument
|
/external/pdfium/third_party/freetype/include/freetype/ |
H A D | ftcache.h | 411 /* pixel :: A Boolean. If 1, the `width' and `height' fields are */ 412 /* interpreted as integer pixel character sizes. */ 415 /* x_res :: Only used when `pixel' is value~0 to indicate the */ 418 /* y_res :: Only used when `pixel' is value~0 to indicate the */ 430 FT_Int pixel; member in struct:FTC_ScalerRec_
|