OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:decodedBitmap
(Results
1 - 4
of
4
) sorted by null
/external/chromium_org/third_party/skia/tests/
KtxTest.cpp
61
SkBitmap
decodedBitmap
;
62
bool imageDecodeSuccess = SkImageDecoder::DecodeStream(stream, &
decodedBitmap
);
65
REPORTER_ASSERT(reporter,
decodedBitmap
.colorType() == bm8888.colorType());
66
REPORTER_ASSERT(reporter,
decodedBitmap
.alphaType() == bm8888.alphaType());
67
REPORTER_ASSERT(reporter,
decodedBitmap
.width() == bm8888.width());
68
REPORTER_ASSERT(reporter,
decodedBitmap
.height() == bm8888.height());
69
REPORTER_ASSERT(reporter, !(
decodedBitmap
.empty()));
71
uint8_t *decodedPixels = reinterpret_cast<uint8_t*>(
decodedBitmap
.getPixels());
73
REPORTER_ASSERT(reporter,
decodedBitmap
.getSize() == bm8888.getSize());
79
REPORTER_ASSERT(reporter, memcmp(decodedPixels, pixels,
decodedBitmap
.getSize()) == 0)
[
all
...]
/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
const SkColorType ct =
decodedBitmap
->colorType();
237
SkBitmap*
decodedBitmap
,
239
WEBP_CSP_MODE mode = webp_decode_mode(
decodedBitmap
, premultiply);
249
config->output.u.RGBA.rgba = (uint8_t*)
decodedBitmap
->getPixels();
250
config->output.u.RGBA.stride = (int)
decodedBitmap
->rowBytes();
251
config->output.u.RGBA.size =
decodedBitmap
->getSize();
254
if (width !=
decodedBitmap
->width() || height !=
decodedBitmap
->height())
[
all
...]
SkImageDecoder_wbmp.cpp
102
bool SkWBMPImageDecoder::onDecode(SkStream* stream, SkBitmap*
decodedBitmap
,
114
decodedBitmap
->setInfo(SkImageInfo::Make(width, height,
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
300
bool SkPNGImageDecoder::onDecode(SkStream* sk_stream, SkBitmap*
decodedBitmap
,
332
decodedBitmap
->setInfo(SkImageInfo::Make(sampler.scaledWidth(), sampler.scaledHeight(),
353
if (!this->allocPixelRef(
decodedBitmap
,
358
SkAutoLockPixels alp(*
decodedBitmap
);
385
uint8_t* bmRow =
decodedBitmap
->getAddr8(0, y);
408
even if our
decodedBitmap
doesn't, due to the request that we
412
if (!sampler.begin(
decodedBitmap
, sc, *this, ctLock.colors())) {
415
const int height =
decodedBitmap
->height();
462
reallyHasAlpha |= substituteTranspColor(
decodedBitmap
, theTranspColor);
465
switch (
decodedBitmap
->colorType())
[
all
...]
Completed in 2233 milliseconds