Lines Matching refs:rowBytes
37 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
41 reconfigure(info, rowBytes, ctable);
51 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) {
55 mRowBytes = rowBytes;
84 // Can't mark as override since SkPixelRef::rowBytes isn't virtual
86 // on calling rowBytes() on an unlocked pixelref, which it will be
89 size_t rowBytes() const { return mRowBytes; }
129 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
134 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
141 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
146 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
153 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
158 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
224 size_t Bitmap::rowBytes() const {
225 return mPixelRef->rowBytes();
251 void Bitmap::reconfigure(const SkImageInfo& info, size_t rowBytes,
260 mPixelRef->reconfigure(info, rowBytes, ctable);
362 // Safe because mPixelRef is a WrappedPixelRef type, otherwise rowBytes()
364 outBitmap->setInfo(mPixelRef->info(), mPixelRef->rowBytes());
522 dst = (char*)dst + dstBitmap.rowBytes();
873 return static_cast<jint>(bitmap->rowBytes());
948 const int rowBytes = p->readInt32();
962 if (!bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType), rowBytes)) {
1081 p->writeInt32(bitmap.rowBytes());
1216 src = (void*)((const char*)src + bitmap.rowBytes());