Add new function into PlaYUVerFrame to support more frame formats e.g.
QImage or cv::Mat
This commit is contained in:
1 parent
27cf3e880b
commit
d8031d4c58
2 files changed
+23
-5
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user