/external/pdfium/core/src/fxge/agg/agg23/ |
H A D | agg_pixfmt_gray.h | 93 AGG_INLINE color_type pixel(int x, int y) const function in class:agg::pixel_formats_gray
|
/external/pdfium/core/src/fxge/dib/ |
H A D | dib_int.h | 49 PixelWeight* GetPixelWeight(int pixel)
argument 51 return (PixelWeight*)(m_pWeightTables + (pixel - m_DestMin) * m_ItemSize);
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/smooth/ |
H A D | ftsmooth.c | 334 FT_UInt pixel = line[xx-1]; local 337 end[-3] = (FT_Byte)pixel; 338 end[-2] = (FT_Byte)pixel; 339 end[-1] = (FT_Byte)pixel;
|
/external/pixman/pixman/ |
H A D | pixman-utils.c | 143 * required to extract them from the source pixel. 170 const uint32_t pixel = src[i]; local 172 dst[i].a = a_mask? ((pixel >> a_shift) & a_mask) * a_mul : 1.0f; 173 dst[i].r = ((pixel >> r_shift) & r_mask) * r_mul; 174 dst[i].g = ((pixel >> g_shift) & g_mask) * g_mul; 175 dst[i].b = ((pixel >> b_shift) & b_mask) * b_mul;
|
/external/pixman/test/ |
H A D | composite.c | 341 uint32_t pixel; local 366 pixel = get_value (dst->image); 370 pixel_checker_split_pixel (&checker, pixel, &a, &r, &g, &b); 372 printf ("Got: %5d %5d %5d %5d [pixel: 0x%08x]\n", r, g, b, a, pixel);
|
/external/qemu/distrib/sdl-1.2.15/src/video/ |
H A D | SDL_blit_0.c | 369 Uint32 pixel; local 376 pixel, dR, dG, dB); 418 Uint32 pixel; local 423 pixel, dR, dG, dB); 448 /* We don't support sub 8-bit packed pixel modes */
|
H A D | SDL_bmp.c | 159 /* Expand 1 and 4 bit bitmaps to 8 bits per pixel */ 286 Uint8 pixel = 0; local 290 if ( !SDL_RWread(src, &pixel, 1, 1) ) { 297 *(bits+i) = (pixel>>shift); 298 pixel <<= ExpandBMP; 413 /* Convert to 24 bits per pixel */
|
H A D | SDL_pixels.c | 24 /* General (mostly internal) pixel/color manipulation routines for SDL */ 35 * Allocate a pixel format structure and fill it according to the given info. 43 /* Allocate an empty pixel format structure */ 320 Uint8 pixel=0; local 329 pixel = i; 336 return(pixel); 339 /* Find the opaque pixel value corresponding to an RGB triple */ 354 /* Find the pixel value corresponding to an RGBA quadruple */ 369 void SDL_GetRGBA(Uint32 pixel, const SDL_PixelFormat * const fmt, argument 383 v = (pixel 403 SDL_GetRGB(Uint32 pixel, const SDL_PixelFormat * const fmt, Uint8 *r,Uint8 *g,Uint8 *b) argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/ |
H A D | SDL_atarigl.c | 1012 unsigned short *line, *pixel; local 1017 pixel = line; 1019 unsigned short color = *pixel; 1021 *pixel++ = (color & 0x1f)|((color>>1) & 0xffe0); 1031 unsigned short *line, *pixel; local 1036 pixel = line; 1038 unsigned short color = *pixel; 1041 *pixel++ = SDL_Swap16(color); 1051 unsigned short *line, *pixel; local 1056 pixel 1070 unsigned long *line, *pixel; local [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | testalpha.c | 70 Uint32 pixel; local 101 /* Get a tranparent pixel value - we'll add alpha later */ 102 pixel = SDL_MapRGBA(light->format, 0xFF, 0xDD, 0x88, 0); 105 *buf++ = pixel; 192 /* Set transparent pixel as the pixel at (0,0) */ 416 printf("Screen is at %d bits per pixel\n",screen->format->BitsPerPixel);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
H A D | ShadowMapView.java | 130 private int scalePixel(int pixel, int minPixel, int maxPixel, int centerDegree, int spanDegrees) { argument 131 int offsetPixels = pixel - minPixel;
|
/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/pdf/ |
H A D | draw_utils.cc | 16 inline uint8 GetBlue(const uint32& pixel) { argument 17 return static_cast<uint8>(pixel & 0xFF); 20 inline uint8 GetGreen(const uint32& pixel) { argument 21 return static_cast<uint8>((pixel >> 8) & 0xFF); 24 inline uint8 GetRed(const uint32& pixel) { argument 25 return static_cast<uint8>((pixel >> 16) & 0xFF); 28 inline uint8 GetAlpha(const uint32& pixel) { argument 29 return static_cast<uint8>((pixel >> 24) & 0xFF); 123 uint32_t* pixel = origin_pixel; local 125 *pixel 269 uint32 pixel = MakePixel(red, green, blue, GetAlpha(background)); local 296 uint32_t* pixel = image->GetAddr32(pp::Point(x, y)); local [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/bmp/ |
H A D | BMPImageReader.h | 187 // Returns the pixel data for the current X coordinate in a uint32_t. 191 // the pixel data will actually be set. 203 uint32_t pixel; local 204 memcpy(&pixel, &m_data->data()[m_decodedOffset + offset], 3); 206 pixel = ((pixel & 0xff00) << 8) | ((pixel & 0xff0000) >> 8) | ((pixel & 0xff000000) >> 24); 208 return pixel; 221 // in the given pixel dat 222 getComponent(uint32_t pixel, int component) const argument [all...] |
/external/chromium_org/third_party/libwebp/dsp/ |
H A D | lossless_neon.c | 33 uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 35 const uint8x16_t tmp = pixel.val[0]; 36 pixel.val[0] = pixel.val[2]; 37 pixel.val[2] = tmp; 38 vst4q_u8(dst, pixel); 48 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 49 const uint8x16x3_t tmp = { { pixel.val[0], pixel.val[1], pixel 60 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_stencil.c | 43 Don't write the pixel (RGBA,Z) 57 * Compute/return the offset of the stencil value in a pixel. 59 * within the 4-byte pixel will be either 0 or 3. 65 GLubyte pixel[MAX_PIXEL_BYTES]; local 70 memset(pixel, 0, sizeof(pixel)); 71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel); 74 if (pixel[i]) 204 * @param mask array [n] of flag: 0=skip the pixel, 1=stencil the pixel, [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTextureCompressor_LATC.cpp | 75 static bool is_extremal(uint8_t pixel) { argument 76 return 0 == pixel || 255 == pixel; 250 // If there's only one unique pixel, then our compression is easy. 256 // with one or zero depending on which pixel they belong to. 273 // 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/chromium_org/ui/base/clipboard/ |
H A D | clipboard_unittest.cc | 350 uint32& pixel = pixel_buffer[i + j * size.width()]; local 351 pixel = SkPreMultiplyColor(pixel); 389 uint32 pixel = SkPreMultiplyColor(bitmap_data[offset]); local 390 EXPECT_EQ(pixel, row_address[i])
|
/external/deqp/framework/common/ |
H A D | tcuFuzzyImageCompare.cpp | 211 static float compareToNeighbor (const FuzzyCompareParams& params, de::Random& rnd, deUint32 pixel, const ConstPixelBufferAccess& surface, int x, int y) argument 216 minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, x, y), params.minErrThreshold)); 241 minErr = deFloatMin(minErr, compareColors(pixel, readUnorm8<NumChannels>(surface, dx, dy), params.minErrThreshold)); 254 minErr = deFloatMin(minErr, compareColors(pixel, sample, params.minErrThreshold));
|
/external/mesa3d/src/mesa/swrast/ |
H A D | s_stencil.c | 43 Don't write the pixel (RGBA,Z) 57 * Compute/return the offset of the stencil value in a pixel. 59 * within the 4-byte pixel will be either 0 or 3. 65 GLubyte pixel[MAX_PIXEL_BYTES]; local 70 memset(pixel, 0, sizeof(pixel)); 71 _mesa_pack_ubyte_stencil_row(format, 1, &one, pixel); 74 if (pixel[i]) 204 * @param mask array [n] of flag: 0=skip the pixel, 1=stencil the pixel, [all...] |
/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/skia/tests/ |
H A D | ImageFilterTest.cpp | 183 uint32_t pixel = *result.getAddr32(0, 0); local 185 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 560 uint32_t pixel = *bitmap.getAddr32(0, 0); local 561 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 579 pixel = *bitmap.getAddr32(0, 0); 581 REPORTER_ASSERT(reporter, pixel != SK_ColorGREEN); 615 uint32_t pixel = *bitmap.getAddr32(0, 0); local 616 REPORTER_ASSERT(reporter, pixel == SK_ColorGREEN); 625 pixel = *bitmap.getAddr32(0, 0); 626 REPORTER_ASSERT(reporter, pixel 691 uint32_t pixel; local 742 uint32_t pixel; local [all...] |
/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/webp/src/dsp/ |
H A D | lossless_neon.c | 33 uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 35 const uint8x16_t tmp = pixel.val[0]; 36 pixel.val[0] = pixel.val[2]; 37 pixel.val[2] = tmp; 38 vst4q_u8(dst, pixel); 48 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local 49 const uint8x16x3_t tmp = { { pixel.val[0], pixel.val[1], pixel 60 const uint8x16x4_t pixel = vld4q_u8((uint8_t*)src); local [all...] |