Mercurial > hg > audiodb
comparison 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 |
comparison
equal
deleted
inserted
replaced
486:920919d62542 | 500:fbcc1303dfeb |
---|---|
85 | 85 |
86 // Override the default point bit width for large database support | 86 // Override the default point bit width for large database support |
87 #ifndef LSH_N_POINT_BITS | 87 #ifndef LSH_N_POINT_BITS |
88 #define LSH_N_POINT_BITS O2_DEFAULT_LSH_N_POINT_BITS | 88 #define LSH_N_POINT_BITS O2_DEFAULT_LSH_N_POINT_BITS |
89 #endif | 89 #endif |
90 | |
91 #define LSH_POINT_BITS_FIELD_POSITION 27 // LSB bit position in 32-bit int for n_point_bits | |
92 #define LSH_POINT_BITS_FIELD_MAX 31 // maximum value possible given LSH_POINT_BITS_FIELD_POSITION | |
93 | |
90 | 94 |
91 // LIMIT PARAMETERS | 95 // LIMIT PARAMETERS |
92 #define O2_DEFAULT_DATASIZE (1355U) // in MB | 96 #define O2_DEFAULT_DATASIZE (1355U) // in MB |
93 #define O2_DEFAULT_NTRACKS (20000U) | 97 #define O2_DEFAULT_NTRACKS (20000U) |
94 #define O2_DEFAULT_DATADIM (9U) | 98 #define O2_DEFAULT_DATADIM (9U) |