skia2/include
emmaleer d518ea7927 SkScaledCodec class
This class does scaling by using a scanlineDecoder.
getScanlines and skipScanlines are used for y sampling,
the swizzler is used for x sampling

this class is currently only working for png and jpeg images
I will update other Codec types to work soon

For SkJpegCodec to implement width wise swizzling it now
uses a swizzler. I ran performance tests on this change.
Here are the performance test results:
https://docs.google.com/a/google.com/spreadsheets/d/1D7-Q_GXD_dI68LZO005NNvb8Wq2Ee0wEBEPG72671yw/edit?usp=sharing

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/0944100ac89f797714eeae0cf2875e2335ff52ee

Review URL: https://codereview.chromium.org/1260673002
2015-08-13 13:07:03 -07:00
..
animator Sanitizing source files in Skia_Periodic_House_Keeping 2013-01-26 07:06:02 +00:00
c C API: add radial, sweep, and two-point conical gradient shaders 2015-08-12 07:37:34 -07:00
codec SkScaledCodec class 2015-08-13 13:07:03 -07:00
config remove SkInstCnt 2015-06-26 11:45:03 -07:00
core add SkImage::NewFromPicture and a GM to test it 2015-08-13 09:37:45 -07:00
device/xps C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
effects Remove SK_LEGACY_SKPOINT3_CTORS flag 2015-08-06 07:08:31 -07:00
gpu Defer flushes if kPreferNoIO is specified 2015-08-13 05:19:14 -07:00
images remove SkInstCnt 2015-06-26 11:45:03 -07:00
pathops Revert of Revert of remove SK_SUPPORT_LEGACY_PATHOP_ENUMS (patchset #1 id:1 of https://codereview.chromium.org/1203983003/) 2015-06-26 10:23:07 -07:00
pipe Fixing leaky handling of SkImage in SkDeferredCanvas. 2015-06-02 11:47:45 -07:00
ports Clean up a few includes, introduce iwyu. 2015-07-29 11:49:40 -07:00
private Revert "Revert[4] "move some public headers into private"" 2015-08-12 18:58:52 -07:00
svg Revert "Revert[4] "move some public headers into private"" 2015-08-12 18:58:52 -07:00
utils IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
views Remove SK_BUILD_FOR SDL, BREW, and PALM. 2015-07-29 13:37:27 -07:00
xml Fix up -Winconsistent-missing-override 2015-07-13 06:18:39 -07:00