Fix some problems
Fix problems in the histogram calculation Change handle of frame count in the stream handlers
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user