comparison audioDB.h @ 248:5682c7d7444b

Added new query type: nsequence : this reports the n-nearest neighbours for each track in a sequence averaging query. Next up is the same for the radius search (still accessed via nsequence but with -R set non zero)
author mas01mc
date Sun, 17 Feb 2008 14:56:02 +0000
parents 4eb4608e28e1
children a6c9a1c68646
comparison
equal deleted inserted replaced
245:0d99b008fd6b 248:5682c7d7444b
52 #define O2_FORMAT_VERSION (4U) 52 #define O2_FORMAT_VERSION (4U)
53 53
54 #define O2_DEFAULT_POINTNN (10U) 54 #define O2_DEFAULT_POINTNN (10U)
55 #define O2_DEFAULT_TRACKNN (10U) 55 #define O2_DEFAULT_TRACKNN (10U)
56 56
57 //#define O2_DEFAULTDBSIZE (4000000000) // 4GB table size
57 #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size 58 #define O2_DEFAULTDBSIZE (2000000000) // 2GB table size
58 59
59 #define O2_MAXFILES (20000U) 60 #define O2_MAXFILES (20000U)
60 #define O2_MAXFILESTR (256U) 61 #define O2_MAXFILESTR (256U)
61 #define O2_FILETABLESIZE (O2_MAXFILESTR) 62 #define O2_FILETABLESIZE (O2_MAXFILESTR)
73 74
74 // Query types 75 // Query types
75 #define O2_POINT_QUERY (0x4U) 76 #define O2_POINT_QUERY (0x4U)
76 #define O2_SEQUENCE_QUERY (0x8U) 77 #define O2_SEQUENCE_QUERY (0x8U)
77 #define O2_TRACK_QUERY (0x10U) 78 #define O2_TRACK_QUERY (0x10U)
79 #define O2_N_SEQUENCE_QUERY (0x20U)
80
78 81
79 // Error Codes 82 // Error Codes
80 #define O2_ERR_KEYNOTFOUND (0xFFFFFF00) 83 #define O2_ERR_KEYNOTFOUND (0xFFFFFF00)
81 84
82 // Macros 85 // Macros