Add new function into PlaYUVerFrame to support more frame formats e.g.

QImage or cv::Mat
This commit is contained in:
jfmcarreira committed 2014-03-29 05:18:37 +00:00
1 parent 27cf3e880b
commit d8031d4c58
2 files changed
+23 -5

No files matched your search

+9
View File
@@ -453,4 +453,13 @@ Pixel PlaYUVerFrame::getPixelValue(const QPoint &pos, ColorSpace space)
return pixel_value;
}
// Format conversion
#ifdef USE_OPENCV
cv::Mat PlaYUVerFrame::getCvMat()
{
return cv::Mat();
}
#endif
} // NAMESPACE