Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkConvertPixels.cpp85 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_and_multiply()
86 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_and_multiply()
157 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in apply_color_xform()
158 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in apply_color_xform()
179 dstPixels = SkTAddOffset<T>(dstPixels, dstRB); in do_index8()
180 srcPixels = SkTAddOffset<const uint8_t>(srcPixels, srcRB); in do_index8()
217 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
230 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
231 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8()
241 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
[all …]
DSkColorSpace.cpp174 SkColorSpaceTransferFn* fn = SkTAddOffset<SkColorSpaceTransferFn>(memory, sizeof(SkGammas)); in MakeRGB()
376 memory = SkTAddOffset<void>(memory, sizeof(ColorSpaceHeader)); in writeToMemory()
394 memory = SkTAddOffset<void>(memory, sizeof(ColorSpaceHeader)); in writeToMemory()
403 memory = SkTAddOffset<void>(memory, 7 * sizeof(float)); in writeToMemory()
423 memory = SkTAddOffset<void>(memory, sizeof(ColorSpaceHeader)); in writeToMemory()
426 memory = SkTAddOffset<void>(memory, sizeof(uint32_t)); in writeToMemory()
429 memset(SkTAddOffset<void>(memory, profileSize), 0, SkAlign4(profileSize) - profileSize); in writeToMemory()
451 data = SkTAddOffset<const void>(data, sizeof(ColorSpaceHeader)); in Deserialize()
480 data = SkTAddOffset<const void>(data, sizeof(uint32_t)); in Deserialize()
501 data = SkTAddOffset<const void>(data, 7 * sizeof(float)); in Deserialize()
DSkConvertPixels.h31 dst = SkTAddOffset<void>(dst, dstRB); in SkRectMemcpy()
32 src = SkTAddOffset<const void>(src, srcRB); in SkRectMemcpy()
DSkColorSpace_Base.h42 return SkTAddOffset<const float>(base, sizeof(SkGammas) + fOffset); in table()
68 return *SkTAddOffset<const SkColorSpaceTransferFn>( in params()
DSkColorLookUpTable.h51 return SkTAddOffset<const float>(this, sizeof(SkColorLookUpTable)); in table()
/external/skia/src/codec/
DSkBmpRLECodec.cpp147 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData()
179 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel()
184 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel()
212 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
217 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
222 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel()
294 dst = SkTAddOffset<void>(dst, fLinesToSkip * dstRowBytes); in decodeRows()
324 decodeDst = SkTAddOffset<void>(decodeDst, decodeRowBytes); in decodeRows()
325 dst = SkTAddOffset<void>(dst, dstRowBytes); in decodeRows()
DSkSampler.cpp35 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
56 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
84 dstRow = SkTAddOffset<uint64_t>(dstRow, rowBytes); in Fill()
DSkHeifCodec.cpp44 auto* chunkSizePtr = SkTAddOffset<const uint64_t>(buffer, offset); in IsHeif()
73 auto* brandPtr = SkTAddOffset<const uint32_t>(buffer, offset + 4 * i); in IsHeif()
250 dst = SkTAddOffset<void>(dst, rowBytes); in readRows()
253 decodeDst = SkTAddOffset<uint8_t>(decodeDst, decodeDstRowBytes); in readRows()
254 swizzleDst = SkTAddOffset<uint32_t>(swizzleDst, swizzleDstRowBytes); in readRows()
320 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
DSkJpegCodec.cpp179 void* src = SkTAddOffset<void>(marker->data, kICCMarkerHeaderSize); in get_icc_profile()
182 dst = SkTAddOffset<void>(dst, bytes); in get_icc_profile()
535 dst = SkTAddOffset<void>(dst, rowBytes); in readRows()
538 decodeDst = SkTAddOffset<JSAMPLE>(decodeDst, decodeDstRowBytes); in readRows()
539 swizzleDst = SkTAddOffset<uint32_t>(swizzleDst, swizzleDstRowBytes); in readRows()
635 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
920 rowptrs[i] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kY], in onGetYUV8Planes()
924 rowptrs[i + 2 * DCTSIZE] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kU], in onGetYUV8Planes()
926 rowptrs[i + 3 * DCTSIZE] = SkTAddOffset<JSAMPLE>(planes[SkYUVSizeInfo::kV], in onGetYUV8Planes()
DSkGifCodec.cpp500 void* dstLine = SkTAddOffset<void>(fDst, dstRow * fDstRowBytes); in haveDecodedRow()
521 void* src = SkTAddOffset<void>(fTmpBuffer.get(), offsetBytes); in haveDecodedRow()
522 void* dst = SkTAddOffset<void>(dstLine, offsetBytes); in haveDecodedRow()
549 void* copiedLine = SkTAddOffset<void>(dstLine, fSwizzler->swizzleOffsetBytes()); in haveDecodedRow()
552 dst = SkTAddOffset<void>(dst, fDstRowBytes); in haveDecodedRow()
DSkWebpCodec.cpp588 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
609 dst = SkTAddOffset<void>(dst, rowBytes); in onGetPixels()
611 xformDst = SkTAddOffset<void>(xformDst, rowBytes); in onGetPixels()
613 xformSrc = SkTAddOffset<uint32_t>(xformSrc, srcRowBytes); in onGetPixels()
621 src = SkTAddOffset<const uint8_t>(src, srcRowBytes); in onGetPixels()
622 dst = SkTAddOffset<void>(dst, rowBytes); in onGetPixels()
DSkBmpStandardCodec.cpp217 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
264 const void* subStreamMemoryBase = SkTAddOffset<const void>(memoryBase, in decodeRows()
314 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
DSkPngCodec.cpp544 fDst = SkTAddOffset<void>(fDst, fRowBytes); in allRowsCallback()
587 fDst = SkTAddOffset<void>(fDst, fRowBytes); in rowCallback()
680 dst = SkTAddOffset<void>(dst, rowBytes); in decodeAllRows()
681 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes); in decodeAllRows()
725 png_bytep srcRow = SkTAddOffset<png_byte>(fInterlaceBuffer.get(), in decode()
730 dst = SkTAddOffset<void>(dst, fRowBytes); in decode()
731 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes * sampleY); in decode()
DSkWbmpCodec.cpp135 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
167 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkSampledCodec.cpp303 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode()
314 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode()
340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
DSkBmpMaskCodec.cpp92 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
DSkStreamBuffer.cpp26 char* dst = SkTAddOffset<char>(const_cast<char*>(fBuffer), fTrulyBuffered); in get()
/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/
DColorSpaceXformTest.cpp151 float* table = SkTAddOffset<float>(memory, sizeof(SkGammas)); in DEF_TEST()
180 SkColorSpaceTransferFn* params = SkTAddOffset<SkColorSpaceTransferFn> in DEF_TEST()
230 float* table = SkTAddOffset<float>(memory, sizeof(SkGammas)); in DEF_TEST()
242 SkColorSpaceTransferFn* params = SkTAddOffset<SkColorSpaceTransferFn>(memory, in DEF_TEST()
278 float* table = SkTAddOffset<float>(memory, sizeof(SkColorLookUpTable)); in DEF_TEST()
DICCTest.cpp193 float* table = SkTAddOffset<float>(memory, sizeof(SkGammas)); in DEF_TEST()
215 SkColorSpaceTransferFn* params = SkTAddOffset<SkColorSpaceTransferFn> in DEF_TEST()
255 table = SkTAddOffset<float>(memory, sizeof(SkGammas)); in DEF_TEST()
267 params = SkTAddOffset<SkColorSpaceTransferFn>(memory, in DEF_TEST()
DYUVTest.cpp66 planes[1] = SkTAddOffset<void>(planes[0], in codec_yuv()
68 planes[2] = SkTAddOffset<void>(planes[1], in codec_yuv()
DCodecExactReadTest.cpp64 memcpy(SkTAddOffset<void>(dst, size * i), data->data(), size); in DEF_TEST()
/external/skia/bench/
DColorCodecBench.cpp58 dst = SkTAddOffset<void>(dst, fDstInfo.minRowBytes()); in xformOnly()
59 src = SkTAddOffset<void>(src, fSrcInfo.minRowBytes()); in xformOnly()
/external/skia/src/ports/
DSkFontHost_win.cpp1146 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in is_rgb_really_bw()
1191 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_bw()
1218 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_a8()
1234 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in rgb_to_lcd16()
1278 addr = SkTAddOffset<SkGdiRGB>(addr, srcRB); in generateImage()
1374 , fEndPolygon(SkTAddOffset<const TTPOLYGONHEADER>(glyphbuf, total_size)) in GDIPolygonHeaderIter()
1382 fCurPolygon = SkTAddOffset<const TTPOLYGONHEADER>(fCurPolygon, fCurPolygon->cb); in next()
1396 : fCurCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER))) in GDIPolygonCurveIter()
1397 , fEndCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, curPolygon->cb)) in GDIPolygonCurveIter()
1403 fCurCurve = SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER)); in set()
[all …]
/external/skia/tools/
Dpicture_utils.cpp112 src = SkTAddOffset<const void>(src, bitmap.rowBytes()); in encode_bitmap_for_png()

12