/external/mesa3d/src/gallium/auxiliary/util/ |
u_debug.c | 441 * \param cpp bytes per pixel 683 struct bmp_rgb_quad pixel; local 684 pixel.rgbRed = float_to_ubyte(ptr[x*4 + 0]); 685 pixel.rgbGreen = float_to_ubyte(ptr[x*4 + 1]); 686 pixel.rgbBlue = float_to_ubyte(ptr[x*4 + 2]); 687 pixel.rgbAlpha = float_to_ubyte(ptr[x*4 + 3]); 688 fwrite(&pixel, 1, 4, stream);
|
/external/skia/src/images/ |
SkImageDecoder_libico.cpp | 266 // The AND mask is a 1-bit alpha mask for each pixel that comes after the 335 //function to place the pixel, determined by the bitCount 358 // setup for the next pixel 371 int pixel = (byte >> 4) & 0xF; local 373 *address = (alphaBit-1)&(colors[pixel]); 378 pixel = byte & 0xF; 382 *address = (alphaBit-1)&(colors[pixel]); 390 int pixel = readByte(buf, xorOffset + pixelNo); local 392 *address = (alphaBit-1)&(colors[pixel]);
|
/external/ImageMagick/MagickCore/ |
identify.c | 80 #include "MagickCore/pixel-accessor.h" 513 Display minimum, maximum, or mean pixel locations. 956 pixel; local 995 pixel; local [all...] |
enhance.c | 70 #include "MagickCore/pixel.h" 71 #include "MagickCore/pixel-accessor.h" 298 % o method: the pixel interpolation method. 365 pixel; 381 GetPixelInfo(image,&pixel); 392 GetPixelInfoPixel(image,q,&pixel); 395 pixel.red=clut_map[ScaleQuantumToMap(ClampToQuantum( 396 pixel.red))].red; 399 pixel.green=clut_map[ScaleQuantumToMap(ClampToQuantum( 400 pixel.green))].green 360 pixel; local 1098 pixel; local 1378 pixel; local 2258 pixel, local [all...] |
gem.c | 53 #include "MagickCore/pixel-accessor.h" 54 #include "MagickCore/pixel-private.h" 87 % o red, green, blue: A pointer to a pixel component of type Quantum. 181 % o red, green, blue: A pointer to a pixel component of type Quantum. 287 % o red, green, blue: A pointer to a pixel component of type Quantum. 391 % o red, green, blue: A pointer to a pixel component of type Quantum. 465 % o red, green, blue: A pointer to a pixel component of type Quantum. 570 % o red, green, blue: A pointer to a pixel component of type Quantum. 672 % o red, green, blue: A pointer to a pixel component of type Quantum. 749 % o red, green, blue: A pointer to a pixel component of type Quantum [all...] |
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ColorDrawableTest.java | 147 final int pixel = b.getPixel(0, 0); local 149 assertEquals(Color.WHITE, pixel);
|
/external/ceres-solver/examples/ |
denoising.cc | 117 // Build a vector with the pixel indices of this patch. 122 double* pixel = solution->MutablePixel(x + x_delta_indices[i], local 124 pixels.push_back(pixel); 166 std::min(255.0, std::max(0.0, solution->Pixel(x, y)));
|
/external/mesa3d/docs/OLD/ |
MESA_packed_depth_stencil.spec | 36 packed pixel formats and types which pack both stencil and depth 42 pixel formats? Should we instead provide both: 106 Add to the description of packed pixel formats: 109 Token Name Type Elements Pixel Formats 171 The assignment of elements to fields in the packed pixel is as
|
/external/opencv/cvaux/src/ |
cvbgfg_gaussmix.cpp | 52 //int depth; /* pixel depth in bits: IPL_DEPTH_8U ...*/ 76 Test whether pixel can be explained by background model; 291 double pixel[4]; local 295 pixel[k] = (uchar)curr_frame->imageData[p+k]; 297 no_match = icvMatchTest( pixel, nChannels, match, g_point, &bg_model_params ); 300 icvUpdateFullWindow( pixel, nChannels, match, g_point, &bg_model->params ); 306 icvUpdatePartialWindow( pixel, nChannels, match, g_point, &bg_model_params ); 308 icvUpdatePartialNoMatch( pixel, nChannels, match, g_point, &bg_model_params ); 525 icvUpdatePartialNoMatch(double *pixel, 544 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = pixel[m] [all...] |
/external/pdfium/xfa/src/fxbarcode/oned/ |
BC_OneDReader.cpp | 118 FX_BOOL pixel = row->Get(j);
local 119 if (pixel ^ isWhite) {
|
/system/core/libpixelflinger/codeflinger/ |
blending.cpp | 65 const pixel_t& pixel, // framebuffer 123 extract(fb, pixel, component); 171 component, pixel, fragment, fb, scratches); 181 component, pixel, fragment, fb, scratches); 210 component, pixel, fragment, fb, scratches); 222 component, pixel, fragment, fb, scratches); 229 component, pixel, fragment, fb, scratches); 241 component, pixel, fragment, fb, scratches);
|
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.hpp | 50 VERIFICATIONMODE_STRICT = 0, // !< do not allow even a single bad pixel 109 * \brief Calculates triangle coverage at given pixel 111 * triangle should not be z-clipped. If multisample is false, the pixel 113 * whole pixel area is compared. 115 CoverageType calculateTriangleCoverage (const tcu::Vec4& p0, const tcu::Vec4& p1, const tcu::Vec4& p2, const tcu::IVec2& pixel, const tcu::IVec2& viewportSize, int subpixelBits, bool multisample);
|
/external/freetype/src/smooth/ |
ftsmooth.c | 327 FT_UInt pixel = line[xx-1]; local 330 end[-3] = (FT_Byte)pixel; 331 end[-2] = (FT_Byte)pixel; 332 end[-1] = (FT_Byte)pixel;
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/smooth/ |
ftsmooth.c | 327 FT_UInt pixel = line[xx-1]; local 330 end[-3] = (FT_Byte)pixel; 331 end[-2] = (FT_Byte)pixel; 332 end[-1] = (FT_Byte)pixel;
|
/external/mesa3d/src/mesa/drivers/x11/ |
xm_tri.c | 326 unsigned long pixel; \ 327 PACK_TRUECOLOR(pixel, v2->color[0], v2->color[1], v2->color[2]); 334 XMesaPutPixel(img, x, y, pixel); \ 647 PIXEL_TYPE *pixel = pRow; \ 648 for (i = 0; i < span.end; i++, pixel++) { \ 649 pixel->r = FixedToInt(span.red); \ 650 pixel->g = FixedToInt(span.green); \ 651 pixel->b = FixedToInt(span.blue); \ 741 unsigned long pixel; \ 742 PACK_TRUECOLOR(pixel, v2->color[0], v2->color[1], v2->color[2]) [all...] |
/external/pdfium/third_party/freetype/src/smooth/ |
ftsmooth.c | 327 FT_UInt pixel = line[xx-1]; local 330 end[-3] = (FT_Byte)pixel; 331 end[-2] = (FT_Byte)pixel; 332 end[-1] = (FT_Byte)pixel;
|
/external/skia/tests/ |
DrawPathTest.cpp | 18 SkPMColor pixel[1]; local 19 output.installPixels(SkImageInfo::MakeN32Premul(1, 1), pixel, 4); 28 // check that the pixel in question starts as transparent (by the surface) 30 REPORTER_ASSERT(reporter, 0 == pixel[0]); 45 REPORTER_ASSERT(reporter, 0xFFFFFFFF == pixel[0]);
|
/external/ImageMagick/Magick++/lib/ |
Color.cpp | 185 // Copy pixel value 191 // Copy pixel type 247 pixel; local 252 pixel.colorspace=(_pixelType == RGBPixel || _pixelType == RGBAPixel) ? 254 pixel.alpha_trait=(_pixelType == RGBAPixel || _pixelType == CMYKAPixel) ? 256 pixel.depth=MAGICKCORE_QUANTUM_DEPTH; 257 pixel.alpha=_pixel->alpha; 258 pixel.alpha_trait=_pixel->alpha_trait; 259 pixel.black=_pixel->black; 260 pixel.blue=_pixel->blue 395 void Magick::Color::pixel(PixelInfo *rep_,PixelType pixelType_) function in class:Magick::Color [all...] |
/external/ImageMagick/coders/ |
dcm.c | 65 #include "MagickCore/pixel-accessor.h" 449 { 0x0011, 0x003b, "FD", "Pixel Scale" }, 450 { 0x0011, 0x003c, "FD", "Pixel Offset" }, 547 { 0x0018, 0x0095, "DS", "Pixel Bandwidth" }, 652 { 0x0018, 0x1240, "IS", "Upper/Lower Pixel Values" } 3865 pixel; local [all...] |
vips.c | 59 #include "MagickCore/pixel-accessor.h" 313 pixel; 331 pixel=ReadVIPSPixelNONE(image,format,type); 332 SetPixelRed(image,pixel,q); 335 SetPixelGreen(image,pixel,q); 336 SetPixelBlue(image,pixel,q); 310 pixel; local
|
/external/ImageMagick/www/api/ |
feature.php | 141 <p>Use HoughLineImage() in conjunction with any binary edge extracted image (we recommand Canny) to identify lines in the image. The algorithm accumulates counts for every white pixel for every possible orientation (for angles from 0 to 179 in 1 degree increments) and distance from the center of the image to the corner (in 1 px increments) and stores the counts in an accumulator matrix of angle vs distance. The size of the accumulator is 180x(diagonal/2). Next it searches this space for peaks in counts and converts the locations of the peaks to slope and intercept in the normal x,y input image space. Use the slope/intercepts to find the endpoints clipped to the bounds of the image. The lines are then drawn. The counts are a measure of the length of the lines</p> 176 <p>MeanShiftImage() delineate arbitrarily shaped clusters in the image. For each pixel, it visits all the pixels in the neighborhood specified by the window centered at the pixel and excludes those that are outside the radius=(window-1)/2 surrounding the pixel. From those pixels, it finds those that are within the specified color distance from the current mean, and computes a new x,y centroid from those coordinates and a new mean. This new x,y centroid is used as the center for a new window. This process iterates until it converges and the final mean is replaces the (original window center) pixel value. It repeats this process for the next pixel, etc., until it processes all pixels in the image. Results are typically better with colorspaces other than sRGB. We recommend YIQ, YUV or YCbCr.</p>
|
/prebuilts/go/darwin-x86/src/image/ |
image.go | 42 // At returns the color of the pixel at (x, y). 43 // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. 54 // ColorIndexAt returns the palette index of the pixel at (x, y). 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at 87 // the pixel at (x, y). 160 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel at 191 // the pixel at (x, y). 272 // Pix holds the image's pixels, in R, G, B, A order. The pixel at 298 // the pixel at (x, y). 371 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel a [all...] |
/prebuilts/go/linux-x86/src/image/ |
image.go | 42 // At returns the color of the pixel at (x, y). 43 // At(Bounds().Min.X, Bounds().Min.Y) returns the upper-left pixel of the grid. 54 // ColorIndexAt returns the palette index of the pixel at (x, y). 61 // Pix holds the image's pixels, in R, G, B, A order. The pixel at 87 // the pixel at (x, y). 160 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel at 191 // the pixel at (x, y). 272 // Pix holds the image's pixels, in R, G, B, A order. The pixel at 298 // the pixel at (x, y). 371 // Pix holds the image's pixels, in R, G, B, A order and big-endian format. The pixel a [all...] |
/external/skia/third_party/ktx/ |
ktx.cpp | 295 // Read the pixel data... 531 // Write the pixel data... 537 uint32_t pixel = pixelsPtr[i]; local 539 dstPixel[0] = pixel >> SK_R32_SHIFT; 540 dstPixel[1] = pixel >> SK_G32_SHIFT; 541 dstPixel[2] = pixel >> SK_B32_SHIFT; 542 dstPixel[3] = pixel >> SK_A32_SHIFT;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/ui/util/ |
PsdFile.java | 114 final int pixel = pixels[i]; local 115 a[i] = (byte) ((pixel >> 24) & 0xFF); 116 r[i] = (byte) ((pixel >> 16) & 0xFF); 117 g[i] = (byte) ((pixel >> 8) & 0xFF); 118 b[i] = (byte) (pixel & 0xFF);
|