Home
last modified time | relevance | path

Searched refs:pixelRef (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/hwui/hwui/
DBitmap.cpp178 sk_sp<Bitmap> Bitmap::createFrom(const SkImageInfo& info, SkPixelRef& pixelRef) { in createFrom() argument
179 return sk_sp<Bitmap>(new Bitmap(pixelRef, info)); in createFrom()
269 Bitmap::Bitmap(SkPixelRef& pixelRef, const SkImageInfo& info) in Bitmap() argument
270 : SkPixelRef(info.width(), info.height(), pixelRef.pixels(), pixelRef.rowBytes()) in Bitmap()
273 pixelRef.ref(); in Bitmap()
274 mPixelStorage.wrapped.pixelRef = &pixelRef; in Bitmap()
306 mPixelStorage.wrapped.pixelRef->unref(); in ~Bitmap()
512 greyGainmap.setPixelRef(sk_ref_sp(gainmapBitmap.pixelRef()), 0, 0); in compress()
DBitmap.h182 Bitmap(SkPixelRef& pixelRef, const SkImageInfo& info);
210 SkPixelRef* pixelRef; member
/frameworks/base/libs/hwui/jni/
DMovie.cpp77 sk_sp<android::Bitmap> wrapper = android::Bitmap::createFrom(b.info(), *b.pixelRef()); in movie_draw()
DBitmap.cpp1122 if (src.pixelRef() == nullptr) { in Bitmap_copyPreserveInternalConfig()
1127 sk_sp<Bitmap> bitmap = Bitmap::createFrom(src.info(), *src.pixelRef()); in Bitmap_copyPreserveInternalConfig()
DBitmapFactory.cpp610 if (outputBitmap.pixelRef() == NULL) { in doDecode()