Add a variable to control the number of bits per pixel

This commit is contained in:
jfmcarreira committed 2015-04-02 17:34:43 +01:00
1 parent 32c224a49d
commit d8952ce953
11 files changed
+84 -52

No files matched your search

+4 -3
View File
@@ -82,6 +82,7 @@ private:
Int m_iFileFormat;
Int m_iPixelFormat;
UInt m_uiBitsPerPixel;
Pel* m_pStreamBuffer;
@@ -121,14 +122,14 @@ public:
END_OF_SEQ,
};
Bool open( std::string filename, std::string resolution, std::string input_format, UInt frame_rate, Bool bInput = true );
Bool open( std::string filename, UInt width, UInt height, Int input_format, UInt frame_rate, Bool bInput = true );
Bool open( std::string filename, std::string resolution, std::string input_format, UInt bitsPel, UInt frame_rate, Bool bInput = true );
Bool open( std::string filename, UInt width, UInt height, Int input_format, UInt bitsPel, UInt frame_rate, Bool bInput = true );
Void close();
Bool openFile();
Void closeFile();
Void getFormat( UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rFrameRate );
Void getFormat( UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBitsPerPel, UInt& rFrameRate );
Void loadAll();