Home
last modified time | relevance | path

Searched refs:SkTAddOffset (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/codec/
DSkBmpRLECodec.cpp158 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()
DSkSampler.cpp44 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
74 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
DSkJpegCodec.cpp345 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()
DSkSampledCodec.cpp226 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()
DSkBmpStandardCodec.cpp227 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()
DSkWbmpCodec.cpp152 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
181 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkPngCodec.cpp513 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()
DSkGifCodec.cpp509 void* dstRow = SkTAddOffset<void>(dst, dstRowBytes * this->outputScanline(y));
564 dst = SkTAddOffset<void>(dst, rowBytes * rowsBeforeFrame);
572 dst = SkTAddOffset<void>(dst, rowBytes);
DSkBmpMaskCodec.cpp88 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
DSkCodec.cpp366 fillDst = SkTAddOffset<void>(dst, linesDecoded * rowBytes); in fillIncompleteImage()
380 fillDst = SkTAddOffset<void>(dst, this->outputScanline(srcY) * rowBytes); in fillIncompleteImage()
DSkRawCodec.cpp713 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetPixels()
DSkSwizzler.cpp954 fActualProc(SkTAddOffset<void>(dst, fDstOffsetBytes), src, fSwizzleWidth, fSrcBPP, in swizzle()
/external/skia/src/sfnt/
DSkOTTable_name.cpp458 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/
DYUVTest.cpp63 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/
DSkFontHost_win.cpp1136 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 …]
DSkFontHost_fontconfig.cpp89 SkASSERT(SkTAddOffset<char>(this, sizeof(SkResourceCache::Key) + keySize) == content); in Request()
DSkFontHost_mac.cpp1280 addr = SkTAddOffset<CGRGBPixel>(addr, cgRowBytes); in generateImage()
/external/skia/include/private/
DSkTemplates.h42 template <typename D, typename S> static D* SkTAddOffset(S* ptr, size_t byteOffset) { in SkTAddOffset() function
/external/skia/src/core/
DSkStream.cpp713 buffer = SkTAddOffset<void>(buffer, bytesFromCurrent); in read()
/external/skia/src/device/xps/
DSkXPSDevice.cpp409 SkSFNTHeader* sfntHeader = SkTAddOffset<SkSFNTHeader>(fontPackageBuffer.get(), extra); in subset_typeface()