Add libjpeg-turbo library (depends on yasm)
authormsarett <msarett@google.com>
Tue, 7 Jul 2015 15:50:01 +0000 (08:50 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 7 Jul 2015 15:50:01 +0000 (08:50 -0700)
commit1c8a587120fd33854974457cf2a795ead98183a9
tree2897642aa9e325f26a38bdd2cd15a01732abcf39
parent5617900063f69754de62b8b12d32f6e36df14104
Add libjpeg-turbo library (depends on yasm)
Mangle external function names to avoid conflict with libjpeg
Take advantage of direct color conversion (RGBA, BGRA, 565)
Prepare to use jpeg_skip_scanlines (when it is upstreamed)

BUG=skia:

Committed: https://skia.googlesource.com/skia/+/b60c3f8291529303299262dba19b1a896060bd2d

Committed: https://skia.googlesource.com/skia/+/f8bf9181d7b0463c8e371755cfbb9ece90b34fc5

Committed: https://skia.googlesource.com/skia/+/e9e3ee33f30c14c31afd5fc3fe4dda7f15783c75

Committed: https://skia.googlesource.com/skia/+/40141b57f061fbfcc2fa38da942d9efe25aca4d0

Review URL: https://codereview.chromium.org/1180983002
35 files changed:
DEPS
dm/DM.cpp
gyp/codec.gyp
gyp/libjpeg-turbo.gyp [new file with mode: 0644]
gyp/yasm.gyp [new file with mode: 0644]
src/codec/SkCodec.cpp
src/codec/SkJpegCodec.cpp
src/codec/SkJpegCodec.h
src/codec/SkJpegDecoderMgr.cpp
src/codec/SkJpegDecoderMgr.h
src/codec/SkJpegUtility_codec.cpp
src/codec/SkJpegUtility_codec.h
third_party/yasm/README.skia [new file with mode: 0644]
third_party/yasm/config/android/Makefile [new file with mode: 0644]
third_party/yasm/config/android/config.h [new file with mode: 0644]
third_party/yasm/config/android/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/chromeos/Makefile [new file with mode: 0644]
third_party/yasm/config/chromeos/config.h [new file with mode: 0644]
third_party/yasm/config/chromeos/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/ios/Makefile [new file with mode: 0644]
third_party/yasm/config/ios/config.h [new file with mode: 0644]
third_party/yasm/config/ios/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/linux/Makefile [new file with mode: 0644]
third_party/yasm/config/linux/config.h [new file with mode: 0644]
third_party/yasm/config/linux/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/mac/Makefile [new file with mode: 0644]
third_party/yasm/config/mac/config.h [new file with mode: 0644]
third_party/yasm/config/mac/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/openbsd/Makefile [new file with mode: 0644]
third_party/yasm/config/openbsd/config.h [new file with mode: 0644]
third_party/yasm/config/openbsd/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/win/Makefile [new file with mode: 0644]
third_party/yasm/config/win/config.h [new file with mode: 0644]
third_party/yasm/config/win/libyasm-stdint.h [new file with mode: 0644]
third_party/yasm/config/win/stdint.h [new file with mode: 0644]