Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libwebp.cpp112 int origHeight; member in SkWEBPImageDecoder
290 int origWidth, origHeight, hasAlpha; in onBuildTileIndex() local
291 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onBuildTileIndex()
297 *height = origHeight; in onBuildTileIndex()
301 this->origHeight = origHeight; in onBuildTileIndex()
316 SkIRect rect = SkIRect::MakeWH(origWidth, origHeight); in onDecodeRegion()
391 int origWidth, origHeight, hasAlpha; in onDecode() local
392 if (!webp_parse_header(stream, &origWidth, &origHeight, &hasAlpha)) { in onDecode()
398 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
426 if (!webp_get_config_resize(config, decodedBitmap, origWidth, origHeight, in onDecode()
DSkImageDecoder_libpng.cpp226 png_uint_32 origWidth, origHeight; in onDecodeInit() local
228 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth, in onDecodeInit()
268 png_uint_32 origWidth, origHeight; in onDecode() local
270 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth, in onDecode()
284 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
349 for (png_uint_32 y = 0; y < origHeight; y++) { in onDecode()
378 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel); in onDecode()
384 for (png_uint_32 y = 0; y < origHeight; y++) { in onDecode()
413 SkASSERT(read <= origHeight); in onDecode()
414 skip_src_rows(png_ptr, srcRow, origHeight - read); in onDecode()
[all …]
DSkScaledBitmapSampler.h18 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
/external/webkit/Source/WebCore/platform/graphics/android/
DImageAndroid.cpp199 float invScaleY = (float)bitmap.height() / image->origHeight(); in draw()
215 bitmap.height() != image->origHeight()) { in draw()
218 image->origWidth(), image->origHeight()); in draw()
247 image->origHeight() != origBitmap.height(); in drawPattern()
252 scaleY = (float)image->origHeight() / origBitmap.height(); in drawPattern()
DImageSourceAndroid.cpp102 int origHeight, int sampleSize) in PrivateAndroidImageSourceRec() argument
104 this->setOrigSize(origWidth, origHeight); in PrivateAndroidImageSourceRec()
294 return IntSize(m_decoder.m_image->origWidth(), m_decoder.m_image->origHeight()); in size()
DSkBitmapRef.h45 int origHeight() const { return fOrigHeight; } in origHeight() function
/external/skia/src/gpu/
DGrContext.cpp443 int origHeight = desc.fHeight; in lockScratchTexture() local
480 desc.fHeight = origHeight; in lockScratchTexture()