Home
last modified time | relevance | path

Searched refs:origHeight (Results 1 – 8 of 8) sorted by relevance

/external/skia/src/codec/
DSkIcoCodec.cpp217 int origHeight = this->getInfo().height(); in onGetScaledDimensions() local
218 float desiredSize = desiredScale * origWidth * origHeight; in onGetScaledDimensions()
220 float minError = ((float) (origWidth * origHeight)) - desiredSize + 1.0f; in onGetScaledDimensions()
DSkPngCodec.cpp844 png_uint_32 origWidth, origHeight; in infoCallback() local
846 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
946 SkImageInfo imageInfo = encodedInfo.makeImageInfo(origWidth, origHeight, colorSpace); in infoCallback()
/external/skqp/src/codec/
DSkIcoCodec.cpp217 int origHeight = this->getInfo().height(); in onGetScaledDimensions() local
218 float desiredSize = desiredScale * origWidth * origHeight; in onGetScaledDimensions()
220 float minError = ((float) (origWidth * origHeight)) - desiredSize + 1.0f; in onGetScaledDimensions()
DSkPngCodec.cpp835 png_uint_32 origWidth, origHeight; in infoCallback() local
837 png_get_IHDR(fPng_ptr, fInfo_ptr, &origWidth, &origHeight, &bitDepth, in infoCallback()
937 SkImageInfo imageInfo = encodedInfo.makeImageInfo(origWidth, origHeight, colorSpace); in infoCallback()
/external/skia/src/core/
DSkBitmapCache.cpp53 SkBitmapCacheDesc SkBitmapCacheDesc::Make(uint32_t imageID, int origWidth, int origHeight) { in Make() argument
55 SkASSERT(origWidth > 0 && origHeight > 0); in Make()
56 return { imageID, 0, 0, {0, 0, origWidth, origHeight} }; in Make()
DSkBitmapCache.h42 static SkBitmapCacheDesc Make(uint32_t genID, int origWidth, int origHeight);
/external/skqp/src/core/
DSkBitmapCache.cpp53 SkBitmapCacheDesc SkBitmapCacheDesc::Make(uint32_t imageID, int origWidth, int origHeight) { in Make() argument
55 SkASSERT(origWidth > 0 && origHeight > 0); in Make()
56 return { imageID, 0, 0, {0, 0, origWidth, origHeight} }; in Make()
DSkBitmapCache.h42 static SkBitmapCacheDesc Make(uint32_t genID, int origWidth, int origHeight);