Searched defs:dstRowBytes (Results 1 - 18 of 18) sorted by relevance

/external/skia/src/codec/
H A DSkMaskSwizzler.cpp177 const SkImageInfo& info, void* dst, size_t dstRowBytes, SkMasks* masks,
250 return SkNEW_ARGS(SkMaskSwizzler, (info, dst, dstRowBytes, masks, proc));
259 size_t dstRowBytes, SkMasks* masks, RowProc proc)
262 , fDstRowBytes(dstRowBytes)
176 CreateMaskSwizzler( const SkImageInfo& info, void* dst, size_t dstRowBytes, SkMasks* masks, uint32_t bitsPerPixel) argument
258 SkMaskSwizzler(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, SkMasks* masks, RowProc proc) argument
H A DSkCodec_libgif.cpp241 void* dst, size_t dstRowBytes,
427 SkSwizzler::Fill(dst, dstInfo, dstRowBytes, height, fillIndex, colorTable);
434 dstRowBytes * imageTop +
440 subsetDst, dstRowBytes, zeroInit));
445 dstRowBytes, zeroInit));
480 SkSwizzler::Fill(swizzler->getDstRow(), dstInfo, dstRowBytes,
240 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts, SkPMColor* inputColorPtr, int* inputColorCount) argument
H A DSkCodec_libico.cpp229 void* dst, size_t dstRowBytes,
242 dst, dstRowBytes, &opts, ct, ptr);
228 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts, SkPMColor* ct, int* ptr) argument
H A DSkJpegCodec.cpp285 void* dst, size_t dstRowBytes,
288 fSwizzler.reset(SkSwizzler::CreateSwizzler(srcConfig, NULL, dstInfo, dst, dstRowBytes,
297 void* dst, size_t dstRowBytes,
329 this->initializeSwizzler(dstInfo, dst, dstRowBytes, options);
374 SkSwizzler::Fill(fSwizzler->getDstRow(), dstInfo, dstRowBytes,
284 initializeSwizzler(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& options) argument
296 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& options, SkPMColor*, int*) argument
H A DSkSwizzler.cpp277 size_t dstRowBytes,
282 if (info.minRowBytes() > dstRowBytes) {
411 dstRowBytes));
458 void SkSwizzler::Fill(void* dstStartRow, const SkImageInfo& dstInfo, size_t dstRowBytes, argument
464 const size_t bytesToFill = dstInfo.makeWH(dstInfo.width(), numRows).getSafeSize(dstRowBytes);
480 if (SkIsAlign4((size_t) dstStartRow) && SkIsAlign4(dstRowBytes)) {
491 dstRow = SkTAddOffset<uint32_t>(dstRow, dstRowBytes);
274 CreateSwizzler(SkSwizzler::SrcConfig sc, const SkPMColor* ctable, const SkImageInfo& info, void* dst, size_t dstRowBytes, SkImageGenerator::ZeroInitialized zeroInit) argument
H A DSkCodec_libbmp.cpp575 void* dst, size_t dstRowBytes,
610 return decodeMask(dstInfo, dst, dstRowBytes, opts);
612 return decodeRLE(dstInfo, dst, dstRowBytes, opts);
614 return decode(dstInfo, dst, dstRowBytes, opts);
732 static inline void* get_dst_start_row(void* dst, size_t dstRowBytes, int32_t y, argument
735 SkTAddOffset<void*>(dst, y * dstRowBytes) : dst;
744 void* dst, size_t dstRowBytes,
758 SkMaskSwizzler::CreateMaskSwizzler(dstInfo, dst, dstRowBytes,
771 void* dstStart = get_dst_start_row(dst, dstRowBytes, y, fRowOrder);
772 SkSwizzler::Fill(dstStart, dstInfo, dstRowBytes, dstInf
574 onGetPixels(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts, SkPMColor* inputColorPtr, int* inputColorCount) argument
743 decodeMask(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts) argument
815 setRLEPixel(void* dst, size_t dstRowBytes, const SkImageInfo& dstInfo, uint32_t x, uint32_t y, uint8_t index) argument
848 setRLE24Pixel(void* dst, size_t dstRowBytes, const SkImageInfo& dstInfo, uint32_t x, uint32_t y, uint8_t red, uint8_t green, uint8_t blue) argument
883 decodeRLE(const SkImageInfo& dstInfo, void* dst, size_t dstRowBytes, const Options& opts) argument
[all...]
/external/skia/src/image/
H A DSkImage.cpp40 bool SkImage::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
42 SkReadPixelsRec rec(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
128 bool SkImage_Base::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
135 bm.installPixels(dstInfo, dstPixels, dstRowBytes);
H A DSkImage_Raster.cpp125 bool SkImage_Raster::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
128 return shallowCopy.readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
H A DSkSurface.cpp173 bool SkSurface::readPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
175 return this->getCanvas()->readPixels(dstInfo, dstPixels, dstRowBytes, srcX, srcY);
/external/skia/src/utils/
H A DSkTextureCompressor.cpp214 bool DecompressBufferFromFormat(uint8_t* dst, int dstRowBytes, const uint8_t* src, argument
225 DecompressLATC(dst, dstRowBytes, src, width, height);
229 DecompressR11EAC(dst, dstRowBytes, src, width, height);
234 return 0 == etc1_decode_image(src, dst, width, height, 3, dstRowBytes);
251 DecompressASTC(dst, dstRowBytes, src, width, height, dimX, dimY);
H A DSkTextureCompressor_LATC.cpp406 void decompress_latc_block(uint8_t* dst, int dstRowBytes, const uint8_t* src) { argument
420 dst += dstRowBytes;
509 void DecompressLATC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height) { argument
512 decompress_latc_block(dst + i, dstRowBytes, src);
515 dst += 4 * dstRowBytes;
H A DSkTextureCompressor_ASTC.cpp318 int dstRowBytes, SkColor color) {
324 dst += dstRowBytes;
331 int dstRowBytes) {
338 write_constant_color(dst, blockDimX, blockDimY, dstRowBytes, kASTCErrorColor);
1918 static void decompress_void_extent(uint8_t* dst, int dstRowBytes, argument
1926 write_constant_color(dst, data.fDimX, data.fDimY, dstRowBytes, SkColorSetARGB(a, r, g, b));
1931 static void decompress_astc_block(uint8_t* dst, int dstRowBytes, argument
1934 write_error_color(dst, data.fDimX, data.fDimY, dstRowBytes);
1939 decompress_void_extent(dst, dstRowBytes, data);
1955 write_error_color(dst, data.fDimX, data.fDimY, dstRowBytes);
317 write_constant_color(uint8_t* dst, int blockDimX, int blockDimY, int dstRowBytes, SkColor color) argument
330 write_error_color(uint8_t* dst, int blockDimX, int blockDimY, int dstRowBytes) argument
2080 DecompressASTC(uint8_t* dst, int dstRowBytes, const uint8_t* src, int width, int height, int blockDimX, int blockDimY) argument
[all...]
/external/skia/src/gpu/
H A DGrFontScaler.cpp133 int dstRowBytes,
145 dst = reinterpret_cast<INT_TYPE*>(reinterpret_cast<intptr_t>(dst) + dstRowBytes);
129 expand_bits(INT_TYPE* dst, const uint8_t* src, int width, int height, int dstRowBytes, int srcRowBytes) argument
H A DSkGpuDevice.cpp237 bool SkGpuDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
252 config, dstPixels, dstRowBytes, flags);
/external/skia/src/core/
H A DSkBitmapDevice.cpp161 size_t dstRowBytes = fBitmap.rowBytes(); local
163 if (SkPixelInfo::CopyPixels(dstInfo, dstPixels, dstRowBytes, srcInfo, srcPixels, srcRowBytes)) {
170 bool SkBitmapDevice::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRowBytes, argument
172 return fBitmap.readPixels(dstInfo, dstPixels, dstRowBytes, x, y);
H A DSkBitmap.cpp434 size_t dstRowBytes, bool preserveDstPad) const {
436 if (0 == dstRowBytes) {
437 dstRowBytes = fRowBytes;
440 if (dstRowBytes < fInfo.minRowBytes() ||
445 if (!preserveDstPad && static_cast<uint32_t>(dstRowBytes) == fRowBytes) {
460 if (fInfo.getSafeSize(dstRowBytes) > dstSize) {
468 for (int row = 0; row < fInfo.height(); row++, srcP += fRowBytes, dstP += dstRowBytes) {
433 copyPixelsTo(void* const dst, size_t dstSize, size_t dstRowBytes, bool preserveDstPad) const argument
/external/skia/src/ports/
H A DSkFontHost_FreeType_common.cpp191 const size_t dstRowBytes = dstMask.fRowBytes; local
204 size_t commonRowBytes = SkTMin(srcRowBytes, dstRowBytes);
208 dst += dstRowBytes;
226 dst += dstRowBytes;
244 dst += dstRowBytes;
/external/skia/src/effects/
H A DSkBlurMask.cpp439 static void clamp_with_orig(uint8_t dst[], int dstRowBytes, argument
468 dst += dstRowBytes - sw;

Completed in 306 milliseconds