HomeSort by relevance Sort by last modified time
    Searched refs:decodedBitmap (Results 1 - 6 of 6) sorted by null

  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libwebp.cpp 126 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
170 static WEBP_CSP_MODE webp_decode_mode(const SkBitmap* decodedBitmap, bool premultiply) {
172 SkBitmap::Config config = decodedBitmap->config();
229 SkBitmap* decodedBitmap,
231 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, premultiply);
241 config->output.u.RGBA.rgba = (uint8_t*)decodedBitmap->getPixels();
242 config->output.u.RGBA.stride = decodedBitmap->rowBytes();
243 config->output.u.RGBA.size = decodedBitmap->getSize();
246 if (width != decodedBitmap->width() || height != decodedBitmap->height())
    [all...]
SkImageDecoder_wbmp.cpp 102 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap,
114 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height);
115 decodedBitmap->setIsOpaque(true);
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();
SkImageDecoder_libpng.cpp 273 bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap* decodedBitmap,
304 decodedBitmap->setConfig(config, sampler.scaledWidth(), sampler.scaledHeight());
324 if (!this->allocPixelRef(decodedBitmap,
329 SkAutoLockPixels alp(*decodedBitmap);
351 uint8_t* bmRow = decodedBitmap->getAddr8(0, y);
374 even if our decodedBitmap doesn't, due to the request that we
378 if (!sampler.begin(decodedBitmap, sc, doDither, ctLock.colors(),
382 const int height = decodedBitmap->height();
429 reallyHasAlpha |= substituteTranspColor(decodedBitmap, theTranspColor);
432 SkBitmap::kARGB_8888_Config != decodedBitmap->config())
    [all...]
  /external/skia/src/images/
SkImageDecoder_libwebp.cpp 134 bool setDecodeConfig(SkBitmap* decodedBitmap, int width, int height);
178 static WEBP_CSP_MODE webp_decode_mode(const SkBitmap* decodedBitmap, bool premultiply) {
180 SkBitmap::Config config = decodedBitmap->config();
239 SkBitmap* decodedBitmap,
241 WEBP_CSP_MODE mode = webp_decode_mode(decodedBitmap, premultiply);
251 config->output.u.RGBA.rgba = (uint8_t*)decodedBitmap->getPixels();
252 config->output.u.RGBA.stride = decodedBitmap->rowBytes();
253 config->output.u.RGBA.size = decodedBitmap->getSize();
256 if (width != decodedBitmap->width() || height != decodedBitmap->height())
    [all...]
SkImageDecoder_wbmp.cpp 102 bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap* decodedBitmap,
114 decodedBitmap->setConfig(SkBitmap::kIndex8_Config, width, height);
115 decodedBitmap->setIsOpaque(true);
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();
SkImageDecoder_libpng.cpp 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())
    [all...]

Completed in 53 milliseconds