Home | History | Annotate | Download | only in images

Lines Matching defs:decodedBitmap

275 bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap,
305 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
325 if (!this->allocPixelRef(decodedBitmap,
330 SkAutoLockPixels alp(*decodedBitmap);
352 uint8_t* bmRow = decodedBitmap->getAddr8(0, y);
375 even if our decodedBitmap doesn't, due to the request that we
379 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) {
382 const int height = decodedBitmap->height();
429 reallyHasAlpha |= substituteTranspColor(decodedBitmap, theTranspColor);
432 SkBitmap::kARGB_8888_Config != decodedBitmap->config()) {
438 if (SkBitmap::kA8_Config == decodedBitmap->config()) {
441 decodedBitmap->setIsOpaque(!reallyHasAlpha);
740 SkBitmap decodedBitmap;
741 decodedBitmap.setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
762 const bool swapOnly = (rect == region) && (w == decodedBitmap.width()) &&
763 (h == decodedBitmap.height()) && bm->isNull();
766 if (!this->allocPixelRef(&decodedBitmap, needColorTable ? colorTable : NULL)) {
770 if (!decodedBitmap.allocPixels(NULL, needColorTable ? colorTable : NULL)) {
774 SkAutoLockPixels alp(decodedBitmap);
808 uint8_t* bmRow = decodedBitmap.getAddr8(0, 0);
811 png_uint_32 bitmapHeight = (png_uint_32) decodedBitmap.height();
813 uint8_t* bmRow = decodedBitmap.getAddr8(0, y);
836 even if our decodedBitmap doesn't, due to the request that we
840 if (!sampler.begin(&decodedBitmap, sc, *this, ctLock.colors())) {
843 const int height = decodedBitmap.height();
853 uint8_t* bmRow = (uint8_t*)decodedBitmap.getPixels();
877 uint8_t* bmRow = (uint8_t*)decodedBitmap.getPixels();
892 reallyHasAlpha |= substituteTranspColor(&decodedBitmap, theTranspColor);
894 if (SkBitmap::kA8_Config == decodedBitmap.config()) {
897 decodedBitmap.setIsOpaque(!reallyHasAlpha);
900 bm->swap(decodedBitmap);
903 decodedBitmap, sampleSize, region.x(), region.y(),