Add function to return current format and set initial parameters

This commit is contained in:
jfmcarreira committed 2014-03-31 00:06:06 +01:00
1 parent a10963ce13
commit cd5b92f41b
3 files changed
+64 -44

No files matched your search

+3 -3
View File
@@ -104,12 +104,12 @@ public:
YUVFormat = 0, // Use color space.
};
Bool needFormatDialog( QString filename );
Bool guessFormat( QString filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
Bool open( QString filename, UInt width, UInt height, Int input_format, UInt frame_rate );
Void close();
Bool guessFormat( QString filename, UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
Void getFormat( UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
Void readNextFrame();
Bool writeFrame( const QString& filename );