Mercurial > hg > audiodb
diff audioDB.h @ 500:fbcc1303dfeb memory-leaks
Fixed bug in LSH_N_POINT_BITS coding when using AudioDB with LSH indexes
author | mas01mc |
---|---|
date | Sat, 10 Jan 2009 20:01:53 +0000 |
parents | 3171089ecfd7 |
children | eb9a7ef110c1 |
line wrap: on
line diff
--- a/audioDB.h Sat Jan 10 13:38:22 2009 +0000 +++ b/audioDB.h Sat Jan 10 20:01:53 2009 +0000 @@ -88,6 +88,10 @@ #define LSH_N_POINT_BITS O2_DEFAULT_LSH_N_POINT_BITS #endif +#define LSH_POINT_BITS_FIELD_POSITION 27 // LSB bit position in 32-bit int for n_point_bits +#define LSH_POINT_BITS_FIELD_MAX 31 // maximum value possible given LSH_POINT_BITS_FIELD_POSITION + + // LIMIT PARAMETERS #define O2_DEFAULT_DATASIZE (1355U) // in MB #define O2_DEFAULT_NTRACKS (20000U)