diff options
author | Mathis Rosenhauer <rosenhauer@dkrz.de> | 2012-10-04 17:23:30 +0200 |
---|---|---|
committer | Thomas Jahns <jahns@dkrz.de> | 2013-02-19 11:33:00 +0100 |
commit | 72f362415e517f5b796502128c1c8f9b1f0d7208 (patch) | |
tree | b5304d0883b5a8800e25f3e6c60a19db7bcf9036 /src/libaec.h | |
parent | b63f830b39d9d6f344bc36eedf0d46d046227474 (diff) | |
download | libaec-72f362415e517f5b796502128c1c8f9b1f0d7208.tar.gz libaec-72f362415e517f5b796502128c1c8f9b1f0d7208.tar.bz2 libaec-72f362415e517f5b796502128c1c8f9b1f0d7208.zip |
Improve compatibility with HDF5 - all checks passed
Diffstat (limited to 'src/libaec.h')
-rw-r--r-- | src/libaec.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/libaec.h b/src/libaec.h index 1587857..91c8485 100644 --- a/src/libaec.h +++ b/src/libaec.h @@ -30,19 +30,18 @@ struct aec_stream { }; /* Sample data description flags */ -#define AEC_DATA_UNSIGNED 0 /* Samples are unsigned integers (default) */ -#define AEC_DATA_SIGNED 1 /* Samples are signed. Telling libaec +#define AEC_DATA_SIGNED 1 /* Samples are signed. Telling libaec * this results in a slightly better - * compression ratio. + * compression ratio. Default is + * unsigned. */ -#define AEC_DATA_3BYTE 2 /* 24 bit samples are coded in 3 bytes */ -#define AEC_DATA_MSB 16 /* Samples are stored with their most +#define AEC_DATA_3BYTE 2 /* 24 bit samples are coded in 3 bytes */ +#define AEC_DATA_MSB 4 /* Samples are stored with their most * significant bit first. This has * nothing to do with the endianness - * of the host. + * of the host. Default is LSB. */ -#define AEC_DATA_LSB 0 /* Samples are stored LSB first (default) */ -#define AEC_DATA_PREPROCESS 32 /* Set if preprocessor should be used */ +#define AEC_DATA_PREPROCESS 8 /* Set if preprocessor should be used */ /* Return codes of library functions */ #define AEC_OK 0 |