Home
last modified time | relevance | path

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

12

/third_party/skia/src/core/
DSkConvertPixels.cpp64 dstPixels = SkTAddOffset<void>(dstPixels, dstRB); in swizzle_or_premul()
65 srcPixels = SkTAddOffset<const void>(srcPixels, srcRB); in swizzle_or_premul()
93 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
94 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8()
109 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
120 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
121 src16 = SkTAddOffset<const uint16_t>(src16, srcRB); in convert_to_alpha8()
134 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
135 src32 = SkTAddOffset<const uint32_t>(src32, srcRB); in convert_to_alpha8()
147 dst = SkTAddOffset<uint8_t>(dst, dstRB); in convert_to_alpha8()
[all …]
DSkMask.h173 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
190 fPtr = SkTAddOffset<const uint8_t>(fPtr, rb);
204 fPtr = SkTAddOffset<const uint32_t>(fPtr, rb);
218 fPtr = SkTAddOffset<const uint16_t>(fPtr, rb);
DSkColorSpace.cpp277 memory = SkTAddOffset<void>(memory, sizeof(ColorSpaceHeader)); in writeToMemory()
280 memory = SkTAddOffset<void>(memory, 7 * sizeof(float)); in writeToMemory()
300 data = SkTAddOffset<const void>(data, sizeof(ColorSpaceHeader)); in Deserialize()
309 data = SkTAddOffset<const void>(data, 7 * sizeof(float)); in Deserialize()
370 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()
/third_party/skia/src/codec/
DSkSampler.cpp31 dstRow = SkTAddOffset<uint32_t>(dstRow, rowBytes); in Fill()
39 dstRow = SkTAddOffset<uint16_t>(dstRow, rowBytes); in Fill()
47 dstRow = SkTAddOffset<uint8_t>(dstRow, rowBytes); in Fill()
55 dstRow = SkTAddOffset<uint64_t>(dstRow, rowBytes); in Fill()
DSkBmpRLECodec.cpp151 memmove(buffer, SkTAddOffset<uint8_t>(buffer, fCurrRLEByte), remainingBytes); in checkForMoreData()
183 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel()
188 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel()
216 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
221 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
226 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel()
297 dst = SkTAddOffset<void>(dst, fLinesToSkip * dstRowBytes); in decodeRows()
327 decodeDst = SkTAddOffset<void>(decodeDst, decodeRowBytes); in decodeRows()
328 dst = SkTAddOffset<void>(dst, dstRowBytes); in decodeRows()
DSkHeifCodec.cpp50 auto* chunkSizePtr = SkTAddOffset<const uint64_t>(buffer, offset); in IsSupported()
80 auto* brandPtr = SkTAddOffset<const uint32_t>(buffer, offset + 4 * i); in IsSupported()
294 dst = SkTAddOffset<void>(dst, rowBytes); in readRows()
297 decodeDst = SkTAddOffset<uint8_t>(decodeDst, decodeDstRowBytes); in readRows()
298 swizzleDst = SkTAddOffset<uint32_t>(swizzleDst, swizzleDstRowBytes); in readRows()
436 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
DSkWebpCodec.cpp508 dst = SkTAddOffset<void>(dst, dstBpp * dstX + rowBytes * dstY); in onGetPixels()
530 dst = SkTAddOffset<void>(dst, rowBytes); in onGetPixels()
532 xformDst = SkTAddOffset<void>(xformDst, rowBytes); in onGetPixels()
534 xformSrc = SkTAddOffset<uint32_t>(xformSrc, srcRowBytes); in onGetPixels()
542 src = SkTAddOffset<const uint8_t>(src, srcRowBytes); in onGetPixels()
543 dst = SkTAddOffset<void>(dst, rowBytes); in onGetPixels()
DSkBmpStandardCodec.cpp231 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
278 const void* subStreamMemoryBase = SkTAddOffset<const void>(memoryBase, in decodeRows()
328 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
DSkSampledCodec.cpp304 pixelPtr = SkTAddOffset<void>(pixelPtr, rowBytes); in sampledDecode()
315 void* pixelPtr = SkTAddOffset<void>(pixels, in sampledDecode()
340 void* rowPtr = SkTAddOffset<void>(pixels, rowBytes * get_dst_coord(srcY, sampleY)); in sampledDecode()
DSkWbmpCodec.cpp138 dstRow = SkTAddOffset<void>(dstRow, rowBytes); in onGetPixels()
170 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkJpegCodec.cpp151 void* src = SkTAddOffset<void>(marker->data, kICCMarkerHeaderSize); in read_color_profile()
154 dst = SkTAddOffset<void>(dst, bytes); in read_color_profile()
521 dst = SkTAddOffset<void>(dst, rowBytes); in readRows()
524 decodeDst = SkTAddOffset<JSAMPLE>(decodeDst, decodeDstRowBytes); in readRows()
525 swizzleDst = SkTAddOffset<uint32_t>(swizzleDst, swizzleDstRowBytes); in readRows()
618 SkTAddOffset<uint32_t>(fStorage.get(), swizzleBytes) : nullptr; in allocateStorage()
DSkPngCodec.cpp553 fDst = SkTAddOffset<void>(fDst, fRowBytes); in allRowsCallback()
596 fDst = SkTAddOffset<void>(fDst, fRowBytes); in rowCallback()
688 dst = SkTAddOffset<void>(dst, rowBytes); in decodeAllRows()
689 srcRow = SkTAddOffset<png_byte>(srcRow, fPng_rowbytes); in decodeAllRows()
736 png_bytep src = SkTAddOffset<png_byte>(fInterlaceBuffer.get(), fPng_rowbytes * srcRow); in decode()
738 dst = SkTAddOffset<void>(dst, fRowBytes); in decode()
DSkBmpMaskCodec.cpp93 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
DSkStreamBuffer.cpp26 char* dst = SkTAddOffset<char>(const_cast<char*>(fBuffer), fTrulyBuffered); in get()
/third_party/skia/src/gpu/
DBufferWriter.h67 return {SkTAddOffset<void>(fPtr, offsetInBytes)}; in makeOffset()
88 fPtr = SkTAddOffset<void>(fPtr, count * sizeof(T)); in writeArray()
240 return {SkTAddOffset<void>(fPtr, numIndices * sizeof(uint16_t))};
245 fPtr = SkTAddOffset<void>(fPtr, count * sizeof(uint16_t));
273 fPtr = SkTAddOffset<void>(fPtr, bytes);
DGrUniformDataManager.cpp102 buffer = SkTAddOffset<void>(buffer, /*numUniforms*/4 * uniformSize); in setv()
247 buffer = SkTAddOffset<void>(buffer, /*numUniforms*/4 * uniformSize); in setMatrices()
/third_party/skia/src/ports/
DSkScalerContext_mac_ct.cpp399 cgPixels = SkTAddOffset<const CGRGBPixel>(cgPixels, cgRowBytes); in RGBToA8()
400 dst = SkTAddOffset<uint8_t>(dst, dstRB); in RGBToA8()
431 cgPixels = SkTAddOffset<const CGRGBPixel>(cgPixels, cgRowBytes); in RGBToLcd16()
432 dst = SkTAddOffset<uint16_t>(dst, dstRB); in RGBToLcd16()
481 addr = SkTAddOffset<CGRGBPixel>(addr, cgRowBytes); in generateImage()
509 cgPixels = SkTAddOffset<CGRGBPixel>(cgPixels, cgRowBytes); in generateImage()
510 dst = SkTAddOffset<uint8_t>(dst, dstRB); in generateImage()
521 cgPixels = SkTAddOffset<CGRGBPixel>(cgPixels, cgRowBytes); in generateImage()
522 dst = SkTAddOffset<SkPMColor>(dst, dstRB); in generateImage()
DSkFontHost_win.cpp1071 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToA8()
1088 src = SkTAddOffset<const SkGdiRGB>(src, srcRB); in RGBToLcd16()
1132 addr = SkTAddOffset<SkGdiRGB>(addr, srcRB); in generateImage()
1222 , fEndPolygon(SkTAddOffset<const TTPOLYGONHEADER>(glyphbuf, total_size)) in GDIPolygonHeaderIter()
1230 fCurPolygon = SkTAddOffset<const TTPOLYGONHEADER>(fCurPolygon, fCurPolygon->cb); in next()
1244 : fCurCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER))) in GDIPolygonCurveIter()
1245 , fEndCurve(SkTAddOffset<const TTPOLYCURVE>(curPolygon, curPolygon->cb)) in GDIPolygonCurveIter()
1251 fCurCurve = SkTAddOffset<const TTPOLYCURVE>(curPolygon, sizeof(TTPOLYGONHEADER)); in set()
1252 fEndCurve = SkTAddOffset<const TTPOLYCURVE>(curPolygon, curPolygon->cb); in set()
1264 fCurCurve = SkTAddOffset<const TTPOLYCURVE>(fCurCurve, size_of_TTPOLYCURVE(*fCurCurve)); in next()
/third_party/skia/src/images/
DSkJpegEncoder.cpp225 sk_msan_assert_initialized(srcRow, SkTAddOffset<const void>(srcRow, srcBytes)); in onEncodeRows()
232 SkTAddOffset<const void>(jpegSrcRow, jpegSrcBytes)); in onEncodeRows()
237 SkTAddOffset<const void>(jpegSrcRow, jpegSrcBytes)); in onEncodeRows()
241 srcRow = SkTAddOffset<const void>(srcRow, fSrc.rowBytes()); in onEncodeRows()
/third_party/skia/third_party/externals/libgifcodec/
DSkLibGifCodec.cpp491 void* dstLine = SkTAddOffset<void>(fDst, dstRow * fDstRowBytes); in haveDecodedRow()
510 const void* src = SkTAddOffset<void>(fTmpBuffer.get(), offsetBytes); in haveDecodedRow()
511 void* dst = SkTAddOffset<void>(dstLine, offsetBytes); in haveDecodedRow()
531 void* copiedLine = SkTAddOffset<void>(dstLine, fSwizzler->swizzleOffsetBytes()); in haveDecodedRow()
534 dst = SkTAddOffset<void>(dst, fDstRowBytes); in haveDecodedRow()
/third_party/skia/include/effects/
DSkRuntimeEffect.h314 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset),
326 float* data = SkTAddOffset<float>(fOwner->writableUniformData(),
345 memcpy(SkTAddOffset<void>(fOwner->writableUniformData(), fVar->offset), in set()
/third_party/skia/fuzz/oss_fuzz/
DFuzzIncrementalImage.cpp37 void* dst = SkTAddOffset<void>(bm.getPixels(), rowsDecoded * bm.rowBytes()); in FuzzIncrementalImageDecode()
/third_party/skia/tests/
DCodecExactReadTest.cpp69 memcpy(SkTAddOffset<void>(dst, size * i), data->data(), size); in DEF_TEST()
DTestUtils.cpp191 return SkTAddOffset<const float>(base, y*rb + x*sizeof(float)*4); in ComparePixels()
235 auto rgbaA = SkTAddOffset<const float>(f32Pixmap.addr(), in CheckSolidPixels()

12