]> git.sesse.net Git - kdenlive/blobdiff - src/stopmotion/capturehandler.h
small ui fix
[kdenlive] / src / stopmotion / capturehandler.h
index 342a25105161ef3f4137bd45c7a82ee76dc43555..9e1e3502979ea63fd768be30078af6bc184c4ce9 100644 (file)
@@ -39,16 +39,21 @@ public:
     virtual void hideOverlay() = 0;
     virtual void hidePreview(bool hide) = 0;
     virtual QStringList getDeviceName(QString input) = 0;
-    static void yuv2rgb(unsigned char *yuv_buffer, unsigned char *rgb_buffer, int width, int height);
+    virtual void setDevice(const QString input, QString size = QString()) = 0;
+    void setAnalyse(bool isOn);
+    static void uyvy2rgb(unsigned char *yuv_buffer, unsigned char *rgb_buffer, int width, int height);
+    static void yuyv2rgb(unsigned char *yuv_buffer, unsigned char *rgb_buffer, int width, int height);
 
 protected:
     QVBoxLayout *m_layout;
     QWidget *m_parent;
+    bool m_analyseFrame;
 
 signals:
     void gotTimeCode(ulong);
     void gotMessage(const QString &);
     void frameSaved(const QString);
+    void gotFrame(QImage);
 };