summaryrefslogtreecommitdiffstats
path: root/src/H5Zscaleoffset.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r29253] Merge of r29057 from trunk (dxpl checks in debug builds)Dana Robinson2016-03-031-1/+1
| | | | | | | Tested on: 64-bit Ubuntu 15.10 w/ gcc 5.2.1 autotools serial w/ Fortran and C++ autotools parallel (MPICH 3.1.4) w/ Fortran bin/cmakehdf5 (CMake 3.3.2)
* [svn-r29210] Merge of r28950 and 28957 from trunk Dana Robinson2016-02-251-1/+1
| | | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ Fortran & C++ autotools parallel (MPICH 3.1.4) w/ Fortran
* [svn-r29016] Merge of r28936, 28949, 28960-29009 from trunk.Dana Robinson2016-01-291-4/+0
| | | | | | | Tested on: 64-bit Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 autotools serial w/ Fortran and C++ autotools parallel (MPICH 3.1.4) w/ Fortran CMake serial (3.3.2, via cmakehdf5)
* [svn-r28348] Description:Quincey Koziol2015-11-151-1/+1
| | | | | | | | Checkpoint warning and coding style cleanups. Tested on: MacOSX/64 10.11.1 (amazon) w/serial & parallel (h5committest not required on this branch)
* [svn-r28093] Merge of r27768 and r27774 from trunkDana Robinson2015-10-161-2/+2
| | | | | | | | | | | | | | | | | | | | | Description: Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2 serial and parallel (MPICH 3.1.4)
* [svn-r28029] Description:Quincey Koziol2015-10-111-0/+2
| | | | | | | | Merge r27626 from trunk to branch. Tested on: MacOSX/64 10.10.5 (amazon) w/serial (h5committest not required on this branch)
* [svn-r27257] Bring revisions #27084 - #27142 from trunk to revise_chunks. ↵Vailin Choi2015-06-201-1/+1
| | | | Tested on jam, koala, ostrich.
* [svn-r27156] Bring revisions #27003 - #27058 from trunk to revise_chunks. ↵Vailin Choi2015-06-061-1/+1
| | | | h5committested.
* [svn-r26859] Bring revisions #26324 - #26843 from trunk to revise_chunks.Vailin Choi2015-04-211-3/+0
| | | | h5committested.
* [svn-r24330] Bring revisions 24098 - #24118 from trunk to revise_chunks.Vailin Choi2013-10-181-26/+26
| | | | h5committested.
* [svn-r23948] Bring revisions #23670 - 23713 from trunk to revise_chunks.Vailin Choi2013-07-301-2/+2
| | | | h5committested.
* [svn-r23568] Bring revision 22634:22690 from trunk to revise_chunks.Vailin Choi2013-04-091-3/+3
| | | | h5committested.
* [svn-r22105] Description:Quincey Koziol2012-03-211-7/+7
| | | | | | | | | | Bring r20557:22085 from trunk to this branch, also fixing some other issues/failures in the branch simultaneously. The h5repack tests are still failing, but Neil will be checking into those, so the branch can be fully functional again. Tested on: Mac OSX/64 10.7.3 (amazon) w/debug
* [svn-r20146] Description:Quincey Koziol2011-02-221-114/+193
| | | | | | | | | | | | | | | | | | | Bring r19714:20145 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.6 (amazon) in debug mode Mac OS X/32 10.6.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r19330] Description:Quincey Koziol2010-09-011-5/+18
| | | | | | | | | | | | | | | | | | | | | | Bring r19109:19328 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in debug mode Mac OS X/32 10.6.4 (amazon) in debug mode Mac OS X/32 10.6.4 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode Mac OS X/32 10.6.4 (amazon) w/parallel, in debug mode
* [svn-r18639] Description:Quincey Koziol2010-04-271-335/+418
| | | | | | | | Bring r18619:18638 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) w/debug (h5committest not required on this branch)
* [svn-r18451] Description:Quincey Koziol2010-03-251-0/+1
| | | | | | | | | | | | | | | | | | Bring r18172:18446 from trunk to revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
* [svn-r17270] Description:Quincey Koziol2009-07-301-3/+3
| | | | | | | | Bring r17265:17269 from trunk to revise_chunks branch Tested on FreeBSD/32 6.3 (duty) (h5committest not required on this branch)
* [svn-r16825] Description:Quincey Koziol2009-04-211-1/+1
| | | | | | | | | Bring revisions 16636:16821 from trunk to revise_chunks branch Tested on: FreeBSD/32 6.3 (duty) Mac OS X/32 10.5.6 (amazon) (h5committest not needed on this branch)
* [svn-r16514] Description:Quincey Koziol2009-02-241-63/+63
| | | | | | | | | | | | | | | | | | | | | Merge r16440:16500 from trunk into revise_chunks branch. Tested on: FreeBSD/32 6.3 (duty) in debug mode FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode Mac OS X/32 10.5.6 (amazon) in debug mode Mac OS X/32 10.5.6 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r16219] Description:Quincey Koziol2008-12-231-2/+2
| | | | | | | Bring revisions 16206:16218 back from trunk Tested on: Mac OS X/32 10.5.6 (amazon)
* [svn-r14379] add check of some values for the nbit and scale offest filters ↵Pedro Vicente Nunes2008-01-071-1/+0
| | | | | | | | on the h5repack verify function note: some sybols were made public tested: windows, linux
* [svn-r14208] Description:Quincey Koziol2007-10-181-114/+112
| | | | | | | | | | | | | | | | | | | | Make H5Pget_filter_by_id() API versioned and switch internal usage to H5Pget_filter_by_id2(). Add simple regression test for H5Pget_filter_by_id1(). Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13117] Description:Quincey Koziol2007-01-071-4/+4
| | | | | | | Clean up some warnings from Windows. Tested on: FreeBSD/32 6.1 (duty)
* [svn-r12821] Description:Quincey Koziol2006-10-281-5/+5
| | | | | | | | | Clean up compiler warnings, esp. on 64-bit Linux boxes. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/C++ & FORTRAN Linux/64 2.4 (mir) w/build-all & 1.6 compat
* [svn-r12803] Description:Quincey Koziol2006-10-231-16/+17
| | | | | | | | | | | | | | Finish new version of the I/O pipeline message, which is much smaller than the previous version. This version is used with the "use the latest version of the format" flag. Closed several memory leaks/overruns (found with valgrind). Also, lots of compiler & formatting cleanups. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r12128] Purpose:Quincey Koziol2006-03-221-2/+2
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings (esp. those flagged on Windows builds) Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11771] Purpose:Quincey Koziol2005-12-081-5/+5
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11337] Purpose:Quincey Koziol2005-09-011-226/+225
| | | | | | | | | | | | Code cleanup Description: Changed some scale+offset filter symbols from H5_SO_... -> H5Z_SO_... to indicate that they are in the H5Z package. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11325] Purpose:MuQun Yang2005-08-311-228/+234
| | | | | | | | | | | | | | | | Update scaleoffset filter. Description: 1. Using enum type to describe scale offset type(int, Dscale or Escale) 2. Changing some macro names 3. Fixing some minor bugs Solution: Platforms tested: sol 2.8, linux 2.4, aix 5.1(32-bit and 64-bit) Misc. update:
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-213/+213
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10742] Purpose:MuQun Yang2005-05-101-1/+6
| | | | | | | | | | | | | | | | A little enhancement for integer datatype filter Description: Minimum-bit of the scaleoffset filter should not be less than 0, However, if the user accidently input a negative value for integer type, we will reset it to zero. Solution: Platforms tested: too minor to test. Misc. update:
* [svn-r10741] Purpose:MuQun Yang2005-05-091-2/+5
| | | | | | | | | | | | | | | Minor change for rounding of floating-point value for scaleoffset filter. Description: Always round to the bigger absolute integer value if floating-point data is in the middle. 0.5->1, -0.5->-1. Solution: Platforms tested: Too minor to test Misc. update:
* [svn-r10736] Purpose:Quincey Koziol2005-05-071-9/+10
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings Platforms tested: FreeBSD 4.11 (sleipnir) h5committest
* [svn-r10733] Purpose:MuQun Yang2005-05-061-2/+2
| | | | | | | | | | | | | | Update H5Zscaleoffset.c so that it supports negative precision number. Description: Solution: Platforms tested: Linux 2.4 Misc. update: too minor to check in other platforms
* [svn-r10718] Purpose:Quincey Koziol2005-05-031-64/+66
| | | | | | | | | | | Code cleanup Description: Clean up some compiler warnings. Platforms tested: FreeBSD 4.11 (sleipnir) w/gcc 4.0 Too minor to require h5committest
* [svn-r10702] Purpose:Xiaowen Wu2005-04-291-3/+3
| | | | | | | | | | | | | | | Bug fix. Description: The previous bug fix of H5Zscaleoffset filter was not secure enough. Solution: Slight modification based on previous version. Platforms tested: heping Misc. update:
* [svn-r10698] Purpose:Xiaowen Wu2005-04-291-3/+3
| | | | | | | | | | | | | | | | | | Bug fix. Description: The scaleoffset filter checks the uppper limmit of span of values before it is assigned. The check for floating-point data, which may not be represented in the machine exactly as the user wanted, did not consider this. Solution: Slight modification of check above. Platforms tested: heping Misc. update:
* [svn-r10687] Purpose:Xiaowen Wu2005-04-281-50/+38
| | | | | | | | | | | | | | | Modifications. Description: Scaleoffset filter codes could not pass windows compiler. Solution: Modifications were made to make it pass. Also slight improvements of codes. Platforms tested: heping Misc. update:
* [svn-r10681] Purpose:Xiaowen Wu2005-04-271-15/+16
| | | | | | | | | | | | | | | | | Slight modification. Description: Several constants were added for the scaleoffset filter in file H5Zpublic.h and corresponding changes needs to be made in H5Zscaleoffset.c. Solution: Slight modification of codes. Platforms tested: heping, shanti Misc. update:
* [svn-r10675] Purpose:Xiaowen Wu2005-04-261-159/+508
| | | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter has been implemented for compressing floating-point data (float, double, but not long double) using D-scaling method from GRIB. It also changes to according to the new interface of H5Pset_scaleoffset API. Solution: Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10613] Purpose:Xiaowen Wu2005-04-151-3/+3
| | | | | | | | | | | | | | | Bug fix. Description: Several call to macro HGOTO_ERROR passes wrong value to ret_value. Solution: Change the value from zero to FAIL. Platforms tested: heping Misc. update:
* [svn-r10596] Purpose:Xiaowen Wu2005-04-121-928/+337
| | | | | | | | | | | | | | | | New feature. Description: The scaleoffset filter previously does not use macros to handle different integer datatype situations. Solution: Added macros in the filter for better maintenance and clarity of codes. Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10384] Purpose:Xiaowen Wu2005-03-231-322/+1297
| | | | | | | | | | | | | | | | | | New feature & bug fix. Description: The scaleoffset filter was not completed at last check-in and had quite a few bugs. Solution: The scaleoffset filter is now complete for compressing integers. All previous bugs have been fixed. The filter does not compress floating-point at present. The filter only supports integer and floating-point datatypes. Platforms tested: heping, copper, shanti Misc. update:
* [svn-r10028] Purpose:Xiaowen Wu2005-02-171-0/+813
New feature. Description: Source code for the scaleoffset internal filter. For debugging purpose. Solution: Platforms tested: heping, copper, arabica Misc. update: