Fix some problems

Fix problems in the histogram calculation
Change handle of frame count in the stream handlers
This commit is contained in:
2017-12-09 02:32:11 +00:00
parent fe50d8fa6e
commit 25a4e9765f
20 changed files with 92 additions and 149 deletions
+1 -5
View File
@@ -105,6 +105,7 @@ Bool StreamHandlerPortableMap::openHandler( String strFilename, Bool bInput )
}
m_iEndianness = 0;
m_dFrameRate = 1;
m_uiTotalNumberFrames = 1;
return true;
}
@@ -122,11 +123,6 @@ Bool StreamHandlerPortableMap::configureBuffer( PlaYUVerFrame* pcFrame )
return getMem1D<Byte>( &m_pStreamBuffer, pcFrame->getBytesPerFrame() );
}
UInt64 StreamHandlerPortableMap::calculateFrameNumber()
{
return 1;
}
Bool StreamHandlerPortableMap::seek( UInt64 iFrameNum )
{
// m_uiCurrFrameFileIdx =