/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 tgt.readPixels(info, &pixel, 4, 0, 0); 41 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 42 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); 43 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 45 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); 46 REPORTER_ASSERT(reporter, pixel == SK_ColorTRANSPARENT);
|
/external/skqp/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 tgt.readPixels(info, &pixel, 4, 0, 0); 41 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 42 tgt.readPixels(info, &pixel, 4, gWidth - 6, gWidth - 6); 43 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 45 tgt.readPixels(info, &pixel, 4, gWidth - 5, gWidth - 5); 46 REPORTER_ASSERT(reporter, pixel == SK_ColorTRANSPARENT);
|
/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...] |
/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 | 36 SkPMColor* pixel = bitmap->getAddr32(x, y); local 37 *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/skqp/gm/ |
H A D | encode-platform.cpp | 36 SkPMColor* pixel = bitmap->getAddr32(x, y); local 37 *pixel = SkUnPreMultiply::UnPreMultiplyPreservingByteOrder(*pixel);
|
/external/skqp/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/brotli/research/ |
H A D | draw_histogram.cc | 45 /* Mapping pixel density on arc function to increase contrast. */ 133 void ConvertToPixels(int** histo, uint8_t** pixel) { argument 149 pixel[i][j] = histo[i][j] > 0 ? 0 : 255; 151 pixel[i][j] = static_cast<uint8_t>( 158 void DrawPixels(uint8_t** pixel, FILE* fout) { argument 164 fwrite(pixel[i], 1, width, fout); 181 uint8_t** pixel = new uint8_t*[height]; local 184 pixel[i] = new uint8_t[width]; 191 ConvertToPixels(histo, pixel); 193 DrawPixels(pixel, fou [all...] |
/external/deqp/external/openglcts/modules/gl/ |
H A D | gl4cDirectStateAccessProgramPipelinesTests.cpp | 750 glw::GLubyte pixel[4] = { 0 }; local 752 gl.readPixels(0, 0, 1, 1, GL_RGBA, GL_UNSIGNED_BYTE, pixel); 756 if ((255 != pixel[0]) || (0 != pixel[1]) || (0 != pixel[2]) || (255 != pixel[3])) 759 << tcu::TestLog::Message << "Frameuffer content (" << (unsigned int)pixel[0] << ", " 760 << (unsigned int)pixel[1] << ", " << (unsigned int)pixel[2] << ", " << (unsigned int)pixel[ [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_
|