Add support to refresh frame in a different thread - currently disable

This commit is contained in:
2015-03-03 01:14:03 +00:00
parent 159b33a74f
commit f3ffac6d9f
2 changed files with 29 additions and 11 deletions
+5 -2
View File
@@ -88,8 +88,12 @@ private:
* Threads variables
* QtConcurrent
*/
QFuture<Void> m_cRefreshResult;
QFuture<Void> m_cReadResult;
Void refreshFrame( Bool bThreaded = false );
Void refreshFrameOperation();
static Bool guessFormat( QString filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
/**
@@ -111,7 +115,7 @@ public:
Bool loadFile( QString cFilename, Bool bForceDialog = false );
Bool loadFile( PlaYUVerStreamInfo* streamInfo );
Void loadAll( );
Void loadAll();
Void reloadFile();
Bool save( QString filename );
@@ -128,7 +132,6 @@ public:
Void seekAbsoluteEvent( UInt new_frame_num );
Void seekRelativeEvent( Bool bIsFoward );
Void refreshFrame();
Void setCurrFrame( PlaYUVerFrame* pcCurrFrame );
PlaYUVerStreamInfo getStreamInfo()