# HG changeset patch # User Chris Cannam # Date 1415904625 0 # Node ID c2e152d8a9d40fe7768c54157ad81c26ffba9a79 # Parent c1112adfd270fd1362395e4bf8c7583b5b66bccc Comment diff -r c1112adfd270 -r c2e152d8a9d4 src/MatchFeatureFeeder.cpp --- 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 f1, vector 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);