History log of /external/libjpeg-turbo/djpeg.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0ef076fb7b326dc201b4ab3bd30fefd4e35ad1c4 20-Feb-2016 DRC <information@libjpeg-turbo.org> libjpeg API: Partial scanline decompression

This, in combination with the existing jpeg_skip_scanlines() function,
provides the ability to crop the image both horizontally and vertically
while decompressing (certain restrictions apply-- see libjpeg.txt.)

This also cleans up the documentation of the line skipping feature and
removes the "strip decompression" feature from djpeg, since the new
cropping feature is a superset of it.

Refer to #34 for discussion.

Closes #34

Cherry picked from upstream:
https://github.com/libjpeg-turbo/libjpeg-turbo/commit/3ab68cf563f6edc2608c085f5c8b2d5d5c61157e

BUG:27290496

Change-Id: Id11312fa43959531bc6bea04ebb657c6e1140363
/external/libjpeg-turbo/djpeg.c
e67a7e37deb26db5ac7da420560d22e1ca7ea4b4 27-Jun-2015 DRC <dcommander@users.sourceforge.net> Add regression tests for jpeg_skip_scanlines(); change "stripe" to "strip" in djpeg; document -strip and -skip parameters in djpeg

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1587 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
15884f48eb1a4acd9c6c24291db974c596e71934 25-Jun-2015 DRC <dcommander@users.sourceforge.net> Add a -skip option to djpeg, which opens up further regression testing options.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1583 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
ac30a1bf12751bd82e56158eb9456a28d9c086f3 25-Jun-2015 DRC <dcommander@users.sourceforge.net> Add a new libjpeg API function (jpeg_skip_scanlines()) to allow for partially decoding a JPEG image.

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1582 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
306add8b788c63590c476f693f95527f26909b62 22-Nov-2014 DRC <dcommander@users.sourceforge.net> Fix whitespace issues introduced with previous commit.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1423 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
9665f5e3f9a73ae44f011a20d382af331fdfd594 22-Nov-2014 DRC <dcommander@users.sourceforge.net> Print the library version and exit whenever -version is passed to cjpeg, djpeg, or jpegtran.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1422 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
5033f3e19a31e8ad40c1a79700365aefe5664494 18-May-2014 DRC <dcommander@users.sourceforge.net> Remove MS-DOS code and information, and adjust copyright headers to reflect the removal of features in r1307 and r1308. libjpeg-turbo has never supported MS-DOS, nor is it even possible for us to do so.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1312 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
78df2e6115b0e579432d01cb034132cd4402a1ba 12-May-2014 DRC <dcommander@users.sourceforge.net> Add support for decompressing to RGB565 (16-bit) pixels


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1295 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
e5eaf37440b8e337ab150c017df7c03faf846c51 09-May-2014 DRC <dcommander@users.sourceforge.net> Convert tabs to spaces in the libjpeg code and the SIMD code (TurboJPEG retains the use of tabs for historical reasons. They were annoying in the libjpeg code primarily because they were not consistently used and because they were used to format as well as indent the code. In the case of TurboJPEG, tabs are used just to indent the code, so even if the editor assumes a different tab width, the code will still be readable.)


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1278 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
ff6961f3d22060adc13cc3e60d42fc480de007e5 20-Apr-2014 DRC <dcommander@users.sourceforge.net> This patch accomplishes the following:
-- Auto-generates HAVE_LOCALE_H macro and adds it to jconfig.h (this is used by rdjpgcom.c.)
-- Reconciles the description and ordering of macros between config.h.in and jconfig.h.in, so the two files can be easily diffed.
-- Eliminates the use of the autoheader-generated config.h in the project and moves relevant internal-only macros into a new file, jconfigint.h. This is to avoid "already defined" warnings in files that were including both config.h (to get the internal autotools package information or the INLINE definition) and jconfig.h.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1258 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
c45653e471c496af8bf3c91c70c7ae4e207158c4 12-Oct-2013 DRC <dcommander@users.sourceforge.net> Fix a couple of issues with return value checking. JFREAD(), which wraps fread(), will never return -1. fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case. The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred. It would instead be (unsigned long)-1.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1061 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
a6ef282a49f2d7d1b4d19cc89f63e81fd66b35b7 28-Sep-2013 DRC <dcommander@users.sourceforge.net> Some of the IJG headers say "Modified by", so clarify that our "Modifications" are not referring to these.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.3.x@1053 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
6cd1ec4b092cd10418411206133f6f19873a5459 23-Mar-2013 DRC <dcommander@users.sourceforge.net> It's more correct to say "The Independent JPEG Group's software", since libjpeg-turbo emulates both the command-line and application programming interfaces.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@932 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
736fb06278ec2f0f3cd2d30fa34f17ede47138c4 19-Jan-2013 DRC <dcommander@users.sourceforge.net> Compiler warnings on Windows


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@914 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
ab70623eb29e09e67222be5b9e1ea320fe5aa0e9 19-Jan-2013 DRC <dcommander@users.sourceforge.net> Implement in-memory source/destination managers even when not emulating the libjpeg v8 API/ABI


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@913 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
a73e870ad02de20c2b34cb3a5382c2846c2afbe3 31-Dec-2012 DRC <dcommander@users.sourceforge.net> Change the copyright notices to make it clear that our modified files are not part of the IJG's software.


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@873 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
1d5b1cf32027c8eee6808ebaeed17cf26cfab4b3 31-Jan-2012 DRC <dcommander@users.sourceforge.net> Merge copyright messages into one string and change the run-time messages to avoid confusion (we are not technically based on the latest libjpeg, although we do borrow some code from it)


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.2.x@766 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
6a833a8ee0433525b1261ef349dabd868b7f6448 03-Mar-2011 DRC <dcommander@users.sourceforge.net> Add an option to force grayscale->RGB conversion (needed for jpgtest regression test)


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@493 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c
39ea562c074ec74785d68accf10f433849770d1f 12-Oct-2010 DRC <dcommander@users.sourceforge.net> Document new v7/v8 features; .doc = .txt


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@252 632fc199-4ca6-4c93-a231-07263d6284db
5996a25e2f50d20d6a8f09830724035b49c3927b 27-Jun-2009 Guido Vollbeding <jpeg-info@jpegclub.org> The Independent JPEG Group's JPEG software v7
/external/libjpeg-turbo/djpeg.c
5ead57a34a398aa798f35bd7a6abad19b2e453e2 27-Mar-1998 Thomas G. Lane <tgl@netcom.com> The Independent JPEG Group's JPEG software v6b
/external/libjpeg-turbo/djpeg.c
489583f5165e05d37302e8eeec58104ea0109127 07-Feb-1996 Thomas G. Lane <tgl@netcom.com> The Independent JPEG Group's JPEG software v6a
/external/libjpeg-turbo/djpeg.c
bc79e0680a45d1ca330d690dae0340c8e17ab5e3 02-Aug-1995 Thomas G. Lane <tgl@netcom.com> The Independent JPEG Group's JPEG software v6
/external/libjpeg-turbo/djpeg.c
9ba2f5ed3649fb6de83d3c16e4dba1443aaca983 07-Dec-1994 Thomas G. Lane <tgl@netcom.com> The Independent JPEG Group's JPEG software v5a
/external/libjpeg-turbo/djpeg.c
36a4ccccd33f5cc9df62949554af87129ced7f84 24-Sep-1994 Thomas G. Lane <tgl@netcom.com> The Independent JPEG Group's JPEG software v5
/external/libjpeg-turbo/djpeg.c
2cdd2ae753e885b06b776c16320b353d843feb60 10-Oct-2010 DRC <dcommander@users.sourceforge.net> Display libjpeg-turbo version/copyrights in run-time programs


git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@247 632fc199-4ca6-4c93-a231-07263d6284db
/external/libjpeg-turbo/djpeg.c