Add support for portable maps from 1 to 6

This commit is contained in:
jfmcarreira committed 2016-04-02 04:04:19 +01:00
1 parent e9feb12367
commit 51834ae5a7
10 files changed
+120 -126

No files matched your search

+7 -5
View File
@@ -44,10 +44,6 @@ class StreamHandlerPortableMap: public PlaYUVerStreamHandlerIf
REGISTER_STREAM_HANDLER( StreamHandlerPortableMap )
public:
static std::vector<PlaYUVerSupportedFormat> supportedReadFormats();
static std::vector<PlaYUVerSupportedFormat> supportedWriteFormats();
StreamHandlerPortableMap() {}
~StreamHandlerPortableMap() {}
@@ -62,7 +58,13 @@ public:
Void getFormat( UInt& rWidth, UInt& rHeight, Int& rInputFormat, UInt& rBitsPerPel, Int& rEndianness, Double& rFrameRate );
private:
std::string m_cFilename;
FILE* m_pFile; /**< The input file pointer >*/
Int m_iMagicNumber;
Int m_iMaxValue;
Int m_iWidth;
Int m_iHeight;
Int m_iPixelFormat;
UInt m_uiBitsPerPixel;
};
} // NAMESPACE