chromium/deps/libjpeg_turbo.git
2 weeks ago[MIPS64] Add build support for MIPS64 in libjpeg_turbo. master
noel@chromium.org [Sat, 13 Sep 2014 14:48:09 +0000 (14:48 +0000)]
[MIPS64] Add build support for MIPS64 in libjpeg_turbo.

BUG=400684

Review URL: https://codereview.appspot.com/143920043

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@291962 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 weeks agoMark libjpeg-turbo's license as OK for android.
torne@chromium.org [Thu, 4 Sep 2014 12:56:33 +0000 (12:56 +0000)]
Mark libjpeg-turbo's license as OK for android.

The custom BSD style license is compatible with Android's license
requirements; mark it as such so that it can be merged to Android.

BUG=
R=dannyb@google.com

Review URL: https://codereview.chromium.org/539063002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@291801 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 weeks agoAdd ARM64 SIMD support to libjpeg_turbo
rmcilroy@chromium.org [Fri, 29 Aug 2014 12:32:19 +0000 (12:32 +0000)]
Add ARM64 SIMD support to libjpeg_turbo

Cherry-picked r1108, r1109, r1333, r1375, r1386, r1389 and r1390,
which add ARM64 SIMD support to libjpeg_turbo. These changes only
affect ARM64 platforms (no change to other platforms or files).

BUG=356100
R=noel@chromium.org

Review URL: https://codereview.chromium.org/434123003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@291725 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 weeks agolibjpeg-turbo: Update README.chromium to note that a patch has been landed upstream.
thakis@chromium.org [Tue, 26 Aug 2014 18:05:30 +0000 (18:05 +0000)]
libjpeg-turbo: Update README.chromium to note that a patch has been landed upstream.

TBR=cjhopman@chromium.org

Review URL: https://codereview.chromium.org/506123002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@291651 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 weeks agolibjpeg-turbo: Remove .func / .endfunc directives.
thakis@chromium.org [Mon, 18 Aug 2014 22:56:54 +0000 (22:56 +0000)]
libjpeg-turbo: Remove .func / .endfunc directives.

They only have an effect in -gstabs which we don't use, and clang's integrated
assembler doesn't understand them. So just remove them.

BUG=chromium:124610
R=cjhopman@chromium.org

Review URL: https://codereview.chromium.org/481243002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@290390 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 weeks agoAdd support for iOS to libjpeg.gyp.
blundell@chromium.org [Thu, 7 Aug 2014 09:51:53 +0000 (09:51 +0000)]
Add support for iOS to libjpeg.gyp.

iOS will start pulling libjpeg_turbo in
https://codereview.chromium.org/376573003/ as part of enabling initial Mojo
support on iOS. To do so, iOS needs the same dependency from libjpeg_turbo to
yasm as Mac does; otherwise, GYP chokes in processing libjpeg.gyp due to
yasm_path being undefined.

R=noel@chromium.org, rmcilroy@chromium.org

Review URL: https://codereview.chromium.org//444883002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@288018 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

4 months agoUpdate libjpeg_turbo to use clz for bitcounting on ARM
noel@chromium.org [Fri, 23 May 2014 23:38:59 +0000 (23:38 +0000)]
Update libjpeg_turbo to use clz for bitcounting on ARM

Cherry-picked r1220 from upstream:
Use clz/bsr instructions on ARM for bit counting rather than the lookup table (reduces memory footprint and can improve performance in some cases.)

Upstream review:
http://sourceforge.net/p/libjpeg-turbo/patches/57/

Original review:
https://codereview.appspot.com/77480045/

Removing the lookup table saves 64k data for each process that uses jpeg encoding. Benchmarks on a few ARM devices shows encoding performance changes, from a slowdown of 3-4% on some devices, to a speedup of 10-20% on other devices. In average performance improves.

x86 will still use the lookup table because the bsr instruction showed to be slower on some chips.

BUG=
R=noel@chromium.org

Review URL: https://codereview.appspot.com/97690043

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@272637 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoUpgrade libjpeg_turbo to 1.3.1 (r1219)
noel@chromium.org [Mon, 14 Apr 2014 06:56:00 +0000 (06:56 +0000)]
Upgrade libjpeg_turbo to 1.3.1 (r1219)

