Home
last modified time | relevance | path

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

12

/external/skia/tests/
DTransferPixelsTest.cpp146 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/
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()
DSkBmpCodec.h83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
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()
/external/skqp/src/gpu/
DGrSurfaceContext.cpp61 size_t srcRowBytes, int x, int y, uint32_t flags) { in writePixels() argument
76 srcRowBytes, flags); in writePixels()
DGrSurfaceContext.h88 bool writePixels(const SkImageInfo& srcInfo, const void* srcBuffer, size_t srcRowBytes,
/external/skqp/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()
DSkBmpCodec.h83 size_t srcRowBytes() const { return fSrcRowBytes; } in srcRowBytes() function
DSkWebpCodec.cpp530 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/
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()
/external/skqp/src/core/
DSkConvertPixels.h17 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes);
DSkBlurMask.cpp59 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/
DGrStrikeCache.cpp67 int srcRowBytes) { in expand_bits() argument
79 src += srcRowBytes; in expand_bits()
/external/skqp/include/private/
DGrTextureProxy.h92 SkBudgeted, const void* srcData, size_t srcRowBytes, GrInternalSurfaceFlags);
/external/skia/src/gpu/text/
DGrAtlasManager.cpp43 int srcRowBytes) { in expand_bits() argument
55 src += srcRowBytes; in expand_bits()
/external/skqp/src/gpu/mtl/
DGrMtlGpu.mm415 const void* srcData, size_t srcRowBytes,
469 if (!srcRowBytes) {
470 srcRowBytes = trimRowBytes;
486 bytesPerRow: srcRowBytes];
/external/skqp/src/gpu/vk/
DGrVkGpu.cpp1309 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()
DGrVkGpu.h260 size_t srcRowBytes, GrVkImageInfo* info);
/external/skqp/experimental/canvaskit/
Dinterface.js435 var srcRowBytes = bytesPerPixel * srcWidth;
445 }, pptr, srcRowBytes, destX, destY);
/external/skqp/src/ports/
DSkFontHost_FreeType_common.cpp220 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local
237 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes); in copyFTBitmap()

12