Lines Matching defs:rowBytes
38 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
42 reconfigure(info, rowBytes, ctable);
52 void reconfigure(const SkImageInfo& newInfo, size_t rowBytes, SkColorTable* ctable) {
56 mRowBytes = rowBytes;
85 // Can't mark as override since SkPixelRef::rowBytes isn't virtual
87 // on calling rowBytes() on an unlocked pixelref, which it will be
90 size_t rowBytes() const { return mRowBytes; }
130 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
135 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
142 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
147 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
154 const SkImageInfo& info, size_t rowBytes, SkColorTable* ctable)
159 mPixelRef.reset(new WrappedPixelRef(this, address, info, rowBytes, ctable));
225 size_t Bitmap::rowBytes() const {
226 return mPixelRef->rowBytes();
252 void Bitmap::reconfigure(const SkImageInfo& info, size_t rowBytes,
254 mPixelRef->reconfigure(info, rowBytes, ctable);
356 // Safe because mPixelRef is a WrappedPixelRef type, otherwise rowBytes()
358 outBitmap->setInfo(mPixelRef->info(), mPixelRef->rowBytes());
516 dst = (char*)dst + dstBitmap.rowBytes();
885 return static_cast<jint>(bitmap->rowBytes());
960 const int rowBytes = p->readInt32();
974 if (!bitmap->setInfo(SkImageInfo::Make(width, height, colorType, alphaType), rowBytes)) {
1094 p->writeInt32(bitmap.rowBytes());
1231 src = (void*)((const char*)src + bitmap.rowBytes());