From: DRC Date: Fri, 18 Jan 2013 06:02:10 +0000 (+0000) Subject: Subtle point, but the libjpeg v7+ API is not backward incompatible. That is, program... X-Git-Tag: 1.2.90~12 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eff4f956fe4171d609d31ea52ab762484c4381c9;p=libjpeg-turbo Subtle point, but the libjpeg v7+ API is not backward incompatible. That is, programs that were built against jpeg-6b can still build against jpeg-7+ with no issues. It's only the ABI that is backward incompatible, so the primary justification for implementing the emulation feature was to provide run-time (ABI) compatibility. git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@911 632fc199-4ca6-4c93-a231-07263d6284db --- diff --git a/README-turbo.txt b/README-turbo.txt index c2806a7..90424ee 100755 --- a/README-turbo.txt +++ b/README-turbo.txt @@ -259,7 +259,7 @@ ABI compatibility with previous libjpeg releases. Thus, programs that were built to use libjpeg v7 or v8 did not work with libjpeg-turbo, since it is based on the libjpeg v6b code base. Although libjpeg v7 and v8 are still not as widely used as v6b, enough programs (including a few Linux distros) made -the switch that there was a demand to emulate the libjpeg v7 and v8 APIs/ABIs +the switch that there was a demand to emulate the libjpeg v7 and v8 ABIs in libjpeg-turbo. It should be noted, however, that this feature was added primarily so that applications that had already been compiled to use libjpeg v7+ could take advantage of accelerated baseline JPEG encoding/decoding @@ -269,7 +269,7 @@ cases (see below.) By passing an argument of --with-jpeg7 or --with-jpeg8 to configure, or an argument of -DWITH_JPEG7=1 or -DWITH_JPEG8=1 to cmake, you can build a version -of libjpeg-turbo that emulates the libjpeg v7 or v8 API/ABI, so that programs +of libjpeg-turbo that emulates the libjpeg v7 or v8 ABI, so that programs that are built against libjpeg v7 or v8 can be run with libjpeg-turbo. The following section describes which libjpeg v7+ features are supported and which aren't.