skia2/gyp
emmaleer 0944100ac8 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:

Review URL: https://codereview.chromium.org/1260673002
2015-08-13 11:26:57 -07:00
..
android_deps.gyp WIP: Added support for giflib, updated jpeg and png 2015-03-30 07:52:52 -07:00
android_framework_lib.gyp Make android framework depend on SkCodec. 2015-03-20 11:20:03 -07:00
android_output.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
android_system.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
angle.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
animator.gyp Revert "Revert[4] "move some public headers into private"" 2015-08-12 18:58:52 -07:00
apptype_console.gypi Remove all code related to NaCl 2015-04-02 12:16:36 -07:00
bench.gyp Experiment with find as a road to Gyp sanity. 2015-05-16 15:47:10 -07:00
bench.gypi add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
canvas_state_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
codec.gyp SkScaledCodec class 2015-08-13 11:26:57 -07:00
common_conditions.gypi Detect MIPS DSP and DSPR2 programattically. 2015-08-05 14:17:32 -07:00
common_variables.gypi Add gyp support for new GPU backend 2015-08-12 12:58:13 -07:00
common.gypi Add gyp support for new GPU backend 2015-08-12 12:58:13 -07:00
core.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
core.gypi Revert "Revert[4] "move some public headers into private"" 2015-08-12 18:58:52 -07:00
debugger.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
dm.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
dm.gypi add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
effects.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
effects.gypi Move LightingShader to effects 2015-07-29 12:28:04 -07:00
etc1.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
everything.gyp Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
example.gyp Revert "Move headers used by headers in include/ to include/private." 2015-07-01 16:35:59 -04:00
experimental.gyp experimental: remove old PDF benchmarking tools 2015-07-15 08:06:29 -07:00
FileReaderApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
find.py Sort build files for consistent link order. 2015-05-20 09:26:47 -07:00
flags.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
freetype.gyp Remove SK_ANDROID_FREETYPE_HAS_MM from build. 2015-06-04 07:38:52 -07:00
freetype.gypi Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
giflib.gyp Creating a new wrapper for gif decoder 2015-04-01 06:58:48 -07:00
gmslides.gypi GrDrawVertices to batches 2015-08-07 12:46:26 -07:00
gpu.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
gpu.gypi Move GrRectBatch to GrBWFillRectBatch and make internal 2015-08-13 10:05:51 -07:00
gputest.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
icu.gyp SkPDF: Add Sfntly to DEPS, gyp 2015-05-18 13:15:56 -07:00
images.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
iOSShell.gyp Remove old iOS porting files. 2015-06-29 14:12:41 -07:00
jsoncpp.gyp Roll jsoncpp, drop dependency on Chromium overrides. 2014-08-19 07:21:00 -07:00
ktx.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
libjpeg-turbo.gyp Switching Skia to chromium's libjpeg-turbo 2015-08-11 13:32:54 -07:00
libjpeg.gyp Hopefully fix ios bots 2015-08-11 14:44:02 -07:00
libpng.gyp Enable both static and dynamically linked libpng 2015-04-03 12:35:27 -07:00
libwebp_skia.gypi Fix color swap for webp 565 2015-08-06 11:44:56 -07:00
libwebp.gyp Revert of Update libwebp and resume testing scaled webp (patchset #2 id:20001 of https://codereview.chromium.org/1280073002/ ) 2015-08-07 12:53:25 -07:00
lua.gyp Build Skia for a bare-bones embedded Linux system. 2014-02-24 20:22:34 +00:00
most.gyp Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
nanomsg.gyp Experiment with find as a road to Gyp sanity. 2015-05-16 15:47:10 -07:00
opts.gyp Port SkTextureCompression opts to SkOpts 2015-08-06 08:17:16 -07:00
opts.gypi Port SkTextureCompression opts to SkOpts 2015-08-06 08:17:16 -07:00
pathops_skpclip.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
pathops_unittest.gyp cumulative pathops patch 2015-03-26 07:52:43 -07:00
pathops_unittest.gypi add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
pdf.gyp SkPDF: Move SkFlate into src/pdf (part 1/3) [reland] 2015-08-12 11:24:40 -07:00
pdf.gypi SkPDF: Move SkFlate into src/pdf (part 1/3) [reland] 2015-08-12 11:24:40 -07:00
ports.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
SampleApp.gyp Add high resolution WallTimer to SampleApp 2015-08-11 11:07:07 -07:00
sfnt.gyp Revert "Revert[4] "move some public headers into private"" 2015-08-12 18:58:52 -07:00
sfntly.gyp SkPDF: Add Sfntly to DEPS, gyp 2015-05-18 13:15:56 -07:00
SimpleCocoaApp.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
SimpleiOSApp.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_for_android_framework_defines.gypi remove guard for SrcPtr in drawBitmapRect for android 2015-08-06 11:25:15 -07:00
skia_for_chromium_defines.gypi Remove SK_LEGACY_SKPOINT3_CTORS flag 2015-08-06 07:08:31 -07:00
skia_launcher.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
skia_lib.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
svg.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
tests.gypi Add ability to pass in an optional path to additional unit tests to run. 2015-08-12 06:51:08 -07:00
tools.gyp Move SkTHash.h to include/private. 2015-07-28 09:54:52 -07:00
utils.gyp Remove experimental/PdfViewer 2015-08-04 14:08:44 -07:00
utils.gypi Adding debug SkScalerContext which returns random mask formats 2015-07-29 10:14:58 -07:00
v8.gyp Allows windowed apps to be built on the Mac just by writing a SkOSWindow subclass without needing nib/plist files. 2015-06-18 11:49:42 -07:00
views_animated.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
views.gyp Revert "Move headers used by headers in include/ to include/private." 2015-07-01 16:35:59 -04:00
visualbench.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
xml.gyp Add copyright headers to remaining gyp files. 2015-03-25 10:22:41 -07:00
xps.gyp add -Iinclude/private anywhere we have -Isrc/core 2015-07-28 08:55:14 -07:00
yasm.gyp Update yasm .gyp for tweaked ASAN bots. 2015-08-05 08:58:45 -07:00
zlib.gyp Fix warnings on VS2015 x86_64 build 2015-08-06 17:33:16 -07:00