Add libjpeg-turbo library (depends on yasm)
authormsarett <msarett@google.com>
Wed, 1 Jul 2015 21:41:02 +0000 (14:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 21:41:02 +0000 (14:41 -0700)
commit40141b57f061fbfcc2fa38da942d9efe25aca4d0
tree78e10510f9c8a7eed7f09b83970ac30750aea312
parentc50acf2321d7a934c80d754e9cbe936dfb8eb4cc
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

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]