Modernise CalypModules factory

This commit is contained in:
jfmcarreira committed 2021-12-18 22:24:03 +00:00
1 parent 84865a039f
commit 8717338bf9
6 files changed
+60 -83

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ bool StreamHandlerPortableMap::openHandler( std::string strFilename, bool bInput
}
else
{
int colorSpace = CalypFrame::pelformatColorSpace( m_iPixelFormat );
int colorSpace = CalypFrame::pelFormatColorSpace( m_iPixelFormat );
m_iMaxValue = ( 1 << m_uiBitsPerPixel ) - 1;
if( m_uiBitsPerPixel == 1 )
{