Searched defs:decodedBitmap (Results 1 - 6 of 6) sorted by relevance

/external/chromium_org/third_party/skia/src/images/
H A DSkImageDecoder_wbmp.cpp102 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, argument
114 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height, 0,
125 if (!this->allocPixelRef(decodedBitmap, ct)) {
129 SkAutoLockPixels alp(*decodedBitmap);
131 uint8_t* dst = decodedBitmap->getAddr8(0, 0);
136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize;
144 dst += decodedBitmap->rowBytes();
H A DSkImageDecoder_libwebp.cpp127 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
171 static WEBP_CSP_MODE webp_decode_mode(const SkBitmap* decodedBitmap, bool premultiply) { argument
173 SkBitmap::Config config = decodedBitmap->config();
232 SkBitmap* decodedBitmap,
234 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, premultiply);
244 config->output.u.RGBA.rgba = (uint8_t*)decodedBitmap->getPixels();
245 config->output.u.RGBA.stride = (int) decodedBitmap->rowBytes();
246 config->output.u.RGBA.size = decodedBitmap->getSize();
249 if (width != decodedBitmap->width() || height != decodedBitmap
231 webp_get_config_resize(WebPDecoderConfig* config, SkBitmap* decodedBitmap, int width, int height, bool premultiply) argument
258 webp_get_config_resize_crop(WebPDecoderConfig* config, SkBitmap* decodedBitmap, const SkIRect& region, bool premultiply) argument
276 setDecodeConfig(SkBitmap* decodedBitmap, int width, int height) argument
330 onDecodeSubset(SkBitmap* decodedBitmap, const SkIRect& region) argument
400 onDecode(SkStream* stream, SkBitmap* decodedBitmap, Mode mode) argument
[all...]
H A DSkImageDecoder_libpng.cpp304 bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap, argument
334 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
354 if (!this->allocPixelRef(decodedBitmap,
359 SkAutoLockPixels alp(*decodedBitmap);
386 uint8_t* bmRow = decodedBitmap->getAddr8(0, y);
409 even if our decodedBitmap doesn't, due to the request that we
413 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) {
416 const int height = decodedBitmap->height();
463 reallyHasAlpha |= substituteTranspColor(decodedBitmap, theTranspColor);
466 switch (decodedBitmap
805 SkBitmap decodedBitmap; local
[all...]
/external/skia/src/images/
H A DSkImageDecoder_wbmp.cpp102 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap, argument
114 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height, 0,
125 if (!this->allocPixelRef(decodedBitmap, ct)) {
129 SkAutoLockPixels alp(*decodedBitmap);
131 uint8_t* dst = decodedBitmap->getAddr8(0, 0);
136 uint8_t* src = dst + decodedBitmap->getSize() - srcSize;
144 dst += decodedBitmap->rowBytes();
H A DSkImageDecoder_libwebp.cpp127 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
171 static WEBP_CSP_MODE webp_decode_mode(const SkBitmap* decodedBitmap, bool premultiply) { argument
173 SkBitmap::Config config = decodedBitmap->config();
232 SkBitmap* decodedBitmap,
234 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, premultiply);
244 config->output.u.RGBA.rgba = (uint8_t*)decodedBitmap->getPixels();
245 config->output.u.RGBA.stride = (int) decodedBitmap->rowBytes();
246 config->output.u.RGBA.size = decodedBitmap->getSize();
249 if (width != decodedBitmap->width() || height != decodedBitmap
231 webp_get_config_resize(WebPDecoderConfig* config, SkBitmap* decodedBitmap, int width, int height, bool premultiply) argument
258 webp_get_config_resize_crop(WebPDecoderConfig* config, SkBitmap* decodedBitmap, const SkIRect& region, bool premultiply) argument
276 setDecodeConfig(SkBitmap* decodedBitmap, int width, int height) argument
330 onDecodeSubset(SkBitmap* decodedBitmap, const SkIRect& region) argument
400 onDecode(SkStream* stream, SkBitmap* decodedBitmap, Mode mode) argument
[all...]
H A DSkImageDecoder_libpng.cpp304 bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap, argument
334 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
338 decodedBitmap->setAlphaType(kUnpremul_SkAlphaType);
359 if (!this->allocPixelRef(decodedBitmap,
364 SkAutoLockPixels alp(*decodedBitmap);
391 uint8_t* bmRow = decodedBitmap->getAddr8(0, y);
414 even if our decodedBitmap doesn't, due to the request that we
418 if (!sampler.begin(decodedBitmap, sc, *this, ctLock.colors())) {
421 const int height = decodedBitmap->height();
468 reallyHasAlpha |= substituteTranspColor(decodedBitmap, theTranspColo
804 SkBitmap decodedBitmap; local
[all...]

Completed in 115 milliseconds