aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/libLumina/LVideoSurface.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2017-10-04 09:52:01 -0400
committerKen Moore <ken@ixsystems.com>2017-10-04 09:52:01 -0400
commit15d8dac497768350ea429d6c6682ed9723d0464c (patch)
treeb6238a9d934b8aca88122306fa1f90f06cc394fe /src-qt5/core/libLumina/LVideoSurface.h
parentFinish up the auto archive/extract within lumina-archiver (with JT) (diff)
parentFurther lumina-fm changes for video thumbnails (diff)
downloadlumina-15d8dac497768350ea429d6c6682ed9723d0464c.tar.gz
lumina-15d8dac497768350ea429d6c6682ed9723d0464c.tar.bz2
lumina-15d8dac497768350ea429d6c6682ed9723d0464c.zip
Merge branch 'master' of github.com:trueos/lumina
Diffstat (limited to 'src-qt5/core/libLumina/LVideoSurface.h')
-rw-r--r--src-qt5/core/libLumina/LVideoSurface.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src-qt5/core/libLumina/LVideoSurface.h b/src-qt5/core/libLumina/LVideoSurface.h
new file mode 100644
index 00000000..42a140d9
--- /dev/null
+++ b/src-qt5/core/libLumina/LVideoSurface.h
@@ -0,0 +1,21 @@
+#include <QAbstractVideoSurface>
+#include <QVideoSurfaceFormat>
+#include <QPixmap>
+#include <QDebug>
+
+class LVideoSurface : public QAbstractVideoSurface {
+ Q_OBJECT
+
+ public:
+ LVideoSurface(QObject *parent=0);
+ virtual bool present(const QVideoFrame&);
+ virtual QList<QVideoFrame::PixelFormat> supportedPixelFormats(QAbstractVideoBuffer::HandleType) const;
+ /*virtual QList<QVidebool isFormatSupported(const QVideoSurfaceFormat &format) const;
+ bool start(const QVideoSurfaceFormat &format);
+ void stop();*/
+ signals:
+ void frameReceived(QPixmap);
+ private:
+ QPixmap frameImage;
+ //QImage::Format imageFormat;
+};
bgstack15