Remove google.jdmarker.patch, since the fixes for CVE-2013-6629
and CVE-2013-6630 are upstream most everywhere now [1]. Version
number to 1.3.1 (config.h, jconfig.h).

README.chromium: "Fixed valgrind error" patch was upstreamed in
r839 http://sourceforge.net/p/libjpeg-turbo/code/839. The r1188
cherry-pick was put in config.h, say that.

[1] http://seclists.org/fulldisclosure/2013/Nov/83

TBR=darin@chromium.org
BUG=258723, 299835

Review URL: https://codereview.appspot.com/87110044

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@263594 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoRemove unsued win/jconfig.h file
noel@chromium.org [Sat, 12 Apr 2014 06:38:13 +0000 (06:38 +0000)]
Remove unsued win/jconfig.h file

The win build does not use win/jconfig.h at all; no gyp files refers
to it (all builds use the jconfig.h in third_pary/libjpeg_turbo dir)
so remove this file.

TBR=darin@chromium.org
TEST=compile win chrome
NOTRY=true
BUG=None

Review URL: https://codereview.appspot.com/87270043

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@263496 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

5 months agoFix warning about always_inline attribute in libjpeg_turbo.
rmcilroy@chromium.org [Wed, 2 Apr 2014 09:58:28 +0000 (09:58 +0000)]
Fix warning about always_inline attribute in libjpeg_turbo.

GCC 4.7/4.8 warns when __attribute__((always_inline)) is used without a
normal 'inline' keyword. Pull an equivalent of upstream r1188 to avoid
this warning.

R=rmcilroy@chromium.org, phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/218733003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@261103 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoStop using "prefix_dir" in libjpeg.gyp.
raphael.kubo.da.costa@intel.com [Thu, 27 Mar 2014 13:59:01 +0000 (13:59 +0000)]
Stop using "prefix_dir" in libjpeg.gyp.

This reverts part of r257324: prefix_dir is a variable defined only by
FreeBSD's Chromium packaging code and should not be used here upstream.

R=rmcilroy@chromium.org, phajdan.jr, rmcilroy

Review URL: https://codereview.chromium.org/214413007

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@259851 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoAdd target_arch=arm64 support.
rmcilroy@chromium.org [Wed, 26 Mar 2014 13:42:39 +0000 (13:42 +0000)]
Add target_arch=arm64 support.

Currently only adding jsimd_none.c to get things building.

BUG=354405
R=wangxianzhu@chromium.org

Review URL: https://codereview.chromium.org/210933002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@259566 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

6 months agoAllow libjpeg_turbo to configure (using gyp) on FreeBSD.
raphael.kubo.da.costa@intel.com [Sat, 15 Mar 2014 14:04:05 +0000 (14:04 +0000)]
Allow libjpeg_turbo to configure (using gyp) on FreeBSD.

Allow both the built-in and system yasm on FreeBSD, and add (prefix_dir)/include to the include path.

Obtained from: George Liaskos <geo.liaskos@gmail.com>

BUG=
R=phajdan.jr@chromium.org
TBR=cpu@chromium.org

Review URL: https://codereview.appspot.com/56740043

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@257324 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

7 months agoDisable assembly optimizations in MemorySanitizer builds of libjpeg_turbo.
earthdok@chromium.org [Tue, 18 Feb 2014 09:41:55 +0000 (09:41 +0000)]
Disable assembly optimizations in MemorySanitizer builds of libjpeg_turbo.

BUG=chromium:178409
NOTRY=true

Review URL: https://codereview.chromium.org/170323002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@251747 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoRevert the previous 2 temporary changes.
wangxianzhu@chromium.org [Mon, 9 Dec 2013 23:16:08 +0000 (23:16 +0000)]
Revert the previous 2 temporary changes.

