History log of /external/skia/src/images/SkScaledBitmapSampler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b4f070ed646ef1cbb92c3eaaa073640e30954873 13-Oct-2010 Wei-Ta Chen <weita@google.com> Do not merge.

Backport changes/fixes related to tile-based decoder from Honeycomb to
Gingerbread.

Bug: 3309014

////////////////////////////////////////////////////////////////////
This is a combination of 3 commits.

Fix 3071104, where decodeRegion returned false for some large image.

decodeRegion() returns false when it cannot find a suitable color config
for SkScaledBitmapSampler. Currently SkScaledBitmapSampler does not
support RGB_565. If cinfo->out_color_space is set to RGB_565 and we
require SkScaledBitmapSampler to do the extra sampling, we will fail in
finding a suitable color config for SkScaledBitmapSampler.

To fix it, we add support of RGB_565 into SkSclaedBitmapSampler.

Change-Id: I506f4f8c55518ff356345e616e16c4b4cd0712de

Fix 3117581, where BitmapRegionDecoder fails in building tile index for
PNG files.

The virtual method of building tile index in SkImageDecoder was changed to onBuildTileIndex().
SkPNGImageDecoder needs to override the method.

Change-Id: I7c78844a4d4f7aadff5fa8fa1aa99173317139b2

Add fPreferQualityOverSpeed to SkImageDecoder.

Currently the field only affects JPEG decode, in that when it is set
to true, we choose a more accurate, but slightly slower, IDCT method.

Bug: 3238925
/////////////////////////////////////////////////////////////////////
/external/skia/src/images/SkScaledBitmapSampler.cpp
3026a9ec59b285412941d278a570e382088f8ada 24-Aug-2009 Mike Reed <reed@google.com> refresh from skia trunk
- correctly respect dither for index bitmaps
- fix copyTo to respect isOpaque()
- sanity check in antipath (need to investigate root cause)
- warning fix in bitmap sampler
/external/skia/src/images/SkScaledBitmapSampler.cpp
e762975133c7c9f529b996b3b1fee8b8910dc650 08-Jul-2009 Mike Reed <reed@google.com> respect preferred config when decoding index-based png images
/external/skia/src/images/SkScaledBitmapSampler.cpp
0910916c0f7b951ee55c4b7c6358295b9bca0565 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/skia/src/images/SkScaledBitmapSampler.cpp
6eb364108744656fcd23a96a478aa772cd4e85bc 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/external/skia/src/images/SkScaledBitmapSampler.cpp
03202c9c3dfbf8c4feb0a1ee9b3680817e633f58 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/external/skia/src/images/SkScaledBitmapSampler.cpp