Searched refs:fImage (Results 1 - 25 of 35) sorted by relevance

12

/external/skia/include/core/
H A DSkMask.h33 uint8_t* fImage; member in struct:SkMask
61 SkASSERT(fImage != NULL);
62 return fImage + ((x - fBounds.fLeft) >> 3) + (y - fBounds.fTop) * fRowBytes;
72 SkASSERT(fImage != NULL);
73 return fImage + x - fBounds.fLeft + (y - fBounds.fTop) * fRowBytes;
84 SkASSERT(fImage != NULL);
85 uint16_t* row = (uint16_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
97 SkASSERT(fImage != NULL);
98 uint32_t* row = (uint32_t*)(fImage + (y - fBounds.fTop) * fRowBytes);
131 * Stack class used to manage the fImage buffe
145 uint8_t* fImage; member in class:SkAutoMaskFreeImage
[all...]
H A DSkScalerContext.h38 void* fImage; member in struct:SkGlyph
51 fImage = NULL;
113 fImage, fPath, fID, fMaskFormat fields.
/external/skia/src/gpu/mesa/
H A DSkMesaGLContext.cpp33 , fImage(NULL) {
42 if (fImage) {
43 sk_free(fImage);
67 fImage = (GrGLubyte *) sk_malloc_throw(gBOGUS_SIZE * gBOGUS_SIZE *
69 if (!fImage) {
77 fImage,
98 if (!OSMesaMakeCurrent((OSMesaContext)fContext, fImage,
/external/skia/src/core/
H A DSkMaskFilter.cpp31 SkAutoMaskFreeImage autoSrc(srcM.fImage);
36 SkAutoMaskFreeImage autoDst(dstM.fImage);
62 srcM.fImage = NULL;
H A DSkMask.cpp70 SkASSERT(fImage);
72 char* addr = (char*)fImage;
H A DSkRasterizer.cpp29 srcM.fImage = NULL;
H A DSkScalerContext.cpp27 mask->fImage = (uint8_t*)fImage;
338 src.fImage = NULL; // only want the bounds from the filter
340 SkASSERT(dst.fImage == NULL);
378 uint16_t* dstP = (uint16_t*)dst.fImage;
413 uint16_t* dstP = (uint16_t*)dst.fImage;
433 SkPMColor* dstP = (SkPMColor*)dst.fImage;
493 bm.setPixels(mask.fImage);
532 tmpGlyph.fImage = origGlyph.fImage;
[all...]
H A DSkGlyphCache.cpp291 if (glyph.fImage == NULL) {
293 const_cast<SkGlyph&>(glyph).fImage = fImageAlloc.alloc(size,
296 if (glyph.fImage) {
306 return glyph.fImage;
661 if (glyph->fImage) {
662 SkASSERT(fImageAlloc.contains(glyph->fImage));
H A DSkScan_AntiPath.cpp426 fMask.fImage = (uint8_t*)fStorage;
539 uint8_t* row = fMask.fImage + iy * fMask.fRowBytes + (x >> SHIFT);
551 SkASSERT(row >= fMask.fImage);
552 SkASSERT(row < fMask.fImage + kMAX_STORAGE + 1);
564 SkASSERT(row >= fMask.fImage);
565 SkASSERT(row + n + 1 < fMask.fImage + kMAX_STORAGE + 1);
H A DSkDraw.cpp813 dstM.fImage = NULL;
815 SkAutoMaskFreeImage ami(dstM.fImage);
975 SkMask::FreeImage(mask.fImage);
1050 mask.fImage = bitmap.getAddr8(0, 0);
1083 mask.fImage = (uint8_t*)storage.get();
1084 memset(mask.fImage, 0, size);
1091 device.setPixels(mask.fImage);
1370 uint8_t* aa = (uint8_t*)glyph.fImage;
1380 mask.fImage = aa;
1403 const uint8_t* aa = (const uint8_t*)glyph.fImage;
[all...]
H A DSkBitmap.cpp1310 srcM.fImage = NULL;
1332 srcM.fImage = SkMask::AllocImage(srcM.computeImageSize());
1333 SkAutoMaskFreeImage srcCleanup(srcM.fImage);
1335 GetBitmapAlpha(*this, srcM.fImage, srcM.fRowBytes);
1339 SkAutoMaskFreeImage dstCleanup(dstM.fImage);
1349 memcpy(tmpBitmap.getPixels(), dstM.fImage, dstM.computeImageSize());
/external/skia/src/effects/
H A DSkKernel33MaskFilter.cpp18 dst->fImage = NULL;
23 if (NULL == src.fImage) {
32 dst->fImage = SkMask::AllocImage(size);
37 const uint8_t* srcImage = src.fImage;
38 uint8_t* dstImage = dst->fImage;
H A DSkEmbossMaskFilter.cpp81 if (src.fImage == NULL) {
88 uint8_t* alphaPlane = dst->fImage;
93 dst->fImage = SkMask::AllocImage(planeSize * 3);
94 memcpy(dst->fImage, alphaPlane, planeSize);
113 memcpy(dst->fImage, src.fImage, src.computeImageSize());
H A DSkTableMaskFilter.cpp37 dst->fImage = NULL;
39 if (src.fImage) {
40 dst->fImage = SkMask::AllocImage(dst->computeImageSize());
42 const uint8_t* srcP = src.fImage;
43 uint8_t* dstP = dst->fImage;
H A DSkLayerRasterizer.cpp105 mask->fImage = SkMask::AllocImage(size);
106 memset(mask->fImage, 0, size);
123 device.setPixels(mask->fImage);
H A DSkEmbossMask.cpp95 uint8_t* alpha = mask->fImage;
H A DSkBlurMask.cpp589 dst->fImage = NULL;
591 if (src.fImage) {
599 const uint8_t* sp = src.fImage;
643 dst->fImage = dp;
652 dst->fImage = SkMask::AllocImage(srcSize);
653 merge_src_with_blur(dst->fImage, src.fRowBytes,
/external/skia/include/gpu/gl/
H A DSkMesaGLContext.h45 GrGLubyte *fImage; member in class:SkMesaGLContext
/external/skia/tests/
H A DAAClipTest.cpp19 if (!a.fImage && !b.fImage) {
22 if (!a.fImage || !b.fImage) {
47 const char* aptr = (const char*)a.fImage;
48 const char* bptr = (const char*)b.fImage;
65 mask->fImage = NULL;
71 mask->fImage = SkMask::AllocImage(mask->computeImageSize());
72 sk_bzero(mask->fImage, mask->computeImageSize());
77 bitmap.setPixels(mask->fImage);
[all...]
/external/skia/samplecode/
H A DSampleAAClip.cpp47 SkAutoMaskFreeImage amfi(mask.fImage);
51 bm.setPixels(mask.fImage);
H A DSampleAAClip2.cpp29 SkAutoMaskFreeImage amfi(mask.fImage);
33 bm.setPixels(mask.fImage);
48 SkAutoMaskFreeImage amfi(mask.fImage);
52 bm.setPixels(mask.fImage);
H A DSampleStrokePath.cpp49 src.fImage = cell;
64 uint8_t* dstPtr = dst.fImage;
/external/skia/src/pdf/
H A DSkPDFShader.cpp292 SkBitmap fImage; member in class:SkPDFShader::State
519 fState.get()->fImage.lockPixels();
537 const SkBitmap* image = &fState.get()->fImage;
708 fState.get()->fImage.unlockPixels();
803 bitmapType = shader.asABitmap(&fImage, &matrix, fImageTileModes, NULL);
805 fImage.reset();
809 fPixelGeneration = fImage.getGenerationID();
/external/skia/src/ports/
H A DSkFontHost_win.cpp775 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB);
818 uint8_t* SK_RESTRICT dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB);
833 uint16_t* SK_RESTRICT dst = (uint16_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB);
848 SkPMColor* SK_RESTRICT dst = (SkPMColor*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB);
898 sk_bzero(glyph.fImage, glyph.computeImageSize());
920 uint8_t* dst = (uint8_t*)((char*)glyph.fImage + (glyph.fHeight - 1) * dstRB);
H A DSkFontHost_ascender.cpp165 uint8_t* dst = (uint8_t*)glyph.fImage;

Completed in 177 milliseconds

12