Reverted r239283 (Temporary limit NO_GETENV on Android only)
and r239591 (Temporary revert "update neon config in libjpeg turbo".

Will roll m32 libjpeg_turbo to r239591.

BUG=322228
TBR=

Review URL: https://codereview.chromium.org/108273007

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@239595 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoTemporarily revert "update neon config in libjpeg turbo"
wangxianzhu@chromium.org [Mon, 9 Dec 2013 23:08:30 +0000 (23:08 +0000)]
Temporarily revert "update neon config in libjpeg turbo"

This is for rolling the NO_GETENV change into m32.

Will revert this change asap after it is submitted.

This reverts commit 9652949c7866f976393848990dbebbd873f5f43f.

BUG=322228
TBR=

Review URL: https://codereview.chromium.org/110853003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@239591 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoTemporary limit NO_GETENV on Android only
wangxianzhu@chromium.org [Mon, 9 Dec 2013 23:01:52 +0000 (23:01 +0000)]
Temporary limit NO_GETENV on Android only

This is for rolling the NO_GETENV change on Android only into m32.

Will revert this change immediately after this change is submitted.

BUG=322228
R=klobag@chromium.org

Review URL: https://codereview.chromium.org/110163003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@239583 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoupdate neon config in libjpeg turbo
thakis@chromium.org [Tue, 3 Dec 2013 23:21:48 +0000 (23:21 +0000)]
update neon config in libjpeg turbo

This patch upgrades the neon config for libjpeg_turbo: use arm_version instead
of armv7, and respect arm_neon_optional.

BUG=234135
Review URL: https://codereview.chromium.org/95883002/
Patch from Mostyn Bramley-Moore <mostynb@opera.com>!

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@238478 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

9 months agoDisable libjpeg turbo getenv()
wangxianzhu@chromium.org [Mon, 2 Dec 2013 23:40:54 +0000 (23:40 +0000)]
Disable libjpeg turbo getenv()

getenv() is used in libjpeg_turbo to get environment variable JPEGMEM
which overrides the default max_memory setting from jpeg_mem_init.
However, getenv() is not thread-safe. Now libjpeg may be called from
multiple threads when impl-side-painting is enabled.

BUG=322228
R=noel@chromium.org

Committed: 8692fb5

Review URL: https://codereview.chromium.org/100293002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@238232 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

11 months agoZero unused DHT huffman values at creation time
noel@chromium.org [Sun, 13 Oct 2013 15:23:17 +0000 (15:23 +0000)]
Zero unused DHT huffman values at creation time

TBR=darin@chromium.org
BUG=299835

Review URL: https://codereview.chromium.org/27120002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@228394 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

11 months agoBetter handle SOS CSi values and order
noel@chromium.org [Sun, 13 Oct 2013 00:51:52 +0000 (00:51 +0000)]
Better handle SOS CSi values and order

Image SOS CSi markers should be distinct. Enforce that constraint when
reading multiple CSi values in get_sos().

TBR=darin@chromium.org
BUG=258723

Review URL: https://codereview.chromium.org/27117002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@228381 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

20 months agoRemove <(library) usage from libjpeg.gyp.
tfarina@chromium.org [Fri, 18 Jan 2013 20:12:06 +0000 (20:12 +0000)]
Remove <(library) usage from libjpeg.gyp.

BUG=111541
R=steveblock@chromium.org
Review URL: https://codereview.chromium.org/12021017

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@177737 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoMake 'License' field in third-party metadata required
steveblock@chromium.org [Wed, 1 Aug 2012 00:42:33 +0000 (00:42 +0000)]
Make 'License' field in third-party metadata required

This will simplify the addition of a tool to check licenses for the purpose of
the Android WebView build.

See also http://codereview.chromium.org/10821103.

BUG=138921

Review URL: https://chromiumcodereview.appspot.com/10827099

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@149334 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoRemove logic for using system libjpeg from libjpeg_turbo gyp file
steveblock@chromium.org [Thu, 19 Jul 2012 12:08:36 +0000 (12:08 +0000)]
Remove logic for using system libjpeg from libjpeg_turbo gyp file

This is part of simplifying gyp logic for libjpeg. See
http://codereview.chromium.org/10696082.
Review URL: https://chromiumcodereview.appspot.com/10777011

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@147428 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate libjpeg-turbo to r856.
hbono@chromium.org [Thu, 19 Jul 2012 06:04:44 +0000 (06:04 +0000)]
Update libjpeg-turbo to r856.

BUG=132952
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10700197

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@147403 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years ago[MIPS] Add build support for libjpeg_turbo for MIPS.
hbono@chromium.org [Thu, 28 Jun 2012 04:23:46 +0000 (04:23 +0000)]
[MIPS] Add build support for libjpeg_turbo for MIPS.

Minimal change to libjpeg.gyp to enable succssesful build of libjpeg_turbo for
MIPS architecture.

TBR=petarj@mips.com,
BUG=130022
TEST=make chrome

The original change has been created by Petar Jovanovic <petarj@mips.com>.
Review URL: https://chromiumcodereview.appspot.com/10699020

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@144658 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoarm: Always build the NEON SIMD code when targetting ARMv7-A devices.
hbono@chromium.org [Wed, 27 Jun 2012 07:11:14 +0000 (07:11 +0000)]
arm: Always build the NEON SIMD code when targetting ARMv7-A devices.

The libjpeg_turbo library only uses the NEON SIMD code path when it
determines at runtime that the CPU supports it. Always enable it when
targetting ARMv7-A devices.

Tested on a Motorola Xoom (Tegra2, thus no Neon) and on a Nexus S
(supports Neon).

Benchmarking shows a x1.48 decoding performance improvement on the
Nexus S, and x1.09 on a Galaxy Nexus.

BUG=
TEST=

The original change is created by digit@chromium.org.
Review URL: https://chromiumcodereview.appspot.com/10702002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@144411 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoMake the default to not use system lib for all builds
hbono@chromium.org [Thu, 31 May 2012 08:20:02 +0000 (08:20 +0000)]
Make the default to not use system lib for all builds
The original change is <http://codereview.chromium.org/10442041/>, which is created by davemoore@chromium.org.

TBR=davemoore
BUG=None
TEST=None
Review URL: https://chromiumcodereview.appspot.com/10459046

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@139754 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoPull in r830 from upstream.
cevans@chromium.org [Wed, 30 May 2012 21:50:31 +0000 (21:50 +0000)]
Pull in r830 from upstream.

BUG=130240
Review URL: https://chromiumcodereview.appspot.com/10459034

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@139642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate libjpeg-turbo.
hbono@chromium.org [Fri, 11 May 2012 07:46:03 +0000 (07:46 +0000)]
Update libjpeg-turbo.
This change updates our copy of libjpeg-turbo to r829.

BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10386084

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@136524 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoenable libjpeg for chromium x86 android build
wistoch@gmail.com [Fri, 27 Apr 2012 01:39:16 +0000 (01:39 +0000)]
enable libjpeg for chromium x86 android build

Review URL: http://codereview.chromium.org/10234002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@134206 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoadd 64 bit gyp builds for OSX and Windows.
fbarchard@google.com [Fri, 6 Apr 2012 23:03:51 +0000 (23:03 +0000)]
add 64 bit gyp builds for OSX and Windows.
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9982017

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@131206 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoRevert r124240. git-svn
thakis@chromium.org [Mon, 12 Mar 2012 01:50:47 +0000 (01:50 +0000)]
Revert r124240.

I fixed yasm to no longer emit this warning, see
http://tortall.lighthouseapp.com/projects/78676-yasm/tickets/246
Review URL: https://chromiumcodereview.appspot.com/9666044

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@126090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoBuild fix for linux32 after my last change to this file.
thakis@chromium.org [Thu, 1 Mar 2012 00:08:14 +0000 (00:08 +0000)]
Build fix for linux32 after my last change to this file.

TBR=vandebo
Review URL: https://chromiumcodereview.appspot.com/9560006

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@124297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agolibjpeg_turbo: Filter out "section flags ignored on section redeclaration" warnings...
thakis@chromium.org [Wed, 29 Feb 2012 20:24:05 +0000 (20:24 +0000)]
libjpeg_turbo: Filter out "section flags ignored on section redeclaration" warnings on mac.

This removes over 50 lines of warning output when doing a clobber build on mac.

Thanks to mark@ for telling me how to get >() process substitution work with gyp.
Review URL: https://chromiumcodereview.appspot.com/9533003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@124240 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoJPEG_DECODE_ONLY macro reintroduced to allow just the decode functions to be linked in
fbarchard@chromium.org [Tue, 31 Jan 2012 21:23:26 +0000 (21:23 +0000)]
JPEG_DECODE_ONLY macro reintroduced to allow just the decode functions to be linked in
BUG=none
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9317003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@119959 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoDisable ULDI on reference to libjpeg_turbo (vs2010)
scottmg@chromium.org [Tue, 31 Jan 2012 16:23:48 +0000 (16:23 +0000)]
Disable ULDI on reference to libjpeg_turbo (vs2010)

UseLibraryDependencyInputs on VS2010 currently fails when linking .obj files
generated from .asm. Disable ULDI for just this project.

BUG=97534

Review URL: http://codereview.chromium.org/9301013

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@119895 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate libjpeg-turbo to 1.2.0.
hbono@chromium.org [Wed, 18 Jan 2012 07:01:04 +0000 (07:01 +0000)]
Update libjpeg-turbo to 1.2.0.
This change applies the upstream changes from 1.1.90 to 1.2.0 (r733).

BUG=none
TEST=webkit layout_tests
Review URL: https://chromiumcodereview.appspot.com/9232002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@118072 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUse os_posix in gyp file, this patch was tested on Solaris, NetBSD, and OpenBSD.
hbono@chromium.org [Thu, 8 Dec 2011 04:04:58 +0000 (04:04 +0000)]
Use os_posix in gyp file, this patch was tested on Solaris, NetBSD, and OpenBSD.

Patch by ruben <chromium@hybridsource.org>

R=hbono@chromium.org
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/8836008

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@113559 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoUpdate libjpeg-turbo to r722.
hbono@chromium.org [Tue, 29 Nov 2011 05:16:26 +0000 (05:16 +0000)]
Update libjpeg-turbo to r722.
This change just updates our copy of libjpeg-turbo to r722.

BUG=none
TEST=none

Review URL: http://codereview.chromium.org/8720003

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@111873 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoFix type 'settings' to 'none' in gyp file for libjpeg.
ivankr@chromium.org [Thu, 20 Oct 2011 11:55:55 +0000 (11:55 +0000)]
Fix type 'settings' to 'none' in gyp file for libjpeg.

BUG=96629

Review URL: http://codereview.chromium.org/8229006

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@106486 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

2 years agoCleanup: no need to redeclare use_system_yasm.
phajdan.jr@chromium.org [Wed, 12 Oct 2011 19:02:24 +0000 (19:02 +0000)]
Cleanup: no need to redeclare use_system_yasm.

BUG=100078
Review URL: http://codereview.chromium.org/8241019

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@105131 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoMake libjpeg-turbo PIC-clean on 32-bit Linux.
agl@chromium.org [Tue, 27 Sep 2011 14:21:34 +0000 (14:21 +0000)]
Make libjpeg-turbo PIC-clean on 32-bit Linux.

This change makes libjpeg-turbo build without text relocations on 32-bit Linux.

BUG=87704

http://codereview.chromium.org/8036033/

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@102926 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFix build error on ARM targets without Neon support.
skyostil@chromium.org [Thu, 18 Aug 2011 11:14:10 +0000 (11:14 +0000)]
Fix build error on ARM targets without Neon support.

Review URL: http://codereview.chromium.org/7669050

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@97297 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoAllow building libjpeg-turbo for ARM targets which lack support for the Neon
skyostil@chromium.org [Thu, 18 Aug 2011 09:41:59 +0000 (09:41 +0000)]
Allow building libjpeg-turbo for ARM targets which lack support for the Neon
instruction set. This change also removes the unnecessary dependency to yasm on
ARM targets.

Review URL: http://codereview.chromium.org/7661023

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@97294 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoReapply warning fixes.
hbono@chromium.org [Mon, 15 Aug 2011 06:52:21 +0000 (06:52 +0000)]
Reapply warning fixes.
This change just reapply warning fixes that I forgot reapplying when I updated libjpeg-turbo to 1.1.90.

BUG=none
TEST=build libjpeg-turbo without warnings.
Review URL: http://codereview.chromium.org/7633058

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@96750 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoUpdate the LICENSE file of libjpeg-turbo.
hbono@chromium.org [Mon, 8 Aug 2011 09:17:07 +0000 (09:17 +0000)]
Update the LICENSE file of libjpeg-turbo.
This change updates the license file of libjpeg-turbo to the new one. It removed the wxWindows code and updated its license to the BSD-compatible one.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7550066

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@95800 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFix Windows build.
hbono@chromium.org [Wed, 3 Aug 2011 05:14:47 +0000 (05:14 +0000)]
Fix Windows build.
This change comments out the definitions of INT16, INT32, and FAR so we can build libjpeg-turbo on Windows. (I forgot re-applying this change to my previous change. Sorry.)

TBR=craig.schelenter,fbarchard
BUG=none
TEST=build Chromium on Windows.
Review URL: http://codereview.chromium.org/7508009

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@95205 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoUpdates libjpeg-turbo to 1.1.90
hbono@chromium.org [Wed, 3 Aug 2011 03:13:08 +0000 (03:13 +0000)]
Updates libjpeg-turbo to 1.1.90
This change updates our copy of libjpeg-turbo to 1.1.90 (r677), which supports ARM NEON.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/7554002

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@95196 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agotwo warning fixes for the benefit of visual c when warnings are turned up
fbarchard@chromium.org [Fri, 8 Jul 2011 08:20:29 +0000 (08:20 +0000)]
two warning fixes for the benefit of visual c when warnings are turned up
BUG=none
TESTED=builds with higher warning levels on windows
Review URL: http://codereview.chromium.org/7331010

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@91819 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoSupport Motion JPEG
hbono@chromium.org [Tue, 17 May 2011 05:31:21 +0000 (05:31 +0000)]
Support Motion JPEG
This change uses the default Huffman tables when a JPEG image does not have DHT markers. When a Motion JPEG frame does not have DHT markers, it assumes a decoder uses the huffman tables suggested by the JPEG standard. Even though it is not compliant with the JPEG standard, it is useful to support such Motion JPEG because it is used by many webcams.

BUG=none
TEST=<http://codereview.chromium.org/7012034>
Review URL: http://codereview.chromium.org/7014037

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@85600 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoDisable warnings in VS since they won't be fixed anytime soon.
maruel@chromium.org [Sat, 30 Apr 2011 15:26:56 +0000 (15:26 +0000)]
Disable warnings in VS since they won't be fixed anytime soon.

This is to enable warnings as error.
Review URL: http://codereview.chromium.org/6880241

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@83675 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFix yasm warnings in libjpeg-turbo.
hbono@chromium.org [Thu, 28 Apr 2011 09:03:50 +0000 (09:03 +0000)]
Fix yasm warnings in libjpeg-turbo.
This change fixes all yasm warnings in libjpeg-turbo (section redefinitions and unsupported declarations) so we can compile it without annoying warnings.

BUG=none
TEST=build libjpeg-turbo without yasm warnings.
Review URL: http://codereview.chromium.org/6883217

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@83312 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoSupport the 'use_system_yasm' variable (libjpeg_turbo).
hbono@chromium.org [Wed, 16 Mar 2011 08:17:10 +0000 (08:17 +0000)]
Support the 'use_system_yasm' variable (libjpeg_turbo).
This change uses yasm installed to the system to build libjpeg_turbo if 'use_system_yasm' is 1 as requested by 'fta@ubuntu.com'.

BUG=none
TEST=build Chromium
Review URL: http://codereview.chromium.org/6667032

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@78340 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFormatting the readmes in deps to follow the proper format and making sure they conta...
cdn@chromium.org [Mon, 14 Mar 2011 19:29:03 +0000 (19:29 +0000)]
Formatting the readmes in deps to follow the proper format and making sure they contain Short Name and Version fields for version tracking.

BUG=None
TEST=N/A
Review URL: http://codereview.chromium.org/6624034

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@78071 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoFix invalid reads in libjpeg-turbo (libjpeg-turbo side)
hbono@chromium.org [Thu, 17 Feb 2011 04:45:42 +0000 (04:45 +0000)]
Fix invalid reads in libjpeg-turbo (libjpeg-turbo side)
The maskmovdqu instruction seems to read data from memory before storing selected bytes and it causes InvalidRead errors when the output buffer does not have sufficient space for an XMM word. This change stores the output data without using maskmovdqu instruction when it does not have sufficient space. (The regression test for this issue is in another change because libjpeg-turbo is in a different repository from Chrome <http://codereview.chromium.org/6478021/>.)

BUG=72399
TEST=ThumbnailDatabaseTest, TopSitesMigrationTests.
Review URL: http://codereview.chromium.org/6471016

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@75235 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoAdd PRIVATE flags to global symbols.
hbono@chromium.org [Mon, 7 Feb 2011 06:02:41 +0000 (06:02 +0000)]
Add PRIVATE flags to global symbols.
This change adds the 'private_extern' flags (on Mac) or the 'hidden' flags (on Linux) to the all global symbols in libjpeg-turbo as suggested in <http://codereview.chromium.org/6332003/>.

BUG=none
TEST=build Chromium on Mac without any changes to the 'framework.order' file.
Review URL: http://codereview.chromium.org/6246098

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@73971 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoCherry-pick a fix from r324 of the libjpeg-turbo stable branch that
craig.schlenter@chromium.org [Thu, 3 Feb 2011 04:19:44 +0000 (04:19 +0000)]
Cherry-pick a fix from r324 of the libjpeg-turbo stable branch that
adds further protections against invalid Huffman codes.

BUG=none
TEST=trybots
Review URL: http://codereview.chromium.org/6334053

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@73588 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoRefactor the GYP file for libjpeg-turbo.
hbono@chromium.org [Tue, 18 Jan 2011 10:22:00 +0000 (10:22 +0000)]
Refactor the GYP file for libjpeg-turbo.
This change cleans up the GYP file for libjpeg-turbo so we can directly build asm files in its 'libjpeg' target. (We can now do this because GYP Issue 102 is fixed.) Also, this change adds a 'RGBX_FILLER_OXFF' flag so libjpeg-turbo can produce the RGBA pixels compatible to Chrome/WebKit, i.e. we can remove the memory copy in gfx::JPEGCodec::Decode().

BUG=none
TEST=build Chromium without errors when 'use_libjpeg_turbo' is 1.
Review URL: http://codereview.chromium.org/6260004

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@71642 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoRemove workaround for gyp issue 102 and use libjpeg_turbo on Linux.
craig.schlenter@chromium.org [Thu, 13 Jan 2011 16:27:46 +0000 (16:27 +0000)]
Remove workaround for gyp issue 102 and use libjpeg_turbo on Linux.

Note that you still need use_libjpeg_turbo=1 to activate for now.

BUG=31427,48789
Review URL: http://codereview.chromium.org/6181005

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@71326 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoAdd build files for libjpeg-turbo.
hbono@chromium.org [Mon, 22 Nov 2010 09:17:38 +0000 (09:17 +0000)]
Add build files for libjpeg-turbo.
This change adds a GYP file, header files, and a README file used for building libjpeg-turbo. (This GYP file builds libjpeg-turbo only on Windows and Mac since Linux uses the system libjpeg.)

BUG=48789
TEST=build libjpeg-turbo on Windows and Mac.
Review URL: http://codereview.chromium.org/4298001

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@66929 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

3 years agoAdds libjpeg-turbo to our repository.
hbono@chromium.org [Mon, 1 Nov 2010 05:14:55 +0000 (05:14 +0000)]
Adds libjpeg-turbo to our repository.
This change lands the original libjpeg-turbo 1.0.1 (source files only) and NASM 2.09.2 (required for assembling .asm files on Windows) to "deps/third_party". I will send more changes to land its build files and patches to integrate it into Chrome.

BUG=48789
TEST=none
Review URL: http://codereview.chromium.org/4134011

git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@64575 4ff67af0-8c30-449e-8e8b-ad334ec8d88c