Mercurial > hg > audiodb
changeset 464:f283448a40db
feature DIM upper limit changed. Needed for working with very large data sets
author | mas01mc |
---|---|
date | Tue, 30 Dec 2008 17:16:02 +0000 |
parents | dc099cd34b5b |
children | 51d02229288f |
files | audioDB.h lshlib.h |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/audioDB.h Tue Dec 23 20:41:58 2008 +0000 +++ b/audioDB.h Tue Dec 30 17:16:02 2008 +0000 @@ -68,7 +68,7 @@ // Because we work in Radius^2 units, // The sqrt of this number is the multiplier on the radius -#define O2_LSH_EXACT_MULT 9 +#define O2_LSH_EXACT_MULT 1 #define O2_OLD_MAGIC ('O'|'2'<<8|'D'<<16|'B'<<24) #define O2_MAGIC ('o'|'2'<<8|'d'<<16|'b'<<24) @@ -100,7 +100,7 @@ #define O2_TRACKTABLE_ENTRY_SIZE (sizeof(unsigned)) #define O2_HEADERSIZE (sizeof(dbTableHeaderT)) #define O2_MEANNUMVECTORS (1000U) -#define O2_MAXDIM (2000U) +#define O2_MAXDIM (20000U) #define O2_MAXNN (1000000U) #define O2_MAXSEQLEN (8000U) // maximum feature vectors in a sequence #define O2_MAXTRACKS (1000000U) // maximum number of tracks
--- a/lshlib.h Tue Dec 23 20:41:58 2008 +0000 +++ b/lshlib.h Tue Dec 30 17:16:02 2008 +0000 @@ -60,7 +60,7 @@ #define O2_SERIAL_MAX_TABLES (200) #define O2_SERIAL_MAX_ROWS (1000000000) #define O2_SERIAL_MAX_COLS (1000000) -#define O2_SERIAL_MAX_DIM (2000) +#define O2_SERIAL_MAX_DIM (20000) #define O2_SERIAL_MAX_FUNS (100) #define O2_SERIAL_MAX_BINWIDTH (200) #define O2_SERIAL_MAXFILESIZE (4000000000UL)