Home
last modified time | relevance | path

Searched refs:srcRowBytes (Results 1 – 14 of 14) sorted by relevance

/third_party/skia/tests/
DTransferPixelsTest.cpp158 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/
DSkBmpMaskCodec.cpp86 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
DSkBmpStandardCodec.cpp223 if (this->stream()->read(this->srcBuffer(), this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
267 const size_t bytesToSkip = remainingScanlines * this->srcRowBytes() + in decodeRows()
DSkBmpBaseCodec.cpp15 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
DSkWebpCodec.cpp509 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()
DSkBmpCodec.h83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
/third_party/skia/src/core/
DSkConvertPixels.h18 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
DSkBlurMask.cpp60 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/
DGrAtlasManager.cpp43 int srcRowBytes) { in expand_bits() argument
55 src += srcRowBytes; in expand_bits()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp358 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/
Dinterface.js827 var srcRowBytes = bytesPerPixel * srcWidth;
836 }, pptr, srcRowBytes, destX, destY);
Dcanvaskit_bindings.cpp1185 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/
DGrD3DGpu.cpp748 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes; in uploadToTexture() local
755 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()
/third_party/skia/src/ports/
DSkFontHost_FreeType_common.cpp232 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local
249 size_t commonRowBytes = std::min(srcRowBytes, dstRowBytes); in copyFTBitmap()