comparison audioDB.h @ 222:4a66c326bbf1 refactoring

Move usingQueryPoint logic into set_up_query() (And a similar change to set_up_db(). This causes the arglists to look quite hairy, but I forgive myself because they're internal-use only.)
author mas01cr
date Wed, 05 Dec 2007 12:47:33 +0000
parents d1c912ff8286
children e2e561eef3d6
comparison
equal deleted inserted replaced
221:b67fd44ce667 222:4a66c326bbf1
194 void sequence_average(double *buffer, int length, int seqlen); 194 void sequence_average(double *buffer, int length, int seqlen);
195 195
196 void initialize_arrays(int track, unsigned int numVectors, double *query, double *data_buffer, double **D, double **DD); 196 void initialize_arrays(int track, unsigned int numVectors, double *query, double *data_buffer, double **D, double **DD);
197 void delete_arrays(int track, unsigned int numVectors, double **D, double **DD); 197 void delete_arrays(int track, unsigned int numVectors, double **D, double **DD);
198 void read_data(int track, double **data_buffer_p, size_t *data_buffer_size_p); 198 void read_data(int track, double **data_buffer_p, size_t *data_buffer_size_p);
199 void set_up_query(double **qp, double **qnp, double **qpp, double *mqdp, unsigned int *nvp); 199 void set_up_query(double **qp, double **vqp, double **qnp, double **vqnp, double **qpp, double **vqpp, double *mqdp, unsigned int *nvp);
200 void set_up_db(double **snp, double **spp, double **mddp, unsigned int *dvp); 200 void set_up_db(double **snp, double **vsnp, double **spp, double **vspp, double **mddp, unsigned int *dvp);
201 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 201 void trackSequenceQueryNN(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
202 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0); 202 void trackSequenceQueryRad(const char* dbName, const char* inFile, adb__queryResponse *adbQueryResponse=0);
203 203
204 void initDBHeader(const char *dbName); 204 void initDBHeader(const char *dbName);
205 void initInputFile(const char *inFile); 205 void initInputFile(const char *inFile);