Add support to save the current frame

This commit is contained in:
jfmcarreira committed 2014-01-31 01:33:31 +00:00
1 parent fbbed36820
commit 4280017fa0
6 files changed
+93 -26

No files matched your search

+13
View File
@@ -32,6 +32,10 @@
#include <QtCore>
#include <QtGui>
#ifdef USE_OPENCV
#include <opencv2/opencv.hpp>
#endif
#include "TypeDef.h"
namespace plaYUVer
@@ -67,9 +71,13 @@ public:
~InputStream();
static QString supportedReadFormats();
static QString supportedWriteFormats();
static QStringList supportedReadFormatsList();
static QStringList supportedWriteFormatsList();
static QStringList supportedPixelFormatList();
enum InputStreamColorSpace
{
YUV420,
@@ -88,7 +96,12 @@ public:
Void readFrame();
Bool writeFrame( const QString& filename );
QImage getFrameQImage();
#ifdef USE_OPENCV
cv::Mat getFrameCvMat();
#endif
Void seekInput( Int new_frame_num );