Home
last modified time | relevance | path

Searched refs:fImage (Results 1 – 25 of 30) sorted by relevance

12

/external/skia/include/core/
DSkMask.h33 uint8_t* fImage; member
61 SkASSERT(fImage != NULL); in getAddr1()
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes; in getAddr1()
72 SkASSERT(fImage != NULL); in getAddr8()
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes; in getAddr8()
84 SkASSERT(fImage != NULL); in getAddrLCD16()
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD16()
97 SkASSERT(fImage != NULL); in getAddrLCD32()
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes); in getAddrLCD32()
137 fImage = maskImage; in SkAutoMaskFreeImage()
[all …]
DSkScalerContext.h33 void* fImage; member
46 fImage = NULL; in init()
/external/skia/src/gpu/mesa/
DSkMesaGLContext.cpp33 , fImage(NULL) { in SkMesaGLContext()
42 if (fImage) { in destroyGLContext()
43 sk_free(fImage); in destroyGLContext()
67 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE * in createGLContext()
69 if (!fImage) { in createGLContext()
77 fImage, in createGLContext()
98 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage, in makeCurrent()
/external/skia/tests/
DAAClipTest.cpp19 if (!a.fImage && !b.fImage) { in operator ==()
22 if (!a.fImage || !b.fImage) { in operator ==()
47 const char* aptr = (const char*)a.fImage; in operator ==()
48 const char* bptr = (const char*)b.fImage; in operator ==()
65 mask->fImage = NULL; in copyToMask()
71 mask->fImage = SkMask::AllocImage(mask->computeImageSize()); in copyToMask()
72 sk_bzero(mask->fImage, mask->computeImageSize()); in copyToMask()
77 bitmap.setPixels(mask->fImage); in copyToMask()
112 SkMask::FreeImage(mask0.fImage); in operator ==()
113 SkMask::FreeImage(mask1.fImage); in operator ==()
[all …]
/external/skia/src/effects/
DSkEmbossMaskFilter.cpp81 if (src.fImage == NULL) { in filterMask()
88 uint8_t* alphaPlane = dst->fImage; in filterMask()
93 dst->fImage = SkMask::AllocImage(planeSize * 3); in filterMask()
94 memcpy(dst->fImage, alphaPlane, planeSize); in filterMask()
113 memcpy(dst->fImage, src.fImage, src.computeImageSize()); in filterMask()
DSkKernel33MaskFilter.cpp18 dst->fImage = NULL; in filterMask()
23 if (NULL == src.fImage) { in filterMask()
32 dst->fImage = SkMask::AllocImage(size); in filterMask()
37 const uint8_t* srcImage = src.fImage; in filterMask()
38 uint8_t* dstImage = dst->fImage; in filterMask()
DSkTableMaskFilter.cpp37 dst->fImage = NULL; in filterMask()
39 if (src.fImage) { in filterMask()
40 dst->fImage = SkMask::AllocImage(dst->computeImageSize()); in filterMask()
42 const uint8_t* srcP = src.fImage; in filterMask()
43 uint8_t* dstP = dst->fImage; in filterMask()
DSkLayerRasterizer.cpp105 mask->fImage = SkMask::AllocImage(size); in onRasterize()
106 memset(mask->fImage, 0, size); in onRasterize()
123 device.setPixels(mask->fImage); in onRasterize()
DSkBlurMask.cpp589 dst->fImage = NULL; in Blur()
591 if (src.fImage) { in Blur()
599 const uint8_t* sp = src.fImage; in Blur()
643 dst->fImage = dp; in Blur()
652 dst->fImage = SkMask::AllocImage(srcSize); in Blur()
653 merge_src_with_blur(dst->fImage, src.fRowBytes, in Blur()
DSkEmbossMask.cpp95 uint8_t* alpha = mask->fImage; in Emboss()
/external/skia/src/core/
DSkScalerContext.cpp27 mask->fImage = (uint8_t*)fImage; in toMask()
320 src.fImage = NULL; // only want the bounds from the filter in getMetrics()
322 SkASSERT(dst.fImage == NULL); in getMetrics()
360 uint16_t* dstP = (uint16_t*)dst.fImage; in copyToLCD16()
395 uint16_t* dstP = (uint16_t*)dst.fImage; in pack3xHToLCD16()
415 SkPMColor* dstP = (SkPMColor*)dst.fImage; in pack3xHToLCD32()
475 bm.setPixels(mask.fImage); in generateMask()
514 tmpGlyph.fImage = origGlyph.fImage; in getImage()
532 sk_bzero(glyph->fImage, mask.computeImageSize()); in getImage()
561 const uint8_t* src = (const uint8_t*)dstM.fImage; in getImage()
[all …]
DSkMaskFilter.cpp31 SkAutoMaskFreeImage autoSrc(srcM.fImage); in filterPath()
36 SkAutoMaskFreeImage autoDst(dstM.fImage); in filterPath()
62 srcM.fImage = NULL; in computeFastBounds()
DSkMask.cpp70 SkASSERT(fImage); in getAddr()
72 char* addr = (char*)fImage; in getAddr()
DSkScan_AntiPath.cpp426 fMask.fImage = (uint8_t*)fStorage; in MaskSuperBlitter()
539 uint8_t* row = fMask.fImage + iy * fMask.fRowBytes + (x >> SHIFT); in blitH()
551 SkASSERT(row >= fMask.fImage); in blitH()
552 SkASSERT(row < fMask.fImage + kMAX_STORAGE + 1); in blitH()
564 SkASSERT(row >= fMask.fImage); in blitH()
565 SkASSERT(row + n + 1 < fMask.fImage + kMAX_STORAGE + 1); in blitH()
DSkGlyphCache.cpp291 if (glyph.fImage == NULL) { in findImage()
293 const_cast<SkGlyph&>(glyph).fImage = fImageAlloc.alloc(size, in findImage()
296 if (glyph.fImage) { in findImage()
306 return glyph.fImage; in findImage()
661 if (glyph->fImage) { in validate()
662 SkASSERT(fImageAlloc.contains(glyph->fImage)); in validate()
DSkDraw.cpp813 dstM.fImage = NULL; in drawDevMask()
815 SkAutoMaskFreeImage ami(dstM.fImage); in drawDevMask()
975 SkMask::FreeImage(mask.fImage); in drawPath()
1050 mask.fImage = bitmap.getAddr8(0, 0); in drawBitmapAsMask()
1083 mask.fImage = (uint8_t*)storage.get(); in drawBitmapAsMask()
1084 memset(mask.fImage, 0, size); in drawBitmapAsMask()
1091 device.setPixels(mask.fImage); in drawBitmapAsMask()
1370 uint8_t* aa = (uint8_t*)glyph.fImage; in D1G_NoBounder_RectClip()
1380 mask.fImage = aa; in D1G_NoBounder_RectClip()
1403 const uint8_t* aa = (const uint8_t*)glyph.fImage; in D1G_NoBounder_RgnClip()
[all …]
DSkRasterizer.cpp29 srcM.fImage = NULL; in rasterize()
DSkBitmap.cpp1310 srcM.fImage = NULL; in extractAlpha()
1332 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize()); in extractAlpha()
1333 SkAutoMaskFreeImage srcCleanup(srcM.fImage); in extractAlpha()
1335 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes); in extractAlpha()
1339 SkAutoMaskFreeImage dstCleanup(dstM.fImage); in extractAlpha()
1349 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize()); in extractAlpha()
DSkAAClip.cpp1763 mask->fImage = NULL; in copyToMask()
1771 mask->fImage = SkMask::AllocImage(size); in copyToMask()
1774 uint8_t* dst = mask->fImage; in copyToMask()
2062 const uint8_t* SK_RESTRICT src = (const uint8_t*)srcMask.fImage; in upscaleBW2A8()
2064 uint8_t* SK_RESTRICT dst = (uint8_t*)dstMask->fImage; in upscaleBW2A8()
2108 grayMask.fImage = NULL; in blitMask()
2114 grayMask.fImage = (uint8_t*)fGrayMaskScratch.reset(size, in blitMask()
2136 rowMask.fImage = (uint8_t*)fScanlineScratch; in blitMask()
2150 mergeProc(src, width, row, initialCount, rowMask.fImage); in blitMask()
/external/skia/samplecode/
DSampleAAClip2.cpp29 SkAutoMaskFreeImage amfi(mask.fImage); in drawClip()
33 bm.setPixels(mask.fImage); in drawClip()
48 SkAutoMaskFreeImage amfi(mask.fImage); in paint_rgn()
52 bm.setPixels(mask.fImage); in paint_rgn()
DSampleAAClip.cpp47 SkAutoMaskFreeImage amfi(mask.fImage); in drawClip()
51 bm.setPixels(mask.fImage); in drawClip()
DSampleStrokePath.cpp49 src.fImage = cell;
64 uint8_t* dstPtr = dst.fImage;
/external/skia/src/pdf/
DSkPDFShader.cpp292 SkBitmap fImage; member in SkPDFShader::State
519 fState.get()->fImage.lockPixels(); in SkPDFImageShader()
537 const SkBitmap* image = &fState.get()->fImage; in SkPDFImageShader()
708 fState.get()->fImage.unlockPixels(); in SkPDFImageShader()
803 bitmapType = shader.asABitmap(&fImage, &matrix, fImageTileModes, NULL); in State()
805 fImage.reset(); in State()
809 fPixelGeneration = fImage.getGenerationID(); in State()
/external/skia/include/gpu/gl/
DSkMesaGLContext.h45 GrGLubyte *fImage; variable
/external/skia/src/ports/
DSkFontHost_win.cpp775 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_bw()
818 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_a8()
833 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd16()
848 SkPMColor* SK_RESTRICT dst = (SkPMColor*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in rgb_to_lcd32()
898 sk_bzero(glyph.fImage, glyph.computeImageSize()); in generateImage()
920 uint8_t* dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB); in generateImage()

12