Home
last modified time | relevance | path

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

/external/skia/tests/
DTransferPixelsTest.cpp185 size_t srcRowBytes = SkAlignTo(GrColorTypeBytesPerPixel(allowedSrc.fColorType) * srcBufferWidth, in basic_transfer_to_test() local
188 std::unique_ptr<char[]> srcData(new char[kTexDims.fHeight * srcRowBytes]); in basic_transfer_to_test()
190 fill_transfer_data(0, 0, kTexDims.fWidth, kTexDims.fHeight, srcRowBytes, in basic_transfer_to_test()
194 size_t size = srcRowBytes * kBufferHeight; in basic_transfer_to_test()
220 srcRowBytes); in basic_transfer_to_test()
243 ComparePixels(GrCPixmap(srcInfo, srcData.get(), srcRowBytes), in basic_transfer_to_test()
263 size_t offset = top * srcRowBytes + left * GrColorTypeBytesPerPixel(allowedSrc.fColorType); in basic_transfer_to_test()
273 offset = top * srcRowBytes; in basic_transfer_to_test()
280 fill_transfer_data(left, top, width, height, srcRowBytes, allowedSrc.fColorType, in basic_transfer_to_test()
292 srcRowBytes); in basic_transfer_to_test()
[all …]
/external/skia/src/gpu/graphite/task/
DUploadTask.cpp172 const size_t srcRowBytes = levels[currentMipLevel].fRowBytes; in Make() local
186 size_t rgbSrcRowBytes = srcRowBytes; in Make()
195 srcRowBytes)); in Make()
211 mipOffset, srcImageInfo, src, srcRowBytes, dstImageInfo, dstRowBytes); in Make()
213 writer.write(mipOffset, src, srcRowBytes, dstRowBytes, trimRowBytes, currentHeight); in Make()
298 const size_t srcRowBytes = trimRowBytes; in MakeCompressed() local
304 writer.write(dstMipOffset, src, srcRowBytes, dstRowBytes, trimRowBytes, blockHeight); in MakeCompressed()
/external/skia/src/codec/
DSkBmpMaskCodec.cpp94 if (this->stream()->read(srcRow, this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
DSkBmpBaseCodec.cpp20 , fSrcBuffer(sk_malloc_canfail(this->srcRowBytes())) in SkBmpBaseCodec()
DSkBmpStandardCodec.cpp240 if (this->stream()->read(this->srcBuffer(), this->srcRowBytes()) != this->srcRowBytes()) { in decodeRows()
284 const size_t bytesToSkip = remainingScanlines * this->srcRowBytes() + in decodeRows()
DSkBmpCodec.h89 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
DSkWebpCodec.cpp547 const size_t srcRowBytes = config.output.u.RGBA.stride; in onGetPixels() local
576 xformSrc = SkTAddOffset<uint32_t>(xformSrc, srcRowBytes); in onGetPixels()
585 src = SkTAddOffset<const uint8_t>(src, srcRowBytes); in onGetPixels()
/external/skia/src/gpu/
DBufferWriter.h468 void write(size_t offset, const void* src, size_t srcRowBytes, size_t dstRowBytes,
472 SkRectMemcpy(dst, dstRowBytes, src, srcRowBytes, trimRowBytes, rowCount);
476 const SkImageInfo& srcInfo, const void* src, size_t srcRowBytes,
481 SkAssertResult(SkConvertPixels(dstInfo, dst, dstRowBytes, srcInfo, src, srcRowBytes));
486 void writeRGBFromRGBx(size_t offset, const void* src, size_t srcRowBytes, size_t dstRowBytes,
497 sRow += srcRowBytes;
/external/skia/src/core/
DSkConvertPixels.h17 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
DSkBlurMask.cpp69 AlphaIter src, int srcRowBytes, in clamp_solid_with_orig() argument
82 src >>= srcRowBytes; in clamp_solid_with_orig()
88 AlphaIter src, int srcRowBytes, in clamp_outer_with_orig() argument
102 src >>= srcRowBytes; in clamp_outer_with_orig()
/external/skia/src/gpu/ganesh/text/
DGrAtlasManager.cpp63 int srcRowBytes) { in expand_bits() argument
75 src += srcRowBytes; in expand_bits()
/external/skia/src/gpu/graphite/text/
DTextAtlasManager.cpp65 int srcRowBytes) { in expand_bits() argument
77 src += srcRowBytes; in expand_bits()
/external/skia/src/gpu/graphite/
DContext.cpp735 size_t srcRowBytes = rowBytes; in transferPixels() local
741 for (int y = 0; y < srcInfo.height(); ++y, sRow += srcRowBytes, tRow += tRowBytes) { in transferPixels()
750 srcRowBytes = tRowBytes; in transferPixels()
753 srcInfo, src, srcRowBytes)); in transferPixels()
/external/skia/modules/canvaskit/
Dinterface.js838 var srcRowBytes = bytesPerPixel * srcWidth;
847 }, pptr, srcRowBytes, destX, destY);
Dcanvaskit_bindings.cpp1491 size_t srcRowBytes, int dstX, int dstY) { in EMSCRIPTEN_BINDINGS() argument
1495 return self.writePixels(dstInfo, pixels, srcRowBytes, dstX, dstY); in EMSCRIPTEN_BINDINGS()
/external/skia/src/gpu/ganesh/d3d/
DGrD3DGpu.cpp777 const size_t srcRowBytes = texels[currentMipLevel].fRowBytes; in uploadToTexture() local
784 src, srcRowBytes, trimRowBytes, currentHeight); in uploadToTexture()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp277 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local
294 size_t commonRowBytes = std::min(srcRowBytes, dstRowBytes); in copyFTBitmap()