From 0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 11 Jan 2020 15:48:43 +0100 Subject: Skip same frames --- gui/fpgaviewwidget.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gui/fpgaviewwidget.h') diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h index 7f99408e..9f670cb0 100644 --- a/gui/fpgaviewwidget.h +++ b/gui/fpgaviewwidget.h @@ -120,7 +120,7 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions void zoomSelected(); void zoomOutbound(); void enableDisableDecals(bool bels, bool wires, bool pips, bool groups); - void movieStart(QString dir, long frameSkip); + void movieStart(QString dir, long frameSkip, bool skipSame); void movieStop(); Q_SIGNALS: void clickedBel(BelId bel, bool add); @@ -133,6 +133,8 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions long currentFrameSkip; long movieCounter; bool movieSaving; + bool movieSkipSame; + QImage movieLastImage; const float zoomNear_ = 0.05f; // do not zoom closer than this float zoomFar_ = 10.0f; // do not zoom further than this const float zoomLvl1_ = 1.0f; -- cgit v1.2.3