Refactor ClpPixelFormats enum

This commit is contained in:
jfmcarreira committed 2021-10-27 23:17:32 +01:00
1 parent bb2a1ac228
commit 480a7f1d38
29 files changed
+87 -88

No files matched your search

+1 -1
View File
@@ -384,7 +384,7 @@ ConfigureFormatDialog::ConfigureFormatDialog( QWidget* parent )
auto findPelFormatColorSpace( ClpPixelFormats rInputFormat ) -> std::pair<int, std::int64_t>
{
if( rInputFormat != ClpPixelFormats::CLP_INVALID_FMT )
if( rInputFormat != ClpPixelFormats::Invalid )
{
auto pelFmtName = CalypFrame::pixelFormatName( rInputFormat );
for( unsigned int j = 0; j < CalypFrame::supportedColorSpacesListNames().size(); j++ )