/external/qemu/distrib/sdl-1.2.15/src/video/photon/ |
SDL_ph_events.c | 248 SDL_Rect src, dst; local 255 dst.x=current_overlay->hwdata->CurrentViewPort.pos.x; 256 dst.y=current_overlay->hwdata->CurrentViewPort.pos.y; 257 dst.w=current_overlay->hwdata->CurrentViewPort.size.w; 258 dst.h=current_overlay->hwdata->CurrentViewPort.size.h; 260 error=ph_DisplayYUVOverlay(this, current_overlay, &src, &dst); 313 SDL_Rect src, dst; local 320 dst.x=current_overlay->hwdata->CurrentViewPort.pos.x; 321 dst.y=current_overlay->hwdata->CurrentViewPort.pos.y; 322 dst.w=current_overlay->hwdata->CurrentViewPort.size.w [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/svga/ |
SDL_svgavideo.c | 497 unsigned char *dst; local 501 dst = vga_getgraphmem(); 521 SDL_memcpy(dst + vp, src, 0x10000 - vp); 524 SDL_memcpy(dst, src + 0x10000 - vp, 531 SDL_memcpy(dst + vp, src, w);
|
/external/qemu/distrib/sdl-1.2.15/src/video/wscons/ |
SDL_wsconsvideo.c | 413 Uint16 *dst = dst_pos; local 415 *dst = *src; 417 dst++; 442 Uint16 *dst = dst_pos; local 447 (Uint8 *)dst, 452 dst += BLOCKSIZE_W;
|
/external/qemu/distrib/sdl-1.2.15/test/ |
testgl.c | 382 SDL_Rect dst; local 441 dst.x = x; 442 dst.y = y; 443 dst.w = w; 444 dst.h = h; 445 SDL_BlitSurface(global_image, NULL, screen, &dst); 448 SDL_UpdateRects(screen, 1, &dst);
|
/external/qemu/slirp/ |
ip_input.c | 509 struct in_addr *sin, dst; local 513 dst = ip->ip_dst; 647 ipaddr.sin_addr = dst;
|
/external/qemu/slirp-android/ |
ip_input.c | 509 ipaddr_t *sin, dst; local 513 dst = ip->ip_dst; 647 ipaddr.sin_addr = dst;
|
/external/skia/bench/ |
DashBench.cpp | 198 SkPath dst; variable 202 fPE->filterPath(&dst, fPath, &rec, NULL); 203 dst.rewind();
|
GameBench.cpp | 125 SkRect dst = { 0, 0, SkIntToScalar(width), SkIntToScalar(height) }; variable 208 canvas->drawBitmapRect(fAtlas, &src, dst, &p, 212 canvas->drawBitmapRect(fCheckerboard, NULL, dst, &p);
|
/external/skia/gm/ |
beziereffects.cpp | 254 SkConic dst[4]; variable 256 int cnt = chop_conic(controlPts, dst, weight); 275 SkPoint* pts = dst[c].fPts; 335 // dst[0] is the original conic. If it returns 2 the dst[0] 336 // and dst[1] are the two new conics. 337 int split_conic(const SkPoint src[3], SkConic dst[2], const SkScalar weight) { 340 if (dst) { 341 dst[0].set(src, weight); 345 if (dst) { [all...] |
poly2poly.cpp | 192 SkPoint src[4], dst[4]; local 196 dst[i].set(SkIntToScalar(idst[2*i+0]), SkIntToScalar(idst[2*i+1])); 200 matrix.setPolyToPoly(src, dst, count);
|
techtalk1.cpp | 16 static void tesselate(const SkPath& src, SkPath* dst) { 23 dst->moveTo(pts[0]); 26 dst->lineTo(pts[1]); 32 dst->lineTo(p); 39 dst->lineTo(p); 195 SkPath src, dst; local 197 tesselate(src, &dst); 198 show_fan(canvas, dst, r.centerX(), r.centerY()); 353 SkRect dst = SkRect::MakeWH(size.width(), size.height()); local 356 matrix.setRectToRect(src, dst, SkMatrix::kCenter_ScaleToFit) [all...] |
/external/skia/include/core/ |
SkTDArray.h | 201 T* dst = fArray + index; local 202 memmove(dst + count, dst, sizeof(T) * (oldCount - index)); 204 memcpy(dst, src, sizeof(T) * count); 206 return dst; 256 * Copies up to max elements into dst. The number of items copied is 259 int copyRange(T* dst, int index, int max) const { 261 SkASSERT(!max || dst); 266 memcpy(dst, fArray + index, sizeof(T) * count); 270 void copy(T* dst) const [all...] |
/external/skia/src/animator/ |
SkMemberInfo.cpp | 156 char* dst = (char*) memberData(displayable); local 158 SkTDScalarArray* array = (SkTDScalarArray* ) dst; 160 dst = (char*) array->begin(); 162 memcpy(dst, values, count * sizeof(SkOperand));
|
/external/skia/src/core/ |
SkBlitter_A8.cpp | 85 #define solid_8_pixels(mask, dst) \ 87 if (mask & 0x80) dst[0] = 0xFF; \ 88 if (mask & 0x40) dst[1] = 0xFF; \ 89 if (mask & 0x20) dst[2] = 0xFF; \ 90 if (mask & 0x10) dst[3] = 0xFF; \ 91 if (mask & 0x08) dst[4] = 0xFF; \ 92 if (mask & 0x04) dst[5] = 0xFF; \ 93 if (mask & 0x02) dst[6] = 0xFF; \ 94 if (mask & 0x01) dst[7] = 0xFF; \ 99 #define SK_BLITBWMASK_BLIT8(mask, dst) solid_8_pixels(mask, dst 392 uint8_t* dst = fDevice.getAddr8(x, y); local 401 uint8_t* dst = fDevice.getAddr8(x, y); local 417 uint8_t* dst = fDevice.getAddr8(x, y); local [all...] |
SkMaskFilter.cpp | 29 static void extractMaskSubset(const SkMask& src, SkMask* dst) { 30 SkASSERT(src.fBounds.contains(dst->fBounds)); 32 const int dx = dst->fBounds.left() - src.fBounds.left(); 33 const int dy = dst->fBounds.top() - src.fBounds.top(); 34 dst->fImage = src.fImage + dy * src.fRowBytes + dx; 35 dst->fRowBytes = src.fRowBytes; 36 dst->fFormat = src.fFormat; 346 GrTexture* dst; local 348 bool result = this->filterMaskGPU(src, maskRect, &dst, canOverwriteSrc); 352 SkAutoUnref aur(dst); [all...] |
SkSpriteBlitter_RGB16.cpp | 16 #define D16_S32A_Opaque_Pixel(dst, sc) \ 19 *dst = SkSrcOver32To16(sc, *dst); \ 23 static inline void D16_S32A_Blend_Pixel_helper(uint16_t* dst, SkPMColor sc, 25 uint16_t dc = *dst; 42 *dst = SkPackRGB16(dr, dg, db); 45 #define D16_S32A_Blend_Pixel(dst, sc, src_scale) \ 46 do { if (sc) D16_S32A_Blend_Pixel_helper(dst, sc, src_scale); } while (0) 58 uint16_t* SK_RESTRICT dst = fDevice->getAddr16(x, y); local 65 memcpy(dst, src, width << 1) 285 uint16_t* SK_RESTRICT dst = fDevice->getAddr16(x, y); local [all...] |
/external/skia/src/images/ |
SkMovie_gif.cpp | 115 static void copyLine(uint32_t* dst, const unsigned char* src, const ColorMapObject* cmap, 118 for (; width > 0; width--, src++, dst++) { 121 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); 135 uint32_t* dst = bm->getAddr32(imageDesc.Left, imageDesc.Top + row); local 136 copyLine(dst, src, cmap, transparent, copyWidth); 181 uint32_t* dst = bm->getAddr32(frame->ImageDesc.Left, frame->ImageDesc.Top); local 193 copyLine(dst, src, cmap, transparent, copyWidth); 195 dst += width; 204 uint32_t* dst = bm->getAddr32(left, top); local 216 sk_memset32(dst, col, copyWidth) 333 uint32_t* dst = backup->getAddr32(0, 0); local [all...] |
/external/skia/src/pdf/ |
SkPDFImage.cpp | 52 uint8_t* dst = (uint8_t*)stream->getMemoryBase(); local 55 memcpy(dst, bitmap.getAddr8(srcRect.fLeft, y), rowBytes); 56 dst += rowBytes; 67 uint8_t* dst = NULL; local 76 dst = (uint8_t*)stream->getMemoryBase(); 83 dst[0] = (SkGetPackedA4444(src[x]) << 4) | 85 *isOpaque &= dst[0] == SK_AlphaOPAQUE; 86 *isTransparent &= dst[0] == SK_AlphaTRANSPARENT; 87 dst++; 89 dst[0] = (SkGetPackedR4444(src[x]) << 4) 121 uint8_t* dst = (uint8_t*)stream->getMemoryBase(); local 147 uint8_t* dst = (uint8_t*)stream->getMemoryBase(); local 385 uint16_t* dst = outBitmap.getAddr16(0, dstRow); local 413 uint32_t* dst = outBitmap.getAddr32(0, dstRow); local [all...] |
/external/skia/src/ports/ |
SkImageDecoder_CG.cpp | 232 CGImageDestinationRef dst = SkStreamToImageDestination(stream, type); local 233 if (NULL == dst) { 236 SkAutoTCallVProc<const void, CFRelease> ardst(dst); 244 CGImageDestinationAddImage(dst, image, NULL); 245 return CGImageDestinationFinalize(dst);
|
/external/skia/src/utils/ |
SkInterpolator.cpp | 180 SkScalar* dst = &fValues[fElemCount * index]; local 181 memcpy(dst, values, fElemCount * sizeof(SkScalar));
|
SkJSON.cpp | 39 char* dst = alloc_string(len); local 40 memcpy(dst, src, len); 41 return dst;
|
/external/skia/src/utils/debugger/ |
SkDrawCommand.cpp | 137 SkRect dst = SkRect::MakeXYWH(SK_Scalar1, SK_Scalar1, local 142 canvas->drawBitmapRect(input, NULL, dst); 315 const SkRect& dst, const SkPaint* paint) { 318 fDst = dst; 329 fInfo.push(SkObjectParser::RectToString(dst, "Dst: ")); 345 const SkRect& dst, const SkPaint* paint, 353 fDst = dst; 369 fInfo.push(SkObjectParser::RectToString(dst, "Dst: ")) [all...] |
/external/skia/tests/ |
BitmapCopyTest.cpp | 23 const SkBitmap& dst) { 25 str.printf("src %s opaque:%d, dst %s opaque:%d", 27 gConfigName[dst.config()], dst.isOpaque()); 39 SkBitmap dst; local 42 REPORTER_ASSERT(reporter, srcPremul.copyTo(&dst, dstConfig)); 43 REPORTER_ASSERT(reporter, dst.config() == dstConfig); 44 if (srcPremul.isOpaque() != dst.isOpaque()) { 45 report_opaqueness(reporter, srcPremul, dst); 49 REPORTER_ASSERT(reporter, srcOpaque.copyTo(&dst, dstConfig)) 227 SkBitmap srcOpaque, srcPremul, dst; local [all...] |
DrawBitmapRectTest.cpp | 313 SkBitmap src, dst; local 316 create(&dst, SkBitmap::kARGB_8888_Config, 0); 318 SkCanvas canvas(dst); 326 REPORTER_ASSERT(reporter, check_for_all_zeros(dst));
|
PaintTest.cpp | 19 static size_t uni_to_utf8(const SkUnichar src[], void* dst, int count) { 20 char* u8 = (char*)dst; 25 return u8 - (char*)dst; 28 static size_t uni_to_utf16(const SkUnichar src[], void* dst, int count) { 29 uint16_t* u16 = (uint16_t*)dst; 34 return (char*)u16 - (char*)dst; 37 static size_t uni_to_utf32(const SkUnichar src[], void* dst, int count) { 38 SkUnichar* u32 = (SkUnichar*)dst; 64 SkUnichar dst[NGLYPHS]; // used for utf8, utf16, utf32 storage local 67 size_t (*fSeedTextProc)(const SkUnichar[], void* dst, int count) [all...] |