Prototype waterfall rate smoothing / fps matching

This commit is contained in:
Charles J. Cliffe
2015-09-09 23:29:38 -04:00
parent 7163cd13f2
commit a1bf5b839e
7 changed files with 81 additions and 25 deletions
+2 -1
View File
@@ -8,6 +8,7 @@
#include <iostream>
#include "ThreadQueue.h"
#include "Timer.h"
struct map_string_less : public std::binary_function<std::string,std::string,bool>
{
@@ -112,9 +113,9 @@ public:
void setOutputQueue(std::string qname, ThreadQueueBase *threadQueue);
void *getOutputQueue(std::string qname);
protected:
std::map<std::string, ThreadQueueBase *, map_string_less> input_queues;
std::map<std::string, ThreadQueueBase *, map_string_less> output_queues;
std::atomic_bool terminated;
Timer gTimer;
};