Skip to content
Snippets Groups Projects
Commit dc132e1e authored by Matteo F. Vescovi's avatar Matteo F. Vescovi
Browse files

New upstream version 2.5.1

parent b7693078
No related branches found
Tags upstream/2.5.1
No related merge requests found
......@@ -4,11 +4,11 @@ dnl Copyright Contributors to the OpenEXR Project.
dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(IlmBase, 2.5.0)
AC_INIT(IlmBase, 2.5.1)
AC_SUBST(ILMBASE_VERSION_MAJOR, 2)
AC_SUBST(ILMBASE_VERSION_MINOR, 5)
AC_SUBST(ILMBASE_VERSION_PATCH, 0)
AC_SUBST(ILMBASE_VERSION_PATCH, 1)
AC_SUBST(ILMBASE_VERSION, ${ILMBASE_VERSION_MAJOR}.${ILMBASE_VERSION_MINOR}.${ILMBASE_VERSION_PATCH})
AC_SUBST(ILMBASE_VERSION_API, ${ILMBASE_VERSION_MAJOR}_${ILMBASE_VERSION_MINOR})
......@@ -21,7 +21,7 @@ AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
AM_MAINTAINER_MODE
LIBTOOL_CURRENT=24
LIBTOOL_CURRENT=25
LIBTOOL_REVISION=0
LIBTOOL_AGE=0
LIBTOOL_VERSION=$LIBTOOL_CURRENT:$LIBTOOL_REVISION:$LIBTOOL_AGE
......
......@@ -181,9 +181,9 @@ compressUncompressSubset(const unsigned short raw[], int n)
// This DEK hash is determined from an aprior initial run of this
// test noting its value from the assert message compressVerify().
//
#define HUF_COMPRESS_DEK_HASH_FOR_FILL4_USHRT_MAX_PLUS_ONE 2956869585U
#define HUF_COMPRESS_DEK_HASH_FOR_FILL4_N 3414126535U
#define HUF_COMPRESS_DEK_HASH_FOR_FILL5_N 169791374U
#define HUF_COMPRESS_DEK_HASH_FOR_FILL4_USHRT_MAX_PLUS_ONE 2013380646U
#define HUF_COMPRESS_DEK_HASH_FOR_FILL4_N 213880353U
#define HUF_COMPRESS_DEK_HASH_FOR_FILL5_N 2492982090U
void
compressVerify (const unsigned short raw[],
......@@ -200,7 +200,7 @@ compressVerify (const unsigned short raw[],
// under the topic of sorting and search chapter 6.4.
//
unsigned int compressedHash = nCompressed;
const char* cptr = compressed;
const unsigned char* cptr = reinterpret_cast<const unsigned char*>( (const char*) compressed);
for (int i = 0; i < nCompressed; ++i)
{
compressedHash =
......@@ -210,6 +210,25 @@ compressVerify (const unsigned short raw[],
cout << "verifying compressed checksum hash = "
<< compressedHash << std::endl;
if (compressedHash != dekHash)
{
cout << "hash verification failed. Got " << compressedHash << " expected " << dekHash << std::endl;
const unsigned char* cptr = reinterpret_cast<const unsigned char*>( (const char*) compressed);
for(int i = 0 ; i < nCompressed ; ++i )
{
cout << std::hex << (0xFF & (int) (*cptr++));
if ( (i & 0xF) ==0 )
{
cout << '\n';
}
else
{
cout << ' ';
}
}
cout << "\n";
}
assert (compressedHash == dekHash);
}
......
......@@ -5,12 +5,12 @@ dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(OpenEXR, 2.5.0)
AC_INIT(OpenEXR, 2.5.1)
AC_CONFIG_MACRO_DIR([m4])
AC_SUBST(OPENEXR_VERSION_MAJOR, 2)
AC_SUBST(OPENEXR_VERSION_MINOR, 5)
AC_SUBST(OPENEXR_VERSION_PATCH, 0)
AC_SUBST(OPENEXR_VERSION_PATCH, 1)
AC_SUBST(OPENEXR_VERSION, ${OPENEXR_VERSION_MAJOR}.${OPENEXR_VERSION_MINOR}.${OPENEXR_VERSION_PATCH})
AC_SUBST(OPENEXR_VERSION_API, ${OPENEXR_VERSION_MAJOR}_${OPENEXR_VERSION_MINOR})
......@@ -23,7 +23,7 @@ AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
AM_MAINTAINER_MODE
LIBTOOL_CURRENT=24
LIBTOOL_CURRENT=25
LIBTOOL_REVISION=0
LIBTOOL_AGE=0
LIBTOOL_VERSION=$LIBTOOL_CURRENT:$LIBTOOL_REVISION:$LIBTOOL_AGE
......
......@@ -4,8 +4,8 @@ dnl Copyright Contributors to the OpenEXR Project.
dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(OpenEXR_Viewers, 2.5.0)
AC_SUBST(OPENEXR_VIEWERS_VERSION, 2.5.0)
AC_INIT(OpenEXR_Viewers, 2.5.1)
AC_SUBST(OPENEXR_VIEWERS_VERSION, 2.5.1)
AC_CANONICAL_HOST
AC_CONFIG_SRCDIR(playexr/main.cpp)
AM_CONFIG_HEADER(config/OpenEXR_ViewersConfig.h)
......@@ -13,8 +13,8 @@ AM_INIT_AUTOMAKE(1.6.3) dnl Require automake 1.6.3 or better
AM_MAINTAINER_MODE
LIBTOOL_CURRENT=24
LIBTOOL_REVISION=1
LIBTOOL_CURRENT=25
LIBTOOL_REVISION=0
LIBTOOL_AGE=0
LIBTOOL_VERSION=$LIBTOOL_CURRENT:$LIBTOOL_REVISION:$LIBTOOL_AGE
AC_SUBST(LIBTOOL_VERSION)
......
......@@ -4,8 +4,8 @@ dnl Copyright Contributors to the OpenEXR Project.
dnl
dnl Process this file with autoconf to produce a configure script.
AC_INIT(PyIlmBase, 2.5.0)
AC_SUBST(PYILMBASE_VERSION, 2.5.0)
AC_INIT(PyIlmBase, 2.5.1)
AC_SUBST(PYILMBASE_VERSION, 2.5.1)
AC_CANONICAL_HOST
AC_CONFIG_SRCDIR(PyIex/iexmodule.cpp)
AC_CONFIG_HEADERS([config/PyIlmBaseConfig.h])
......@@ -16,8 +16,8 @@ dnl static python modules make no sense - disable static
AC_DISABLE_STATIC
LIBTOOL_CURRENT=24
LIBTOOL_REVISION=2
LIBTOOL_CURRENT=25
LIBTOOL_REVISION=0
LIBTOOL_AGE=0
LIBTOOL_VERSION=$LIBTOOL_CURRENT:$LIBTOOL_REVISION:$LIBTOOL_AGE
AC_SUBST(LIBTOOL_VERSION)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment