Searched refs:origHeight (Results 1 - 6 of 6) sorted by relevance

/external/skia/bench/
H A DETCBitmapBench.cpp33 etc1_uint32 origHeight = etc1_pkm_get_height(origData); local
39 (origHeight % kETC1BlockHeight) != 0) {
44 if (origWidth <= kETC1BlockWidth || origHeight <= kETC1BlockHeight) {
49 etc1_uint32 newHeight = origHeight * factor;
62 etc1_uint32 origBlocksY = (origHeight >> 2);
/external/skia/src/images/
H A DSkImageDecoder_libpng.cpp284 png_uint_32 origWidth, origHeight; local
286 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
323 png_uint_32 origWidth, origHeight; local
325 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
339 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
398 for (png_uint_32 y = 0; y < origHeight; y++) {
432 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel);
438 for (png_uint_32 y = 0; y < origHeight; y++) {
467 SkASSERT(read <= origHeight);
468 skip_src_rows(png_ptr, srcRow, origHeight
506 png_uint_32 origWidth, origHeight; local
747 png_uint_32 origWidth, origHeight; local
776 png_uint_32 origWidth, origHeight; local
[all...]
H A DSkScaledBitmapSampler.h19 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
H A DSkImageDecoder_libwebp.cpp314 int origWidth, origHeight, hasAlpha; local
315 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
325 *height = origHeight;
329 this->fOrigHeight = origHeight;
410 int origWidth, origHeight, hasAlpha; local
411 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) {
417 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize);
435 if (!webp_get_config_resize(&config, decodedBitmap, origWidth, origHeight,
/external/skia/src/codec/
H A DSkCodec_libpng.cpp250 png_uint_32 origWidth, origHeight;
252 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bitDepth,
257 int64_t size = sk_64_mul(origWidth, origHeight);
339 *imageInfo = SkImageInfo::Make(origWidth, origHeight, skColorType,
440 png_uint_32 origWidth, origHeight;
442 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth,
H A DSkCodec_libico.cpp206 int origHeight = this->getInfo().height(); local
207 float desiredSize = desiredScale * origWidth * origHeight;
209 float minError = ((float) (origWidth * origHeight)) - desiredSize + 1.0f;

Completed in 322 milliseconds