Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_ktx.cpp146 const int srcRowBytes = width; in onDecode() local
149 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
152 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
175 const int srcRowBytes = width * 3; in onDecode() local
178 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
181 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
194 const int srcRowBytes = width * 3; in onDecode() local
197 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
200 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
224 const int srcRowBytes = width * 4; in onDecode() local
[all …]
DSkImageDecoder_pkm.cpp86 const int srcRowBytes = width * 3; in onDecode() local
89 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
92 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
DSkImageDecoder_libbmp.cpp152 const int srcRowBytes = width * 3; in onDecode() local
156 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
159 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
DSkImageDecoder_astc.cpp161 const int srcRowBytes = width * 4; in onDecode() local
164 srcRow += sampler.srcY0() * srcRowBytes; in onDecode()
167 srcRow += sampler.srcDY() * srcRowBytes; in onDecode()
/external/skia/src/codec/
DSkCodec_wbmp.cpp140 size_t srcRowBytes = SkAlign8(size.width()) >> 3; in onGetPixels() local
141 SkAutoTMalloc<uint8_t> src(srcRowBytes); in onGetPixels()
143 if (this->stream()->read(src.get(), srcRowBytes) != srcRowBytes) { in onGetPixels()
/external/skia/src/utils/
DSkTextureCompressor_LATC.cpp433 int srcRowBytes) { in CompressA8Horizontal()
434 compress_a8_latc_block<PackRowMajor>(&dst, src, srcRowBytes); in CompressA8Horizontal()
438 static inline void UpdateBlock(uint8_t* dst, const uint8_t* src, int srcRowBytes, in UpdateBlock()
443 const uint32_t idx = *(reinterpret_cast<const uint32_t*>(src + i*srcRowBytes)); in UpdateBlock()
450 compress_a8_latc_block<PackRowMajor>(&cmpSrcPtr, src, srcRowBytes); in UpdateBlock()
DSkTextureCompressor_R11EAC.cpp603 int srcRowBytes) { in CompressA8Horizontal()
604 *(reinterpret_cast<uint64_t*>(dst)) = compress_r11eac_block_fast(src, srcRowBytes); in CompressA8Horizontal()
608 static inline void UpdateBlock(uint8_t* dst, const uint8_t* src, int srcRowBytes, in UpdateBlock()
DSkTextureCompressor_ASTC.cpp2018 int srcRowBytes) { in CompressA8Horizontal()
2019 compress_a8_astc_block<GetAlpha>(&dst, src, srcRowBytes); in CompressA8Horizontal()
2023 static inline void UpdateBlock(uint8_t* dst, const uint8_t* src, int srcRowBytes, in UpdateBlock()
/external/skia/src/core/
DSkConfig8888.h19 const SkImageInfo& srcInfo, const void* srcPixels, size_t srcRowBytes,
DSkBitmapDevice.cpp152 size_t srcRowBytes, int x, int y) { in onWritePixels() argument
163 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) { in onWritePixels()
/external/skia/src/gpu/
DGrFontScaler.cpp134 int srcRowBytes) { in expand_bits() argument
146 src += srcRowBytes; in expand_bits()
/external/skia/src/ports/
DSkFontHost_FreeType_common.cpp187 const size_t srcRowBytes = SkTAbs(srcPitch); in copyFTBitmap() local
204 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes); in copyFTBitmap()
/external/skia/src/effects/
DSkBlurMask.cpp440 const uint8_t src[], int srcRowBytes, in clamp_with_orig() argument
469 src += srcRowBytes - sw; in clamp_with_orig()