/third_party/skia/tests/ |
D | TransferPixelsTest.cpp | 158 size_t srcRowBytes = SkAlignTo(GrColorTypeBytesPerPixel(allowedSrc.fColorType) * srcBufferWidth, in basic_transfer_to_test() local 161 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]); in basic_transfer_to_test() 163 fill_transfer_data(0, 0, kTexDims.fWidth, kTexDims.fHeight, srcRowBytes, in basic_transfer_to_test() 167 size_t size = srcRowBytes * kBufferHeight; in basic_transfer_to_test() 191 srcRowBytes); in basic_transfer_to_test() 214 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test() 234 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType); in basic_transfer_to_test() 244 offset = top * srcRowBytes; in basic_transfer_to_test() 251 fill_transfer_data(left, top, width, height, srcRowBytes, allowedSrc.fColorType, in basic_transfer_to_test() 263 srcRowBytes); in basic_transfer_to_test() [all …]
|
/third_party/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 | 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()
|
D | SkBmpCodec.h | 83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
|
/third_party/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()
|
/third_party/skia/src/gpu/text/ |
D | GrAtlasManager.cpp | 43 int srcRowBytes) { in expand_bits() argument 55 src += srcRowBytes; in expand_bits()
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnGpu.cpp | 358 size_t srcRowBytes = texels[i].fRowBytes; in uploadTextureData() local 365 SkRectMemcpy(slice.fOffsetMapPtr, dstRowBytes, src, srcRowBytes, trimRowBytes, height); in uploadTextureData()
|
/third_party/skia/modules/canvaskit/ |
D | interface.js | 827 var srcRowBytes = bytesPerPixel * srcWidth; 836 }, pptr, srcRowBytes, destX, destY);
|
D | canvaskit_bindings.cpp | 1185 size_t srcRowBytes, int dstX, int dstY) { in EMSCRIPTEN_BINDINGS() argument 1189 return self.writePixels(dstInfo, pixels, srcRowBytes, dstX, dstY); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DGpu.cpp | 748 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes; in uploadToTexture() local 755 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()
|
/third_party/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 232 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local 249 size_t commonRowBytes = std::min(srcRowBytes, dstRowBytes); in copyFTBitmap()
|