Change some variable to PlaYUVerStreamHandlerIf and make it friend of PlaYUVerStream

This commit is contained in:
2016-04-03 23:33:38 +01:00
parent 51834ae5a7
commit 55ae2a0e7f
9 changed files with 126 additions and 163 deletions
+1 -12
View File
@@ -52,6 +52,7 @@ std::vector<PlaYUVerSupportedFormat> StreamHandlerOpenCV::supportedWriteFormats(
Bool StreamHandlerOpenCV::openHandler( std::string strFilename, Bool bInput )
{
m_cFilename = strFilename;
m_dFrameRate = 1;
return true;
}
@@ -65,18 +66,6 @@ Bool StreamHandlerOpenCV::configureBuffer( PlaYUVerFrame* pcFrame )
return true;
}
Void StreamHandlerOpenCV::getFormat( UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBitsPerPel, Int& rEndianness, Double& rFrameRate )
{
// rWidth = m_uiWidth;
// rHeight = m_uiHeight;
// rInputFormat = m_iPixelFormat;
// rBitsPerPel = m_uiBitsPerPixel;
// rEndianness = m_iEndianness;
rFrameRate = 1;
}
UInt64 StreamHandlerOpenCV::calculateFrameNumber()
{
return 1;