/external/icu4c/layout/ |
D | ValueRecords.cpp | 47 LEPoint pixels; in adjustPosition() local 49 fontInstance->transformFunits(value, 0, pixels); in adjustPosition() 51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition() 52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition() 57 LEPoint pixels; in adjustPosition() local 59 fontInstance->transformFunits(0, value, pixels); in adjustPosition() 61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX); in adjustPosition() 62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY); in adjustPosition() 67 LEPoint pixels; in adjustPosition() local 69 fontInstance->transformFunits(value, 0, pixels); in adjustPosition() [all …]
|
D | AnchorTables.cpp | 56 LEPoint pixels; in getAnchor() local 58 fontInstance->transformFunits(x, y, pixels); in getAnchor() 60 fontInstance->pixelsToUnits(pixels, anchor); in getAnchor() 82 LEPoint pixels; in getAnchor() local 86 fontInstance->transformFunits(x, y, pixels); in getAnchor() 92 pixels.fX += adjx; in getAnchor() 99 pixels.fY += adjy; in getAnchor() 102 fontInstance->pixelsToUnits(pixels, anchor); in getAnchor()
|
D | MarkToBasePosnSubtables.cpp | 67 LEPoint baseAnchor, markAdvance, pixels; in process() local 77 fontInstance->getGlyphAdvance(markGlyph, pixels); in process() 78 fontInstance->pixelsToUnits(pixels, markAdvance); in process() 92 fontInstance->getGlyphAdvance(baseGlyph, pixels); in process() 101 pixels.fX += px.fX; // and add that to the base glyph's advance in process() 102 pixels.fY += px.fY; in process() 107 fontInstance->pixelsToUnits(pixels, baseAdvance); in process()
|
D | LEFontInstance.cpp | 131 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const in pixelsToUnits() argument 133 units.fX = xPixelsToUnits(pixels.fX); in pixelsToUnits() 134 units.fY = yPixelsToUnits(pixels.fY); in pixelsToUnits() 137 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const in transformFunits() 139 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX(); in transformFunits() 140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY(); in transformFunits()
|
D | MarkToMarkPosnSubtables.cpp | 66 LEPoint mark2Anchor, markAdvance, pixels; in process() local 75 fontInstance->getGlyphAdvance(markGlyph, pixels); in process() 76 fontInstance->pixelsToUnits(pixels, markAdvance); in process() 88 fontInstance->getGlyphAdvance(mark2Glyph, pixels); in process() 89 fontInstance->pixelsToUnits(pixels, mark2Advance); in process()
|
D | MarkToLigaturePosnSubtables.cpp | 77 LEPoint ligatureAnchor, markAdvance, pixels; in process() local 81 fontInstance->getGlyphAdvance(markGlyph, pixels); in process() 82 fontInstance->pixelsToUnits(pixels, markAdvance); in process() 94 fontInstance->getGlyphAdvance(ligatureGlyph, pixels); in process() 95 fontInstance->pixelsToUnits(pixels, ligatureAdvance); in process()
|
/external/qemu/distrib/sdl-1.2.12/src/video/ps2gs/ |
D | SDL_gsyuv.c | 49 Uint8 *pixels; member 140 hwdata->pixels = (Uint8 *)SDL_malloc(width*height*2); in GS_CreateYUVOverlay() 141 if ( hwdata->pixels == NULL ) { in GS_CreateYUVOverlay() 150 overlay->pixels = hwdata->planes; in GS_CreateYUVOverlay() 157 overlay->pixels[0] = hwdata->pixels; in GS_CreateYUVOverlay() 158 overlay->pixels[1] = overlay->pixels[0] + in GS_CreateYUVOverlay() 160 overlay->pixels[2] = overlay->pixels[1] + in GS_CreateYUVOverlay() 336 lum = (Uint32 *)overlay->pixels[0]; in GS_DisplayYUVOverlay() 337 Cr = (Uint32 *)overlay->pixels[1]; in GS_DisplayYUVOverlay() 338 Cb = (Uint32 *)overlay->pixels[2]; in GS_DisplayYUVOverlay() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
D | SDL_cgximage.c | 70 LBMI_BASEADDRESS,(ULONG)&screen->pixels, in CGX_SetupImage() 85 D(bug("Accel video image configured (%lx, pitch %ld).\n",screen->pixels,screen->pitch)); in CGX_SetupImage() 89 screen->pixels = SDL_malloc(screen->h*screen->pitch); in CGX_SetupImage() 91 if ( screen->pixels == NULL ) { in CGX_SetupImage() 96 SDL_Ximage=screen->pixels; in CGX_SetupImage() 115 screen->pixels = NULL; in CGX_DestroyImage() 202 surface->pixels=NULL; in CGX_FreeHWSurface() 218 LBMI_BASEADDRESS,(ULONG)&surface->pixels, in CGX_LockHWSurface() 227 …surface->pixels=((char *)surface->pixels)+(surface->pitch*(SDL_Window->BorderTop+SDL_Window->TopEd… in CGX_LockHWSurface() 289 spot = (Uint16 *) ((Uint8 *)screen->pixels + in CGX_SwapAllPixels() [all …]
|
/external/qemu/android/skin/ |
D | image.c | 219 void* pixels; /* 32-bit ARGB */ member 242 if (image->pixels) { in skin_image_free() 243 free( image->pixels ); in skin_image_free() 244 image->pixels = NULL; in skin_image_free() 329 image->pixels = data; in skin_image_load() 333 image->surface = sdl_surface_from_argb32( image->pixels, w, h ); in skin_image_load() 507 node->pixels = rotate_image( parent->pixels, parent->w, parent->h, in skin_image_create() 513 if (node->pixels == NULL) { in skin_image_create() 519 blend_image( node->pixels, node->pixels, node->w, node->h, desc->blend ); in skin_image_create() 521 node->surface = sdl_surface_from_argb32( node->pixels, node->w, node->h ); in skin_image_create() [all …]
|
D | surface.c | 27 uint32_t* pixels; member 114 void* pixels, in _sdl_surface_create_rgb_from() argument 130 return SDL_CreateRGBSurfaceFrom( pixels, width, height, pitch, depth, in _sdl_surface_create_rgb_from() 137 void* pixels ) in _skin_surface_create() argument 142 s->pixels = pixels; in _skin_surface_create() 149 free(pixels); in _skin_surface_create() 194 uint32_t* pixels, in skin_surface_create_argb32_from() argument 208 memcpy( pixcopy, pixels, size ); in skin_surface_create_argb32_from() 212 pixcopy ? pixcopy : pixels, in skin_surface_create_argb32_from() 239 pix->pixels = s->surface->pixels; in skin_surface_lock() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/ |
D | SDL_surface.c | 113 surface->pixels = NULL; in SDL_CreateRGBSurface() 126 surface->pixels = SDL_malloc(surface->h*surface->pitch); in SDL_CreateRGBSurface() 127 if ( surface->pixels == NULL ) { in SDL_CreateRGBSurface() 133 SDL_memset(surface->pixels, 0, surface->h*surface->pitch); in SDL_CreateRGBSurface() 154 SDL_Surface * SDL_CreateRGBSurfaceFrom (void *pixels, in SDL_CreateRGBSurfaceFrom() argument 164 surface->pixels = pixels; in SDL_CreateRGBSurfaceFrom() 318 buf = (Uint8 *)surface->pixels + row * surface->pitch + offset; in SDL_SetAlphaChannel() 603 row = (Uint8 *)dst->pixels+dstrect->y*dst->pitch+ in SDL_FillRect() 689 Uint16 *pixels = (Uint16 *)row; in SDL_FillRect() local 693 if((uintptr_t)pixels & 3) { in SDL_FillRect() [all …]
|
D | SDL_yuv_sw.c | 104 Uint8 *pixels; member 988 swdata->pixels = (Uint8 *) SDL_malloc(width*height*2); in SDL_CreateYUV_SW() 998 if ( ! swdata->pixels || ! swdata->colortab || ! swdata->rgb_2_pix ) { in SDL_CreateYUV_SW() 1127 overlay->pixels = swdata->planes; in SDL_CreateYUV_SW() 1134 overlay->pixels[0] = swdata->pixels; in SDL_CreateYUV_SW() 1135 overlay->pixels[1] = overlay->pixels[0] + in SDL_CreateYUV_SW() 1137 overlay->pixels[2] = overlay->pixels[1] + in SDL_CreateYUV_SW() 1145 overlay->pixels[0] = swdata->pixels; in SDL_CreateYUV_SW() 1215 lum = overlay->pixels[0]; in SDL_DisplayYUV_SW() 1216 Cr = overlay->pixels[1]; in SDL_DisplayYUV_SW() [all …]
|
D | SDL_cursor.c | 373 const Uint32 pixels[2] = { 0xFFFFFFFF, 0x00000000 }; in SDL_DrawCursorFast() local 391 dst = (Uint8 *)screen->pixels + in SDL_DrawCursorFast() 418 dst = (Uint16 *)screen->pixels + in SDL_DrawCursorFast() 429 *dst = (Uint16)pixels[datab>>7]; in SDL_DrawCursorFast() 445 dst = (Uint8 *)screen->pixels + in SDL_DrawCursorFast() 456 SDL_memset(dst,pixels[datab>>7],3); in SDL_DrawCursorFast() 472 dst = (Uint32 *)screen->pixels + in SDL_DrawCursorFast() 483 *dst = pixels[datab>>7]; in SDL_DrawCursorFast() 499 const Uint32 pixels[2] = { 0xFFFFFF, 0x000000 }; in SDL_DrawCursorSlow() local 510 dst = (Uint8 *)screen->pixels + in SDL_DrawCursorSlow() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/ |
D | 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)… 167 /* make sure pixels are fully opaque */
|
D | 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;
|
D | SDL_QuartzWM.m | 55 …/* copy data and mask, extending the mask to all black pixels because the inversion effect doesn't… 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… 439 …mergedSurface = SDL_CreateRGBSurfaceFrom(pixels, icon->w, icon->h, 32, 4*icon->w, BYTEORDER_DEPEND… 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 …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/directfb/ |
D | SDL_DirectFB_yuv.c | 192 overlay->pixels = hwdata->planes; in DirectFB_CreateYUVOverlay() 224 overlay->pixels[0] = (Uint8*) data; in DirectFB_LockYUVOverlay() 233 overlay->pixels[1] = overlay->pixels[0] + overlay->pitches[0] * overlay->h; in DirectFB_LockYUVOverlay() 234 overlay->pixels[2] = overlay->pixels[1] + overlay->pitches[1] * overlay->h / 2; in DirectFB_LockYUVOverlay() 248 overlay->pixels[0] = overlay->pixels[1] = overlay->pixels[2] = NULL; in DirectFB_UnlockYUVOverlay()
|
/external/jpeg/ |
D | jmorecfg.h | 26 #define WRITE_TWO_PIXELS(addr, pixels) do { \ argument 27 ((INT16*)(addr))[0] = (pixels); \ 28 ((INT16*)(addr))[1] = (pixels)>>16; \ 30 #define WRITE_TWO_ALIGNED_PIXELS(addr, pixels) ((*(INT32*)(addr)) = pixels) argument
|
/external/qemu/distrib/sdl-1.2.12/src/video/svga/ |
D | SDL_svgavideo.c | 348 if ( banked && current->pixels ) { in SVGA_SetVideoMode() 349 free(current->pixels); in SVGA_SetVideoMode() 350 current->pixels = NULL; in SVGA_SetVideoMode() 402 current->pixels = SDL_malloc(current->h * current->pitch); in SVGA_SetVideoMode() 403 if ( !current->pixels ) { in SVGA_SetVideoMode() 408 current->pixels = vga_getgraphmem(); in SVGA_SetVideoMode() 479 surface->pixels=flip_address[flip_page]; in SVGA_FlipHWSurface() 510 src = (unsigned char *)this->screen->pixels + vp; in SVGA_BankedUpdate() 578 if ( banked && this->screen->pixels ) { in SVGA_VideoQuit() 579 SDL_free(this->screen->pixels); in SVGA_VideoQuit() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/epoc/ |
D | SDL_epocvideo.cpp | 356 if (current && current->pixels) { in EPOC_SetVideoMode() 357 SDL_free(current->pixels); in EPOC_SetVideoMode() 358 current->pixels = NULL; in EPOC_SetVideoMode() 373 current->pixels = SDL_malloc(width * height * numBytesPerPixel); in EPOC_SetVideoMode() 374 SDL_memset(current->pixels, 0, width * height * numBytesPerPixel); in EPOC_SetVideoMode() 544 TUint16* bitmapLine = (TUint16*)_this->screen->pixels + sourceStartOffset; in EPOC_DirectUpdate() 552 __ASSERT_DEBUG(bitmapLine < ((TUint16*)_this->screen->pixels + in EPOC_DirectUpdate() 555 __ASSERT_DEBUG(bitmapLine >= (TUint16*)_this->screen->pixels, in EPOC_DirectUpdate() 564 TUint8* bitmapLine = (TUint8*)_this->screen->pixels + sourceStartOffset; in EPOC_DirectUpdate() 576 __ASSERT_DEBUG(bitmapPos < ((TUint8*)_this->screen->pixels + in EPOC_DirectUpdate() [all …]
|
/external/quake/quake/src/QW/client/ |
D | gl_rmisc.c | 241 unsigned pixels[512*256], *out; in R_TranslatePlayerSkin() local 341 out2 = (byte *)pixels; in R_TranslatePlayerSkin() 342 memset(pixels, 0, sizeof(pixels)); in R_TranslatePlayerSkin() 361 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin() 368 out = pixels; in R_TranslatePlayerSkin() 369 memset(pixels, 0, sizeof(pixels)); in R_TranslatePlayerSkin() 390 GL_UNSIGNED_BYTE, pixels); in R_TranslatePlayerSkin()
|
/external/quake/quake/src/WinQuake/ |
D | gl_rmisc.cpp | 249 unsigned* pixels; in R_TranslatePlayerSkin() local 330 pixels = (unsigned*) malloc(PIXELS_SIZE); in R_TranslatePlayerSkin() 331 if(!pixels) in R_TranslatePlayerSkin() 339 out2 = (byte *)pixels; in R_TranslatePlayerSkin() 340 memset(pixels, 0, PIXELS_SIZE); in R_TranslatePlayerSkin() 359 GL_Upload8_EXT ((byte *)pixels, scaled_width, scaled_height, false, false); in R_TranslatePlayerSkin() 367 out = pixels; in R_TranslatePlayerSkin() 385 …TEXTURE_2D, 0, gl_solid_format, scaled_width, scaled_height, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels); in R_TranslatePlayerSkin() 392 free(pixels); in R_TranslatePlayerSkin()
|
/external/webkit/SunSpider/tests/sunspider-0.9.1/ |
D | 3d-raytrace.js | 292 function renderRows(camera, scene, pixels, width, height, starty, stopy) { argument 300 pixels[y][x] = l; 305 Camera.prototype.render = function(scene, pixels, width, height) { argument 308 renderRows(cam, scene, pixels, width, height, 0, height); 391 var pixels = new Array(); 393 pixels[y] = new Array(); 395 pixels[y][x] = 0; 400 _camera.render(_scene, pixels, size, size); 402 return pixels; 405 function arrayToCanvasCommands(pixels) argument [all …]
|
/external/webkit/SunSpider/tests/sunspider-0.9/ |
D | 3d-raytrace.js | 292 function renderRows(camera, scene, pixels, width, height, starty, stopy) { argument 300 pixels[y][x] = l; 305 Camera.prototype.render = function(scene, pixels, width, height) { argument 308 renderRows(cam, scene, pixels, width, height, 0, height); 391 var pixels = new Array(); 393 pixels[y] = new Array(); 395 pixels[y][x] = 0; 400 _camera.render(_scene, pixels, size, size); 402 return pixels; 405 function arrayToCanvasCommands(pixels) argument [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/video/photon/ |
D | SDL_ph_image.c | 103 screen->pixels = SDL_Image->image; in ph_SetupImage() 176 screen->pixels = OCImage.CurrentFrameData; in ph_SetupOCImage() 245 screen->pixels = OCImage.FrameData0; in ph_SetupFullScreenImage() 254 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch); in ph_SetupFullScreenImage() 258 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch); in ph_SetupFullScreenImage() 260 screen->pixels+=screen->pitch*40; in ph_SetupFullScreenImage() 269 screen->pixels = OCImage.FrameData0; in ph_SetupFullScreenImage() 278 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch); in ph_SetupFullScreenImage() 282 SDL_memset(screen->pixels+screen->pitch*i, 0x00, screen->pitch); in ph_SetupFullScreenImage() 284 screen->pixels+=screen->pitch*40; in ph_SetupFullScreenImage() [all …]
|