Home
last modified time | relevance | path

Searched refs:SkAlign8 (Results 1 – 6 of 6) sorted by relevance

/external/skia/tests/
DYUVTest.cpp41 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv()
43 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kU].width())); in codec_yuv()
45 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kV].width())); in codec_yuv()
51 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kY].width())); in codec_yuv()
53 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kU].width())); in codec_yuv()
55 (uint32_t) SkAlign8(info.fSizes[SkYUVSizeInfo::kV].width())); in codec_yuv()
/external/skia/src/image/
DSkImage_Gpu.cpp615 pixelSize = SkAlign8(pixmap.getSafeSize()); in getDeferredTextureImageData()
637 pixelSize = SkAlign8(SkAutoPixmapStorage::AllocSize(info, nullptr)); in getDeferredTextureImageData()
672 pixelSize += SkAlign8(SkAutoPixmapStorage::AllocSize(mipInfo, nullptr)); in getDeferredTextureImageData()
676 size_t dtiSize = SkAlign8(sizeof(DeferredTextureImage)); in getDeferredTextureImageData()
697 memcpy(reinterpret_cast<void*>(SkAlign8(reinterpret_cast<uintptr_t>(pixelsAsCharPtr))), in getDeferredTextureImageData()
742 char* mipLevelPtr = pixelsAsCharPtr + SkAlign8(pixmap.getSafeSize()); in getDeferredTextureImageData()
779 mipLevelPtr += SkAlign8(mipLevel.fPixmap.getSafeSize()); in getDeferredTextureImageData()
/external/skia/include/core/
DSkTypes.h281 #define SkAlign8(x) (((x) + 7) >> 3 << 3) macro
287 #define SkAlignPtr(x) (sizeof(void*) == 8 ? SkAlign8(x) : SkAlign4(x))
/external/skia/src/codec/
DSkWbmpCodec.cpp21 return SkAlign8(width) >> 3; in get_src_row_bytes()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp286 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1()
/external/skia/src/core/
DSkScalerContext.cpp329 const int dstPad = mask.fRowBytes - SkAlign8(width)/8; in packA8ToA1()