Mercurial > hg > match-vamp
changeset 49:c2e152d8a9d4 refactors_no_float
Comment
author | Chris Cannam |
---|---|
date | Thu, 13 Nov 2014 18:50:25 +0000 |
parents | c1112adfd270 |
children | 96ffe524b18e |
files | src/MatchFeatureFeeder.cpp |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/MatchFeatureFeeder.cpp Thu Nov 13 13:59:41 2014 +0000 +++ b/src/MatchFeatureFeeder.cpp Thu Nov 13 18:50:25 2014 +0000 @@ -32,6 +32,12 @@ void MatchFeatureFeeder::feed(vector<double> f1, vector<double> f2) { + // We maintain two FIFO queues of feature vectors, one per input + // stream. When the match-feeder function is entered, it knows + // that it has at least one feature in each queue. It loops, + // processing up to one feature per matcher, until a queue is + // empty. Then it returns, to be called again with more data. + q1.push(f1); q2.push(f2);