Mercurial > hg > audiodb
comparison audioDB.h @ 474:f9d86b1db21c
Fixed memory leaks, added WS --no_unit_norming, and removed capping of LSH_N_POINT_BITS to 15 bits, instead allow any number of bits to encode points, remaining bits encode tracks
author | mas01mc |
---|---|
date | Fri, 09 Jan 2009 18:05:32 +0000 |
parents | add65705e655 |
children | 342822c2d49a fbcc1303dfeb |
comparison
equal
deleted
inserted
replaced
471:add65705e655 | 474:f9d86b1db21c |
---|---|
66 | 66 |
67 // Because LSH returns NN with P(1)<1 we want to return exact | 67 // Because LSH returns NN with P(1)<1 we want to return exact |
68 // points above this boundary. | 68 // points above this boundary. |
69 // Because we work in Radius^2 units, | 69 // Because we work in Radius^2 units, |
70 // The sqrt of this number is the multiplier on the radius | 70 // The sqrt of this number is the multiplier on the radius |
71 | |
72 #define O2_LSH_EXACT_MULT 1 | |
73 | 71 |
74 #define O2_OLD_MAGIC ('O'|'2'<<8|'D'<<16|'B'<<24) | 72 #define O2_OLD_MAGIC ('O'|'2'<<8|'D'<<16|'B'<<24) |
75 #define O2_MAGIC ('o'|'2'<<8|'d'<<16|'b'<<24) | 73 #define O2_MAGIC ('o'|'2'<<8|'d'<<16|'b'<<24) |
76 #define O2_FORMAT_VERSION (4U) | 74 #define O2_FORMAT_VERSION (4U) |
77 | 75 |