aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LVideoSurface.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/libLumina/LVideoSurface.h')
-rw-r--r--src-qt5/core/libLumina/LVideoSurface.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src-qt5/core/libLumina/LVideoSurface.h b/src-qt5/core/libLumina/LVideoSurface.h
index adb4611d..42a140d9 100644
--- a/src-qt5/core/libLumina/LVideoSurface.h
+++ b/src-qt5/core/libLumina/LVideoSurface.h
@@ -1,20 +1,21 @@
#include <QAbstractVideoSurface>
#include <QVideoSurfaceFormat>
+#include <QPixmap>
#include <QDebug>
class LVideoSurface : public QAbstractVideoSurface {
Q_OBJECT
public:
- LVideoSurface();
+ LVideoSurface(QObject *parent=0);
virtual bool present(const QVideoFrame&);
virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType) const;
- QImage currentFrame();
- bool frameReady();
+ /*virtual QList<QVidebool isFormatSupported(const QVideoSurfaceFormat &format) const;
+ bool start(const QVideoSurfaceFormat &format);
+ void stop();*/
signals:
- void frameReceived(QImage);
+ void frameReceived(QPixmap);
private:
- int recording;
- QImage frameImage;
- bool ready;
+ QPixmap frameImage;
+ //QImage::Format imageFormat;
};
bgstack15