Home
last modified time | relevance | path

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

/external/skia/src/images/
DSkImageDecoder_libwebp.cpp103 int origHeight; member in SkWEBPImageDecoder
239 int origHeight) { in webp_get_config_resize() argument
256 origHeight != decodedBitmap->height()) { in webp_get_config_resize()
296 int origWidth, origHeight; in onBuildTileIndex() local
297 if (!webp_parse_header(stream, &origWidth, &origHeight)) { in onBuildTileIndex()
303 *height = origHeight; in onBuildTileIndex()
307 this->origHeight = origHeight; in onBuildTileIndex()
347 int origWidth, origHeight; in onDecode() local
348 if (!webp_parse_header(stream, &origWidth, &origHeight)) { in onDecode()
353 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
[all …]
DSkImageDecoder_libpng.cpp234 png_uint_32 origWidth, origHeight; in onDecodeInit() local
236 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth, in onDecodeInit()
276 png_uint_32 origWidth, origHeight; in onDecode() local
278 png_get_IHDR(png_ptr, info_ptr, &origWidth, &origHeight, &bit_depth, in onDecode()
292 SkScaledBitmapSampler sampler(origWidth, origHeight, sampleSize); in onDecode()
357 for (png_uint_32 y = 0; y < origHeight; y++) { in onDecode()
386 SkAutoMalloc storage(origWidth * origHeight * srcBytesPerPixel); in onDecode()
392 for (png_uint_32 y = 0; y < origHeight; y++) { in onDecode()
421 SkASSERT(read <= origHeight); in onDecode()
422 skip_src_rows(png_ptr, srcRow, origHeight - read); in onDecode()
[all …]
DSkScaledBitmapSampler.h11 SkScaledBitmapSampler(int origWidth, int origHeight, int cellSize);
/external/webkit/Source/WebCore/platform/graphics/android/
DImageAndroid.cpp213 float invScaleY = (float)bitmap.height() / image->origHeight(); in draw()
236 bitmap.height() != image->origHeight()) { in draw()
239 image->origWidth(), image->origHeight()); in draw()
275 image->origHeight() != origBitmap.height(); in drawPattern()
280 scaleY = (float)image->origHeight() / origBitmap.height(); in drawPattern()
332 bitmap.height() != image->origHeight()) { in drawPattern()
335 image->origWidth(), image->origHeight(), in drawPattern()
DImageSourceAndroid.cpp122 int origHeight, int sampleSize) in PrivateAndroidImageSourceRec() argument
124 this->setOrigSize(origWidth, origHeight); in PrivateAndroidImageSourceRec()
344 return IntSize(m_decoder.m_image->origWidth(), m_decoder.m_image->origHeight()); in size()
DSkBitmapRef.h45 int origHeight() const { return fOrigHeight; } in origHeight() function