Home
last modified time | relevance | path

Searched refs:dstRowBytes (Results 1 – 25 of 41) sorted by relevance

12

/external/skia/src/codec/
DSkBmpRLECodec.cpp35 void* dst, size_t dstRowBytes, in onGetPixels() argument
51 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
175 void SkBmpRLECodec::setPixel(void* dst, size_t dstRowBytes, in setPixel() argument
187 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setPixel()
192 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setPixel()
208 void SkBmpRLECodec::setRGBPixel(void* dst, size_t dstRowBytes, in setRGBPixel() argument
220 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
225 SkPMColor* dstRow = SkTAddOffset<SkPMColor>(dst, row * (int) dstRowBytes); in setRGBPixel()
230 uint16_t* dstRow = SkTAddOffset<uint16_t>(dst, row * (int) dstRowBytes); in setRGBPixel()
286 int SkBmpRLECodec::decodeRows(const SkImageInfo& info, void* dst, size_t dstRowBytes, in decodeRows() argument
[all …]
DSkBmpRLECodec.h47 size_t dstRowBytes, const Options&, SkPMColor*,
76 void setPixel(void* dst, size_t dstRowBytes,
82 void setRGBPixel(void* dst, size_t dstRowBytes,
89 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
91 int decodeRLE(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes);
DSkBmpMaskCodec.cpp28 void* dst, size_t dstRowBytes, in onGetPixels() argument
47 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
81 void* dst, size_t dstRowBytes, in decodeRows() argument
95 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
DSkBmpStandardCodec.cpp39 void* dst, size_t dstRowBytes, in onGetPixels() argument
57 int rows = this->decodeRows(dstInfo, dst, dstRowBytes, opts); in onGetPixels()
228 int SkBmpStandardCodec::decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, in decodeRows() argument
242 void* dstRow = SkTAddOffset<void>(dst, row * dstRowBytes); in decodeRows()
259 decodeIcoMask(this->stream(), dstInfo, dst, dstRowBytes); in decodeRows()
298 decodeIcoMask(&subStream, dstInfo, dst, dstRowBytes); in decodeRows()
305 void* dst, size_t dstRowBytes) { in decodeIcoMask() argument
341 void* dstRow = SkTAddOffset<SkPMColor>(dstPtr, row * dstRowBytes); in decodeIcoMask()
DSkBmpStandardCodec.h50 size_t dstRowBytes, const Options&, SkPMColor*,
79 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
87 void decodeIcoMask(SkStream* stream, const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes);
DSkBmpMaskCodec.h41 size_t dstRowBytes, const Options&, SkPMColor*,
55 int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
DSkGifCodec.cpp304 void* pixels, size_t dstRowBytes, in onGetPixels() argument
330 fDstRowBytes = dstRowBytes; in onGetPixels()
336 void* pixels, size_t dstRowBytes, in onStartIncrementalDecode() argument
346 fDstRowBytes = dstRowBytes; in onStartIncrementalDecode()
DSkWbmpCodec.cpp174 int SkWbmpCodec::onGetScanlines(void* dst, int count, size_t dstRowBytes) { in onGetScanlines() argument
181 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in onGetScanlines()
DSkRawCodec.h37 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&,
DSkWbmpCodec.h56 int onGetScanlines(void* dst, int count, size_t dstRowBytes) override;
DSkIcoCodec.h42 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&,
DSkJpegCodec.h47 Result onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options&,
DSkBmpCodec.h142 virtual int decodeRows(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes,
DSkIcoCodec.cpp249 void* dst, size_t dstRowBytes, in onGetPixels() argument
266 result = embeddedCodec->getPixels(dstInfo, dst, dstRowBytes, &opts, colorTable, colorCount); in onGetPixels()
/external/skia/src/gpu/
DGrSurfaceContext.h76 bool readPixels(const SkImageInfo& dstInfo, void* dstBuffer, size_t dstRowBytes,
78 return this->onReadPixels(dstInfo, dstBuffer, dstRowBytes, x, y, flags);
140 size_t dstRowBytes, int x, int y, uint32_t flags) = 0;
DGrTextureContext.cpp112 size_t dstRowBytes, int x, int y, uint32_t flags) { in onReadPixels() argument
131 config, dstInfo.colorSpace(), dstBuffer, dstRowBytes, flags); in onReadPixels()
DGrTextureContext.h51 size_t dstRowBytes, int x, int y, uint32_t flags) override;
/external/skia/src/image/
DSkImage_Raster.cpp168 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in onReadPixels() argument
171 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in onReadPixels()
365 size_t dstRowBytes = dst->rowBytes(); in do_color_xform_non_linear_blending() local
369 dstRowBytes, 0, 0)); in do_color_xform_non_linear_blending()
372 srcRowBytes = dstRowBytes; in do_color_xform_non_linear_blending()
392 dstRow = SkTAddOffset<void>(dstRow, dstRowBytes); in do_color_xform_non_linear_blending()
DSkSurface.cpp173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, in readPixels() argument
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY); in readPixels()
DSkImage_Gpu.h59 bool onReadPixels(const SkImageInfo&, void* dstPixels, size_t dstRowBytes,
DSkImage_Base.h47 virtual bool onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
/external/skia/include/core/
DSkPixmap.h185 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,
187 bool readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes) const { in readPixels() argument
188 return this->readPixels(dstInfo, dstPixels, dstRowBytes, 0, 0); in readPixels()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp203 const size_t dstRowBytes = dstMask.fRowBytes; in copyFTBitmap() local
216 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes); in copyFTBitmap()
220 dst += dstRowBytes; in copyFTBitmap()
238 dst += dstRowBytes; in copyFTBitmap()
256 dst += dstRowBytes; in copyFTBitmap()
/external/skia/src/core/
DSkBitmap.cpp490 size_t dstRowBytes, bool preserveDstPad) { in copy_pixels_to() argument
493 if (0 == dstRowBytes) { in copy_pixels_to()
494 dstRowBytes = src.rowBytes(); in copy_pixels_to()
496 if (dstRowBytes < info.minRowBytes()) { in copy_pixels_to()
500 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == src.rowBytes()) { in copy_pixels_to()
513 if (info.getSafeSize(dstRowBytes) > dstSize) { in copy_pixels_to()
523 dstP += dstRowBytes; in copy_pixels_to()
DSkConvertPixels.h16 void SkConvertPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes,

12