From 489864aefadb22a91e6747bd4769f2f4fc79a4f1 Mon Sep 17 00:00:00 2001 From: DRC Date: Tue, 12 Jul 2011 03:17:23 +0000 Subject: [PATCH] Re-work TJBUFSIZE() to take into account the level of chrominance subsampling --- ChangeLog.txt | 3 + doc/html/annotated.html | 2 +- doc/html/classes.html | 2 +- doc/html/functions.html | 2 +- doc/html/functions_vars.html | 2 +- doc/html/group___turbo_j_p_e_g.html | 106 ++++++++++-------- doc/html/index.html | 2 +- doc/html/modules.html | 2 +- doc/html/structtjregion.html | 2 +- doc/html/structtjscalingfactor.html | 2 +- doc/html/structtjtransform.html | 2 +- java/TJUnitTest.java | 6 +- java/doc/allclasses-frame.html | 4 +- java/doc/allclasses-noframe.html | 4 +- java/doc/constant-values.html | 4 +- java/doc/deprecated-list.html | 4 +- java/doc/help-doc.html | 4 +- java/doc/index-all.html | 9 +- java/doc/index.html | 2 +- java/doc/org/libjpegturbo/turbojpeg/TJ.html | 28 +++-- .../libjpegturbo/turbojpeg/TJCompressor.html | 8 +- .../turbojpeg/TJDecompressor.html | 4 +- .../turbojpeg/TJScalingFactor.html | 4 +- .../libjpegturbo/turbojpeg/TJTransform.html | 4 +- .../libjpegturbo/turbojpeg/TJTransformer.html | 6 +- .../libjpegturbo/turbojpeg/package-frame.html | 4 +- .../turbojpeg/package-summary.html | 4 +- .../libjpegturbo/turbojpeg/package-tree.html | 4 +- java/doc/overview-tree.html | 4 +- java/doc/serialized-form.html | 4 +- java/org/libjpegturbo/turbojpeg/TJ.java | 13 ++- .../libjpegturbo/turbojpeg/TJCompressor.java | 4 +- .../libjpegturbo/turbojpeg/TJTransformer.java | 2 +- java/org_libjpegturbo_turbojpeg_TJ.h | 6 +- tjbench.c | 10 +- tjunittest.c | 18 +-- turbojpeg-jni.c | 22 ++-- turbojpeg-mapfile | 2 + turbojpeg-mapfile.jni | 2 + turbojpeg.c | 97 +++++++++++----- turbojpeg.h | 34 ++++-- 41 files changed, 268 insertions(+), 180 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 0a8e8b19..99cb5052 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -55,6 +55,9 @@ based on whether libjpeg v7 or v8 emulation was enabled. fail to compile if the Windows system headers were included before jpeglib.h. This issue was caused by a conflict in the definition of the INT32 type. +[15] Implemented a more efficient version of TJBUFSIZE() which computes a +worst-case JPEG size based on the level of chrominance subsampling. + 1.1.1 ===== diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 3c6e903a..1598f0b0 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -81,7 +81,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); -