Add new option in calypTools to process video with negative values

This commit is contained in:
2019-11-29 00:36:54 +00:00
parent aaa5a0fde4
commit 31f7e46e94
5 changed files with 31 additions and 15 deletions
+5 -4
View File
@@ -24,15 +24,15 @@
#include "CalypToolsCmdParser.h"
#include <cstdarg>
#include <cstring>
#include <iostream>
#include "lib/CalypFrame.h"
#include "lib/CalypModuleIf.h"
#include "lib/CalypStream.h"
#include "modules/CalypModulesFactory.h"
#include <cstdarg>
#include <cstring>
#include <iostream>
CalypToolsCmdParser::CalypToolsCmdParser()
{
m_uiLogLevel = 0;
@@ -66,6 +66,7 @@ int CalypToolsCmdParser::parseToolsArgs( int argc, char* argv[] )
( "pel_fmt,p", m_strPelFmt, "pixel format" ) /**/
( "bits_pel", m_strBitsPerPixel, "bits per pixel" ) /**/
( "endianness", m_strEndianness, "File endianness (big, little)" ) /**/
( "has_negative", m_strHasNegativeValues, "Flag for files with negatie values" ) /**/
( "frames,f", m_iFrames, "number of frames to parse" ) /**/
( "quality", m_strQualityMetric, "select a quality metric" ) /**/
( "module", m_strModule, "select a module (use internal name)" ) /**/