OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:decodedBitmap
(Results
1 - 6
of
6
) sorted by null
/external/chromium_org/third_party/skia/src/images/
SkImageDecoder_wbmp.cpp
102
bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap*
decodedBitmap
,
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();
SkImageDecoder_libwebp.cpp
127
bool setDecodeConfig(SkBitmap*
decodedBitmap
, int width, int height);
171
static WEBP_CSP_MODE webp_decode_mode(const SkBitmap*
decodedBitmap
, bool premultiply) {
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
->height())
[
all
...]
SkImageDecoder_libpng.cpp
304
bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap*
decodedBitmap
,
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
->config())
[
all
...]
/external/skia/src/images/
SkImageDecoder_wbmp.cpp
102
bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap*
decodedBitmap
,
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();
SkImageDecoder_libwebp.cpp
127
bool setDecodeConfig(SkBitmap*
decodedBitmap
, int width, int height);
171
static WEBP_CSP_MODE webp_decode_mode(const SkBitmap*
decodedBitmap
, bool premultiply) {
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
->height())
[
all
...]
SkImageDecoder_libpng.cpp
304
bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap*
decodedBitmap
,
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
, theTranspColor)
[
all
...]
Completed in 34 milliseconds