/external/pixman/pixman/ |
H A D | pixman-bits-image.c | 166 /* reference point is the center of the pixel */ 392 uint32_t pixel; local 399 pixel = get_pixel (image, rx, ry, FALSE); 403 pixel = get_pixel (image, rx, ry, TRUE); 406 srtot += (int)RED_8 (pixel) * f; 407 sgtot += (int)GREEN_8 (pixel) * f; 408 sbtot += (int)BLUE_8 (pixel) * f; 409 satot += (int)ALPHA_8 (pixel) * f; 489 uint32_t pixel; local 496 pixel 617 uint32_t pixel; local 815 uint32_t pixel, mask; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/x11/ |
H A D | xm_dd.c | 129 GLuint pixel = (GLuint) xmesa->clearpixel; local 133 pixel = ((pixel >> 8) & 0x00ff) | ((pixel << 8) & 0xff00); 139 ptr2[i] = pixel; 184 register GLuint pixel = (GLuint) xmesa->clearpixel; local 190 pixel = ((pixel >> 24) & 0x000000ff) 191 | ((pixel >> 8) & 0x0000ff00) 192 | ((pixel << [all...] |
H A D | 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, v [all...] |
/external/mesa3d/src/mesa/drivers/x11/ |
H A D | xm_dd.c | 129 GLuint pixel = (GLuint) xmesa->clearpixel; local 133 pixel = ((pixel >> 8) & 0x00ff) | ((pixel << 8) & 0xff00); 139 ptr2[i] = pixel; 184 register GLuint pixel = (GLuint) xmesa->clearpixel; local 190 pixel = ((pixel >> 24) & 0x000000ff) 191 | ((pixel >> 8) & 0x0000ff00) 192 | ((pixel << [all...] |
H A D | 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, v [all...] |
/external/deqp/modules/glshared/ |
H A D | glsRasterizationTestUtil.cpp | 104 bool pixelNearLineSegment (const tcu::IVec2& pixel, const tcu::Vec2& p0, const tcu::Vec2& p1) argument 106 const tcu::Vec2 pixelCenterPosition = tcu::Vec2(pixel.x() + 0.5f, pixel.y() + 0.5f); 108 // "Near" = Distance from the line to the pixel is less than 2 * pixel_max_radius. (pixel_max_radius = sqrt(2) / 2) 129 // distance from line endpoint 1 to pixel is less than line length + maxPixelDistance 141 bool pixelOnlyOnASharedEdge (const tcu::IVec2& pixel, const TriangleSceneSpec::SceneTriangle& triangle, const tcu::IVec2& viewportSize) argument 158 const bool pixelOnEdge0 = pixelNearLineSegment(pixel, triangleScreenSpace[0], triangleScreenSpace[1]); 159 const bool pixelOnEdge1 = pixelNearLineSegment(pixel, triangleScreenSpace[1], triangleScreenSpace[2]); 160 const bool pixelOnEdge2 = pixelNearLineSegment(pixel, triangleScreenSpace[2], triangleScreenSpace[0]); 162 // If the pixel i [all...] |
H A D | glsRasterizationTestUtil.hpp | 50 VERIFICATIONMODE_STRICT = 0, // !< do not allow even a single bad pixel 102 * \brief Calculates triangle coverage at given pixel 104 * triangle should not be z-clipped. If multisample is false, the pixel 106 * whole pixel area is compared. 108 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/chromium_org/third_party/skia/tests/ |
H A D | ImageFilterTest.cpp | 195 uint32_t pixel = *result.getAddr32(0, 0); local 197 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 774 uint32_t pixel = *bitmap.getAddr32(0, 0); local 775 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 793 pixel = *bitmap.getAddr32(0, 0); 795 REPORTER_ASSERT(reporter, pixel != SK_ColorGREEN); 852 uint32_t pixel = *bitmap.getAddr32(0, 0); local 853 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 862 pixel = *bitmap.getAddr32(0, 0); 863 REPORTER_ASSERT(reporter, pixel 982 uint32_t pixel; local 1033 uint32_t pixel; local [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | 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/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_libico.cpp | 302 //function to place the pixel, determined by the bitCount 325 // setup for the next pixel 338 int pixel = (byte >> 4) & 0xF; local 340 *address = (alphaBit-1)&(colors[pixel]); 345 pixel = byte & 0xF; 349 *address = (alphaBit-1)&(colors[pixel]); 357 int pixel = readByte(buf, xorOffset + pixelNo); local 359 *address = (alphaBit-1)&(colors[pixel]);
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | 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/ |
H A D | SkImageDecoder_libico.cpp | 311 //function to place the pixel, determined by the bitCount 334 // setup for the next pixel 347 int pixel = (byte >> 4) & 0xF; local 349 *address = (alphaBit-1)&(colors[pixel]); 354 pixel = byte & 0xF; 358 *address = (alphaBit-1)&(colors[pixel]); 366 int pixel = readByte(buf, xorOffset + pixelNo); local 368 *address = (alphaBit-1)&(colors[pixel]);
|
/external/ceres-solver/examples/ |
H A D | 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);
|
/external/chromium_org/ash/desktop_background/ |
H A D | wallpaper_resizer_unittest.cc | 36 const SkColor pixel = SkColorSetARGB(component, component, local 38 *(src.getAddr32(x, y)) = pixel;
|
/external/chromium_org/third_party/mesa/src/docs/OLD/ |
H A D | 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: 171 The assignment of elements to fields in the packed pixel is as
|
/external/chromium_org/ui/file_manager/video_player/css/ |
H A D | cast_menu.css | 29 /* Make the width of the horizontal border one device pixel even on HiDPI. 31 @media (-webkit-min-device-pixel-ratio: 2) {
|
/external/mesa3d/docs/OLD/ |
H A D | 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: 171 The assignment of elements to fields in the packed pixel is as
|
/external/opencv/cvaux/src/ |
H A D | 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, argument 544 g_point->g_values[bg_model_params->n_gauss - 1].mean[m] = pixel[ [all...] |
/external/skia/src/utils/ |
H A D | SkTextureCompressor.cpp | 74 static bool is_extremal(uint8_t pixel) { argument 75 return 0 == pixel || 255 == pixel; 202 // If there's only one unique pixel, then our compression is easy. 208 // with one or zero depending on which pixel they belong to. 225 // Count non-maximal pixel values
|
/external/chromium_org/third_party/skia/third_party/ktx/ |
H A D | 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;
|
/external/skia/third_party/ktx/ |
H A D | ktx.cpp | 235 // Read the pixel data... 471 // Write the pixel data... 477 uint32_t pixel = pixelsPtr[i]; local 479 dstPixel[0] = pixel >> SK_R32_SHIFT; 480 dstPixel[1] = pixel >> SK_G32_SHIFT; 481 dstPixel[2] = pixel >> SK_B32_SHIFT; 482 dstPixel[3] = pixel >> SK_A32_SHIFT;
|
/external/chromium_org/third_party/skia/third_party/etc1/ |
H A D | etc1.cpp | 78 | most significant pixel index bits | 84 | least significant pixel index bits | 103 Add table 3.17.3 Mapping from pixel index values to modifier values for 106 pixel index value 489 // pixel is valid or not. Invalid pixel color values are ignored when compressing. 517 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 553 int pixel = (p[1] << 8) | p[0]; local 554 *q++ = convert5To8(pixel >> 11); 555 *q++ = convert6To8(pixel >> 609 etc1_uint32 pixel = ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3); local [all...] |
/external/skia/third_party/etc1/ |
H A D | etc1.cpp | 78 | most significant pixel index bits | 84 | least significant pixel index bits | 103 Add table 3.17.3 Mapping from pixel index values to modifier values for 106 pixel index value 489 // pixel is valid or not. Invalid pixel color values are ignored when compressing. 517 // pixel (x,y) is at pIn + pixelSize * x + stride * y + redOffset; 553 int pixel = (p[1] << 8) | p[0]; local 554 *q++ = convert5To8(pixel >> 11); 555 *q++ = convert6To8(pixel >> 609 etc1_uint32 pixel = ((r >> 3) << 11) | ((g >> 2) << 5) | (b >> 3); local [all...] |
/external/clang/lib/Headers/ |
H A D | altivec.h | 61 static vector pixel __ATTRS_o_ai 62 vec_perm(vector pixel __a, vector pixel __b, vector unsigned char __c); 1768 static vector pixel __ATTRS_o_ai 1769 vec_ld(int __a, const vector pixel *__b) 1771 return (vector pixel)__builtin_altivec_lvx(__a, __b); 1878 static vector pixel __ATTRS_o_ai 1879 vec_lvx(int __a, const vector pixel *__b) 1881 return (vector pixel)__builtin_altivec_lvx(__a, __b); 2080 static vector pixel __ATTRS_o_a [all...] |
/external/chromium_org/third_party/libwebp/enc/ |
H A D | backward_references.c | 384 // Alternative#2: Insert the pixel at 'i' as literal, and code the 396 const uint32_t pixel = argb[i]; local 397 // Alternative#2 is a better match. So push pixel at 'i' as literal. 399 if (use_color_cache && VP8LColorCacheContains(&hashers, pixel)) { 400 const int ix = VP8LColorCacheGetIndex(&hashers, pixel); 403 if (use_color_cache) VP8LColorCacheInsert(&hashers, pixel); 404 v = PixOrCopyCreateLiteral(pixel); 407 i++; // Backward reference to be done for next pixel. 421 // Add to the hash_chain (but cannot add the last pixel). 430 const uint32_t pixel local [all...] |