/external/skia/tests/ |
D | TransferPixelsTest.cpp | 146 size_t srcRowBytes = GrColorTypeBytesPerPixel(allowedSrc.fColorType) * srcBufferWidth; in basic_transfer_to_test() local 147 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]); in basic_transfer_to_test() 153 size_t size = srcRowBytes * kBufferHeight; in basic_transfer_to_test() 172 allowedSrc.fColorType, buffer, 0, srcRowBytes); in basic_transfer_to_test() 195 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test() 215 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType); in basic_transfer_to_test() 232 allowedSrc.fColorType, buffer, offset, srcRowBytes); in basic_transfer_to_test() 235 buffer, offset, srcRowBytes); in basic_transfer_to_test() 247 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
|
/external/skia/src/codec/ |
D | SkBmpMaskCodec.cpp | 86 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
|
D | SkBmpStandardCodec.cpp | 223 if (this->stream()->read(this->srcBuffer(), this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows() 267 const size_t bytesToSkip = remainingScanlines * this->srcRowBytes() + in decodeRows()
|
D | SkBmpBaseCodec.cpp | 15 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
|
D | SkBmpCodec.h | 83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
|
D | SkWebpCodec.cpp | 509 const size_t srcRowBytes = config.output.u.RGBA.stride; in onGetPixels() local 534 xformSrc = SkTAddOffset<uint32_t>(xformSrc, srcRowBytes); in onGetPixels() 542 src = SkTAddOffset<const uint8_t>(src, srcRowBytes); in onGetPixels()
|
/external/skqp/src/gpu/ |
D | GrSurfaceContext.cpp | 61 size_t srcRowBytes, int x, int y, uint32_t flags) { in writePixels() argument 76 srcRowBytes, flags); in writePixels()
|
D | GrSurfaceContext.h | 88 bool writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, size_t srcRowBytes,
|
/external/skqp/src/codec/ |
D | SkBmpMaskCodec.cpp | 86 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
|
D | SkBmpStandardCodec.cpp | 223 if (this->stream()->read(this->srcBuffer(), this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows() 267 const size_t bytesToSkip = remainingScanlines * this->srcRowBytes() + in decodeRows()
|
D | SkBmpBaseCodec.cpp | 15 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
|
D | SkBmpCodec.h | 83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
|
D | SkWebpCodec.cpp | 530 const size_t srcRowBytes = config.output.u.RGBA.stride; in onGetPixels() local 555 xformSrc = SkTAddOffset<uint32_t>(xformSrc, srcRowBytes); in onGetPixels() 563 src = SkTAddOffset<const uint8_t>(src, srcRowBytes); in onGetPixels()
|
/external/skia/src/core/ |
D | SkConvertPixels.h | 18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
|
D | SkBlurMask.cpp | 60 AlphaIter src, int srcRowBytes, in clamp_solid_with_orig() argument 73 src >>= srcRowBytes; in clamp_solid_with_orig() 79 AlphaIter src, int srcRowBytes, in clamp_outer_with_orig() argument 93 src >>= srcRowBytes; in clamp_outer_with_orig()
|
/external/skqp/src/core/ |
D | SkConvertPixels.h | 17 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
|
D | SkBlurMask.cpp | 59 AlphaIter src, int srcRowBytes, in clamp_solid_with_orig() argument 72 src >>= srcRowBytes; in clamp_solid_with_orig() 78 AlphaIter src, int srcRowBytes, in clamp_outer_with_orig() argument 92 src >>= srcRowBytes; in clamp_outer_with_orig()
|
/external/skqp/src/gpu/text/ |
D | GrStrikeCache.cpp | 67 int srcRowBytes) { in expand_bits() argument 79 src += srcRowBytes; in expand_bits()
|
/external/skqp/include/private/ |
D | GrTextureProxy.h | 92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
|
/external/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 43 int srcRowBytes) { in expand_bits() argument 55 src += srcRowBytes; in expand_bits()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpu.mm | 415 const void* srcData, size_t srcRowBytes, 469 if (!srcRowBytes) { 470 srcRowBytes = trimRowBytes; 486 bytesPerRow: srcRowBytes];
|
/external/skqp/src/gpu/vk/ |
D | GrVkGpu.cpp | 1309 size_t bufferOffset, size_t srcRowBytes, size_t dstRowBytes, in copy_testing_data() argument 1323 SkRectMemcpy(mapPtr, dstRowBytes, srcData, srcRowBytes, trimRowBytes, h); in copy_testing_data() 1337 size_t srcRowBytes, GrVkImageInfo* info) { in createTestingOnlyVkImage() argument 1448 if (!srcRowBytes) { in createTestingOnlyVkImage() 1449 srcRowBytes = trimRowBytes; in createTestingOnlyVkImage() 1526 result = copy_testing_data(this, srcData, bufferAlloc, bufferOffset, srcRowBytes, in createTestingOnlyVkImage()
|
D | GrVkGpu.h | 260 size_t srcRowBytes, GrVkImageInfo* info);
|
/external/skqp/experimental/canvaskit/ |
D | interface.js | 435 var srcRowBytes = bytesPerPixel * srcWidth; 445 }, pptr, srcRowBytes, destX, destY);
|
/external/skqp/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 220 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local 237 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes); in copyFTBitmap()
|