/bootable/bootloader/legacy/arch_msm7k/ |
mddi_console.c | 35 static void drawglyph(unsigned short *pixels, unsigned short paint, 44 if(data & 1) *pixels = paint; 46 pixels++; 48 pixels += stride; 53 if(data & 1) *pixels = paint; 55 pixels++; 57 pixels += stride; 64 unsigned short *pixels = mddi_framebuffer(); 71 drawglyph(pixels + y*stride + x, paint, stride, font5x12 + c); 105 unsigned short *pixels; local [all...] |
/external/icu4c/layout/ |
AnchorTables.cpp | 56 LEPoint pixels; local 58 fontInstance->transformFunits(x, y, pixels); 60 fontInstance->pixelsToUnits(pixels, anchor); 82 LEPoint pixels; local 86 fontInstance->transformFunits(x, y, pixels); 92 pixels.fX += adjx; 99 pixels.fY += adjy; 102 fontInstance->pixelsToUnits(pixels, anchor);
|
ValueRecords.cpp | 47 LEPoint pixels; local 49 fontInstance->transformFunits(value, 0, pixels); 51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 57 LEPoint pixels; local 59 fontInstance->transformFunits(0, value, pixels); 61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); 62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); 67 LEPoint pixels; local 69 fontInstance->transformFunits(value, 0, pixels); 77 LEPoint pixels; local 151 LEPoint pixels; local 161 LEPoint pixels; local 171 LEPoint pixels; local 181 LEPoint pixels; local [all...] |
MarkToBasePosnSubtables.cpp | 67 LEPoint baseAnchor, markAdvance, pixels; local 77 fontInstance->getGlyphAdvance(markGlyph, pixels); 78 fontInstance->pixelsToUnits(pixels, markAdvance); 92 fontInstance->getGlyphAdvance(baseGlyph, pixels); 101 pixels.fX += px.fX; // and add that to the base glyph's advance 102 pixels.fY += px.fY; 107 fontInstance->pixelsToUnits(pixels, baseAdvance);
|
MarkToMarkPosnSubtables.cpp | 66 LEPoint mark2Anchor, markAdvance, pixels; local 75 fontInstance->getGlyphAdvance(markGlyph, pixels); 76 fontInstance->pixelsToUnits(pixels, markAdvance); 88 fontInstance->getGlyphAdvance(mark2Glyph, pixels); 89 fontInstance->pixelsToUnits(pixels, mark2Advance);
|
MarkToLigaturePosnSubtables.cpp | 77 LEPoint ligatureAnchor, markAdvance, pixels; local 81 fontInstance->getGlyphAdvance(markGlyph, pixels); 82 fontInstance->pixelsToUnits(pixels, markAdvance); 94 fontInstance->getGlyphAdvance(ligatureGlyph, pixels); 95 fontInstance->pixelsToUnits(pixels, ligatureAdvance);
|
LEFontInstance.cpp | 131 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const 133 units.fX = xPixelsToUnits(pixels.fX); 134 units.fY = yPixelsToUnits(pixels.fY); 137 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const 139 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX(); 140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
|
GlyphPositionAdjustments.cpp | 92 LEPoint entryAnchor, exitAnchor, pixels; local 120 fontInstance->getGlyphAdvance(glyphID, pixels); 121 fontInstance->pixelsToUnits(pixels, secondAdvance); 127 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels); 128 fontInstance->pixelsToUnits(pixels, firstAdvance);
|
/sdk/draw9patch/src/com/android/draw9patch/graphics/ |
GraphicsUtilities.java | 76 public static int[] getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) { 81 if (pixels == null) { 82 pixels = new int[w * h]; 83 } else if (pixels.length < w * h) { 84 throw new IllegalArgumentException("Pixels array must have a length >= w * h"); 90 return (int[]) raster.getDataElements(x, y, w, h, pixels); 94 return img.getRGB(x, y, w, h, pixels, 0, w);
|
/sdk/ninepatch/src/com/android/ninepatch/ |
GraphicsUtilities.java | 82 public static int[] getPixels(BufferedImage img, int x, int y, int w, int h, int[] pixels) { 87 if (pixels == null) { 88 pixels = new int[w * h]; 89 } else if (pixels.length < w * h) { 90 throw new IllegalArgumentException("Pixels array must have a length >= w * h"); 96 return (int[]) raster.getDataElements(x, y, w, h, pixels); 100 return img.getRGB(x, y, w, h, pixels, 0, w);
|
/external/qemu/android/skin/ |
surface.h | 55 * the content of 'pixels' is copied into a heap-allocated buffer. otherwise 62 uint32_t* pixels, 65 /* surface pixels information for slow surfaces */ 70 uint32_t* pixels; member in struct:__anon5894
|
image.c | 219 void* pixels; /* 32-bit ARGB */ member in struct:SkinImage 242 if (image->pixels) { 243 free( image->pixels ); 244 image->pixels = NULL; 309 * the values as 32-bit ARGB pixels, so swap the bytes accordingly depending 329 image->pixels = data; 333 image->surface = sdl_surface_from_argb32( image->pixels, w, h ); 389 D( "skin_image_cache: remove '%s' (rot=%d), %d pixels\n", 507 node->pixels = rotate_image( parent->pixels, parent->w, parent->h [all...] |
/frameworks/base/services/camera/libcameraservice/ |
FakeCamera.cpp | 106 * G = (pixels >> 3) & 0xFC; 107 * R = (pixels >> 8) & 0xF8; 108 * B = (pixels & 0x1f) << 3; 110 * R2 = (pixels >> 11) R = R2*8 111 * B2 = (pixels & 0x1f) B = B2*8 219 uint16_t pixels; local 237 pixels = inputRGB[i]; 238 temp = (BETA*(pixels & 0x001F) + ALPHA*(pixels>>11) ); 239 y0 = y_tab[(temp>>SHIFT1) + ((pixels>>3) & 0x00FC)] [all...] |
/external/jpeg/ |
jmorecfg.h | 26 #define WRITE_TWO_PIXELS(addr, pixels) do { \ 27 ((INT16*)(addr))[0] = (pixels); \ 28 ((INT16*)(addr))[1] = (pixels)>>16; \ 30 #define WRITE_TWO_ALIGNED_PIXELS(addr, pixels) ((*(INT32*)(addr)) = pixels)
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
SDL_gsyuv.c | 49 Uint8 *pixels; member in struct:private_yuvhwdata 89 /* We can only decode blocks of 16x16 pixels */ 96 SDL_SetError("Overlay too large (maximum size: %d pixels)", 140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2); 141 if ( hwdata->pixels == NULL ) { 150 overlay->pixels = hwdata->planes; 157 overlay->pixels[0] = hwdata->pixels; 158 overlay->pixels[1] = overlay->pixels[0] [all...] |
SDL_gsmouse.c | 71 saved_pixels = screen->pixels; 72 screen->pixels = mapped_mem + screen->offset; 92 if ( (SDL_cursorstate & CURSOR_VISIBLE) && screen->pixels ) { 98 screen->pixels = saved_pixels;
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
SDL_QuartzWindow.m | 42 Uint32 *pixels = (Uint32*) surface->pixels; 49 pixels[ (i * rowPixels) + j ] |= 0xFF000000; 89 /* make sure pixels are fully opaque */ 129 /* If not OpenGL, we have to update the pixels and pitch */ 135 SDL_VideoSurface->pixels = GetPixBaseAddr ( GetPortPixMap ( thePort ) ); 139 SDL_VideoSurface->pixels now points to the window's pixels 140 We want it to point to the *view's* pixels 148 SDL_VideoSurface->pixels = (Uint8 *)SDL_VideoSurface->pixels + (vOffset * SDL_VideoSurface->pitch) + hOffset * (device_bpp/ (…) [all...] |
SDL_QuartzWM.m | 55 /* copy data and mask, extending the mask to all black pixels because the inversion effect doesn't work with Cocoa's alpha-blended cursors */ 373 /* we need to compute which screen has the most window pixels */ 422 Uint8 *pixels; 431 pixels = [ imgrep bitmapData ]; 432 SDL_memset(pixels, 0, 4*icon->w*icon->h); /* make the background, which will survive in colorkeyed areas, completely transparent */ 439 mergedSurface = SDL_CreateRGBSurfaceFrom(pixels, icon->w, icon->h, 32, 4*icon->w, BYTEORDER_DEPENDENT_RGBA_MASKS); 457 pixels[index + 3] = 0; 461 if (icon->format->Amask == 0) pixels[index + 3] = icon->format->alpha; 464 pixels[index + 3] = 255; 467 if (pixels[index + 3] < 255) [all...] |
SDL_QuartzYUV.m | 96 SDL_free (overlay->pixels); 250 Uint8 **pixels; 270 pixels = (Uint8**) SDL_malloc (sizeof(*pixels) * 3); 272 if (pixels == NULL || pitches == NULL) { 292 pixels[0] = (Uint8*)yuv_pixmap + offset; 293 /* CHECK_ALIGN(pixels[0]); */ 300 pixels[plane2] = (Uint8*)yuv_pixmap + offset; 306 pixels[plane3] = (Uint8*)yuv_pixmap + offset; 311 overlay->pixels = pixels [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
SDL_DirectFB_yuv.c | 192 overlay->pixels = hwdata->planes; 224 overlay->pixels[0] = (Uint8*) data; 233 overlay->pixels[1] = overlay->pixels[0] + overlay->pitches[0] * overlay->h; 234 overlay->pixels[2] = overlay->pixels[1] + overlay->pitches[1] * overlay->h / 2; 248 overlay->pixels[0] = overlay->pixels[1] = overlay->pixels[2] = NULL;
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
SDL_cgximage.c | 70 LBMI_BASEADDRESS,(ULONG)&screen->pixels, 85 D(bug("Accel video image configured (%lx, pitch %ld).\n",screen->pixels,screen->pitch)); 89 screen->pixels = SDL_malloc(screen->h*screen->pitch); 91 if ( screen->pixels == NULL ) { 96 SDL_Ximage=screen->pixels; 115 screen->pixels = NULL; 202 surface->pixels=NULL; 218 LBMI_BASEADDRESS,(ULONG)&surface->pixels, 227 surface->pixels=((char *)surface->pixels)+(surface->pitch*(SDL_Window->BorderTop+SDL_Window->TopEdge) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapDecode.java | 93 int[] pixels = new int[w*h]; local 94 mBitmap2.getPixels(pixels, 0, w, 0, 0, w, h); 95 mBitmap3 = Bitmap.createBitmap(pixels, 0, w, w, h, 97 mBitmap4 = Bitmap.createBitmap(pixels, 0, w, w, h,
|
/external/chromium/base/ |
linux_util.h | 19 // Makes a copy of |pixels| with the ordering changed from BGRA to RGBA. 22 uint8_t* BGRAToRGBA(const uint8_t* pixels, int width, int height, int stride);
|
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
SDL_nullvideo.c | 191 current->pixels = this->hidden->buffer; 234 if (this->screen->pixels != NULL) 236 SDL_free(this->screen->pixels); 237 this->screen->pixels = NULL;
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
SDL_svgavideo.c | 347 /* Free old pixels if we were in banked mode */ 348 if ( banked && current->pixels ) { 349 free(current->pixels); 350 current->pixels = NULL; 402 current->pixels = SDL_malloc(current->h * current->pitch); 403 if ( !current->pixels ) { 408 current->pixels = vga_getgraphmem(); 479 surface->pixels=flip_address[flip_page]; 510 src = (unsigned char *)this->screen->pixels + vp; 578 if ( banked && this->screen->pixels ) { [all...] |