/external/skia/src/codec/ |
D | SkBmpRLECodec.cpp | 158 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData() 189 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel() 194 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel() 222 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel() 227 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel() 303 dst = SkTAddOffset<void>(dst, fLinesToSkip * dstRowBytes); in decodeRows()
|
D | SkSampler.cpp | 44 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill() 74 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
|
D | SkJpegCodec.cpp | 345 dst = SkTAddOffset<JSAMPLE>(dst, dstRowBytes); in onGetPixels() 347 dstRow = SkTAddOffset<JSAMPLE>(dstRow, dstRowBytes); in onGetPixels() 512 dst = SkTAddOffset<JSAMPLE>(dst, dstRowBytes); in onGetScanlines() 514 dstRow = SkTAddOffset<JSAMPLE>(dstRow, dstRowBytes); in onGetScanlines() 673 rowptrs[i] = SkTAddOffset<JSAMPLE>(pixels[0], i * sizeInfo.fYWidthBytes); in onGetYUV8Planes() 676 rowptrs[i + 2 * DCTSIZE] = SkTAddOffset<JSAMPLE>(pixels[1], i * sizeInfo.fUWidthBytes); in onGetYUV8Planes() 677 rowptrs[i + 3 * DCTSIZE] = SkTAddOffset<JSAMPLE>(pixels[2], i * sizeInfo.fVWidthBytes); in onGetYUV8Planes()
|
D | SkSampledCodec.cpp | 226 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode() 238 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode() 264 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode() 284 pixels = SkTAddOffset<void>(pixels, rowBytes); in sampledDecode()
|
D | SkBmpStandardCodec.cpp | 227 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows() 267 const void* subStreamMemoryBase = SkTAddOffset<const void>(memoryBase, in decodeRows() 307 SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
|
D | SkWbmpCodec.cpp | 152 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels() 181 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
|
D | SkPngCodec.cpp | 513 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels() 522 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels() 579 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetScanlines() 695 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
|
D | SkGifCodec.cpp | 509 void* dstRow = SkTAddOffset<void>(dst, dstRowBytes * this->outputScanline(y)); 564 dst = SkTAddOffset<void>(dst, rowBytes * rowsBeforeFrame); 572 dst = SkTAddOffset<void>(dst, rowBytes);
|
D | SkBmpMaskCodec.cpp | 88 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
|
D | SkCodec.cpp | 366 fillDst = SkTAddOffset<void>(dst, linesDecoded * rowBytes); in fillIncompleteImage() 380 fillDst = SkTAddOffset<void>(dst, this->outputScanline(srcY) * rowBytes); in fillIncompleteImage()
|
D | SkRawCodec.cpp | 713 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels()
|
D | SkSwizzler.cpp | 954 fActualProc(SkTAddOffset<void>(dst, fDstOffsetBytes), src, fSwizzleWidth, fSrcBPP, in swizzle()
|
/external/skia/src/sfnt/ |
D | SkOTTable_name.cpp | 458 const char* stringTable = SkTAddOffset<const char>(&fName, stringTableOffset); in next() 463 const char* nameString = SkTAddOffset<const char>(stringTable, nameOffset); in next() 516 const uint16_t* string = SkTAddOffset<const uint16_t>(stringTable, offset); in next()
|
/external/skia/tests/ |
D | YUVTest.cpp | 63 planes[1] = SkTAddOffset<void>(planes[0], info.fYWidthBytes * info.fYSize.height()); in codec_yuv() 64 planes[2] = SkTAddOffset<void>(planes[1], info.fUWidthBytes * info.fUSize.height()); in codec_yuv()
|
/external/skia/src/ports/ |
D | SkFontHost_win.cpp | 1136 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw() 1181 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw() 1208 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_a8() 1224 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_lcd16() 1268 addr = SkTAddOffset<SkGdiRGB>(addr, srcRB); in generateImage() 1364 , fEndPolygon(SkTAddOffset<const TTPOLYGONHEADER>(glyphbuf, total_size)) in GDIPolygonHeaderIter() 1372 fCurPolygon = SkTAddOffset<const TTPOLYGONHEADER>(fCurPolygon, fCurPolygon->cb); in next() 1386 : fCurCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER))) in GDIPolygonCurveIter() 1387 , fEndCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, curPolygon->cb)) in GDIPolygonCurveIter() 1393 fCurCurve = SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER)); in set() [all …]
|
D | SkFontHost_fontconfig.cpp | 89 SkASSERT(SkTAddOffset<char>(this, sizeof(SkResourceCache::Key) + keySize) == content); in Request()
|
D | SkFontHost_mac.cpp | 1280 addr = SkTAddOffset<CGRGBPixel>(addr, cgRowBytes); in generateImage()
|
/external/skia/include/private/ |
D | SkTemplates.h | 42 template <typename D, typename S> static D* SkTAddOffset(S* ptr, size_t byteOffset) { in SkTAddOffset() function
|
/external/skia/src/core/ |
D | SkStream.cpp | 713 buffer = SkTAddOffset<void>(buffer, bytesFromCurrent); in read()
|
/external/skia/src/device/xps/ |
D | SkXPSDevice.cpp | 409 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()
|