Home
last modified time | relevance | path

Searched refs:SkAlign4 (Results 1 – 19 of 19) sorted by relevance

/external/skia/src/core/
DSkWriter32.cpp14 SkASSERT(SkAlign4(size) == size); in alloc()
31 SkASSERT(SkAlign4(size) == size); in Create()
62 SkASSERT(SkAlign4(size) == size); in reserve()
85 SkASSERT(SkAlign4(offset) == offset); in peek32()
119 size_t alignedSize = SkAlign4(size); in writePad()
DSkChunkAlloc.cpp55 : fBlock(NULL), fMinSize(SkAlign4(minSize)), fPool(NULL), fTotalCapacity(0) in SkChunkAlloc()
104 bytes = SkAlign4(bytes); in alloc()
DSkBuffer.cpp40 size_t n = SkAlign4(pos) - pos; in skipToAlign4()
63 size_t n = SkAlign4(pos) - pos; in padToAlign4()
DSkMask.cpp50 return (uint8_t*)sk_malloc_throw(SkAlign4(size)); in AllocImage()
DSkScalerContext.cpp53 return SkAlign4(size) + sizeof(uint32_t) * ((fWidth + 2) * fHeight); in computeImageSize()
55 return SkAlign4(size) + sizeof(uint32_t) * (fWidth * (fHeight + 2)); in computeImageSize()
80 uint32_t* output = reinterpret_cast<uint32_t*>(input + SkAlign4(rowBytes() * fHeight)); in expandA8ToLCD()
DSkScan_AntiPath.cpp207 int rb = SkAlign4(width); in CanHandleRect()
DSkBlitter_A8.cpp268 fBuffer = (SkPMColor*)sk_malloc_throw(sizeof(SkPMColor) * (width + (SkAlign4(width) >> 2))); in SkA8_Shader_Blitter()
DSkBitmap.cpp1124 srcM.fRowBytes = SkAlign4(this->width()); in extractAlpha()
1136 dstM.fRowBytes = SkAlign4(dstM.fBounds.width()); in extractAlpha()
DSkString.cpp144 rec = (Rec*)sk_malloc_throw(SizeOfRec() + SkAlign4(len + 1)); in AllocRec()
DSkPaint.cpp1370 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); in flatten()
1400 SkASSERT(SkAlign4(kPODPaintSize) == kPODPaintSize); in unflatten()
DSkBlitter_RGB16.cpp761 fBuffer = (SkPMColor*)sk_malloc_throw((width + (SkAlign4(width) >> 2)) * sizeof(SkPMColor)); in SkRGB16_Shader_Xfermode_Blitter()
DSkDraw.cpp961 mask.fRowBytes = SkAlign4(mask.fBounds.width()); in drawBitmapAsMask()
/external/skia/include/core/
DSkReader32.h35 SkASSERT(SkAlign4(size) == size); in setMemory()
49 SkASSERT(SkAlign4(offset) == offset); in setOffset()
83 fCurr += SkAlign4(size); in skip()
92 fCurr += SkAlign4(size); in read()
DSkDescriptor.h32 SkASSERT(SkAlign4(length) == length); in Alloc()
53 SkASSERT(SkAlign4(length) == length);
DSkMask.h105 return reinterpret_cast<const uint32_t*>(fImage + SkAlign4(fRowBytes * fBounds.height())) + in getAddrLCD()
DSkWriter32.h73 SkASSERT(SkAlign4(size) == size); in writeMul4()
DSkScalerContext.h51 rb = SkAlign4(rb); in rowBytes()
DSkTypes.h165 #define SkAlign4(x) (((x) + 3) >> 2 << 2) macro
/external/skia/src/effects/
DSkTableMaskFilter.cpp26 dst->fRowBytes = SkAlign4(dst->fBounds.width()); in filterMask()