Add libjpeg-turbo library (depends on yasm)
authormsarett <msarett@google.com>
Wed, 1 Jul 2015 19:36:18 +0000 (12:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 1 Jul 2015 19:36:18 +0000 (12:36 -0700)
commite9e3ee33f30c14c31afd5fc3fe4dda7f15783c75
treef84aeb686a4ebee25deb740208c187a3a541001e
parent928e16565f3e69cd6661e9ad300ac17e3f33c0c8
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

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]