From 0f4469c52f43b49c5df59875d019541f6f7bd93a Mon Sep 17 00:00:00 2001 From: DRC Date: Sat, 22 Nov 2014 23:56:26 +0000 Subject: [PATCH] Oops. Include the tjPlane*() functions in the mapfile so that they are exposed in the shared library on ELF systems. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/branches/1.4.x@1429 632fc199-4ca6-4c93-a231-07263d6284db --- ChangeLog.txt | 5 +++++ turbojpeg-mapfile | 3 +++ turbojpeg-mapfile.jni | 3 +++ 3 files changed, 11 insertions(+) diff --git a/ChangeLog.txt b/ChangeLog.txt index 58b5208c3..ac6aad33e 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -47,6 +47,11 @@ order), the Huffman encoder can produce encoded blocks that approach double the size of the unencoded blocks. Thus, the Huffman local buffer was increased to 256 bytes, which should prevent any such issue from re-occurring in the future. +[10] The new tjPlaneSizeYUV(), tjPlaneWidth(), and tjPlaneHeight() functions +were not actually usable on any platform except OS X and Windows, because +those functions were not included in the libturbojpeg mapfile. This has been +fixed. + 1.3.90 (1.4 beta1) ================== diff --git a/turbojpeg-mapfile b/turbojpeg-mapfile index bd675519e..35d55ae37 100755 --- a/turbojpeg-mapfile +++ b/turbojpeg-mapfile @@ -50,4 +50,7 @@ TURBOJPEG_1.4 tjDecompressToYUVPlanes; tjEncodeYUV3; tjEncodeYUVPlanes; + tjPlaneHeight; + tjPlaneSizeYUV; + tjPlaneWidth; } TURBOJPEG_1.2; diff --git a/turbojpeg-mapfile.jni b/turbojpeg-mapfile.jni index 3370d1f2a..9c1d25bb8 100755 --- a/turbojpeg-mapfile.jni +++ b/turbojpeg-mapfile.jni @@ -76,6 +76,9 @@ TURBOJPEG_1.4 tjDecompressToYUVPlanes; tjEncodeYUV3; tjEncodeYUVPlanes; + tjPlaneHeight; + tjPlaneSizeYUV; + tjPlaneWidth; Java_org_libjpegturbo_turbojpeg_TJ_bufSizeYUV__IIII; Java_org_libjpegturbo_turbojpeg_TJCompressor_compressFromYUV___3_3B_3II_3III_3BII; Java_org_libjpegturbo_turbojpeg_TJCompressor_encodeYUV___3BIIIIII_3_3B_3I_3III;