-
Update multi-threading model used by stream, and some gui tweaks
-
Also, add FPSCalc, and FPSSynch to calculate the frequency of frames passing through a stream, and to slow down processing to a specific frame rate (note: does not work particularly well), respecively.
-
Rather than having threads at each stage block, and wait for input, use the global thread pool to only execute stages when they have input.
-
Updated stream multi-threading scheme to allow parallel processing of frames by time invariant transforms
-
Send a deep copy of the current image to the GUI thread, copy must be called explicitly or a shallow copy will be done, and subsequent modifications to the buffer will cause crashes when the GUI thread tries to draw it.