Increase support for opencv

Add support for read and write streams
Include device support
This commit is contained in:
jfmcarreira committed 2016-04-29 01:39:38 +01:00
1 parent 85d93780b6
commit f3590dff48
8 files changed
+123 -36

No files matched your search

+9 -4
View File
@@ -31,9 +31,13 @@
#include <string>
#include <opencv2/opencv.hpp>
#include "PlaYUVerDefs.h"
#include "PlaYUVerStream.h"
#include "PlaYUVerStreamHandlerIf.h"
namespace cv
{
class VideoCapture;
}
namespace plaYUVer
{
@@ -48,9 +52,7 @@ public:
static std::vector<PlaYUVerSupportedFormat> supportedReadFormats();
static std::vector<PlaYUVerSupportedFormat> supportedWriteFormats();
StreamHandlerOpenCV()
{
}
StreamHandlerOpenCV();
~StreamHandlerOpenCV()
{
}
@@ -63,6 +65,9 @@ public:
Bool read( PlaYUVerFrame* pcFrame );
Bool write( PlaYUVerFrame* pcFrame );
private:
cv::VideoCapture* pcVideoCapture;
cv::Mat* pcMat;
};
} // NAMESPACE