90c4d5fec8a9455729b401fd7818bea221dcada2 |
|
10-Dec-2015 |
msarett <msarett@google.com> |
Add reallyHasAlpha() to SkAndroidCodec This also modified the default implementation of onReallyHasAlpha() in SkCodec. BUG=skia: Review URL: https://codereview.chromium.org/1518743002
/external/skia/src/codec/SkSampledCodec.h
|
e95a06883b6d9972ea58c4e16f772bb88af393e9 |
|
04-Nov-2015 |
scroggo <scroggo@chromium.org> |
Make AndroidOptions const Make the struct passed to SkAndroidCodec::getAndroidPixels const. This matches SkCodec, and makes sense, since it is not used as an output. Brought up in crrev.com/1417583009 Review URL: https://codereview.chromium.org/1411693005
/external/skia/src/codec/SkSampledCodec.h
|
501b7344f116ccc821d437d324aa7883d7ce97bf |
|
03-Nov-2015 |
scroggo <scroggo@chromium.org> |
Combine native sampling with sampling In SkSampledCodec, allow the native codec to do its scaling first, then sample on top of that. Since the only codec which can do native scaling is JPEG, and we know what it can do, hard-code for JPEG. Check to see if the sampleSize is something JPEG supports, or a multiple of something it supports. If so, use JPEG directly or combine them. BUG=skia:4320 Review URL: https://codereview.chromium.org/1417583009
/external/skia/src/codec/SkSampledCodec.h
|
3d9d7a7213748761d46ade183e11aa7cb55313c1 |
|
21-Oct-2015 |
msarett <msarett@google.com> |
Create an SkAndroidCodec API separate from SkCodec We will implement this API using SkCodecs. SkAndroidCodecs will be used to implement the BitmapRegionDecoder Java API (and possibly BitmapFactory). BUG=skia: Review URL: https://codereview.chromium.org/1406223002
/external/skia/src/codec/SkSampledCodec.h
|