SMultiValueInput<UInt>cfg_fviSEIFisheyeCircularRegionCentreX(0,std::numeric_limits<UInt>::max(),0,4);// CONFIRM: all the '3's have been changed to '4's since "The value of fisheye_num_active_areas_minus1 shall be in the range of 0 to 3, inclusive", so up to 4 entries.
SMultiValueInput<UInt>cfg_fviSEIFisheyeRectRegionTop(0,std::numeric_limits<UInt>::max(),0,4);// do not know the height of the picture at this point, so cannot limit region top.
("SEIRwpBottomGuardBandHeight",cfg_rwpSEIRwpBottomGuardBandHeight,cfg_rwpSEIRwpBottomGuardBandHeight,"specifies the height of the guard band below the i-th packed region.")
("SEIRwpGuardBandNotUsedForPredFlag",cfg_rwpSEIRwpGuardBandNotUsedForPredFlag,cfg_rwpSEIRwpGuardBandNotUsedForPredFlag,"Specifies if the guard bands is used in the inter prediction process.")
("SEIRwpGuardBandType",cfg_rwpSEIRwpGuardBandType,cfg_rwpSEIRwpGuardBandType,"Specifies the type of the guard bands for the i-th packed region.")
#if FVI_SEI_MESSAGE
("SEIFviEnabled",m_fisheyeVIdeoInfoSEIEnabled,false,"Controls if fisheye video information SEI message enabled")
("SEIFviCancelFlag",m_fisheyeVideoInfoSEI.m_fisheyeCancelFlag,true,"Specifies the persistence of any previous fisheye video information SEI message in output order.")
("SEIFviPersistenceFlag",m_fisheyeVideoInfoSEI.m_fisheyePersistenceFlag,false,"Specifies the persistence of the fisheye video information SEI message for the current layer.")
("SEIFviFieldOfView",cfg_fviSEIFisheyeFieldOfView,cfg_fviSEIFisheyeFieldOfView,"Specifies the field of view of the lens that corresponds to the i-th active area")
("SEIFviNumPolynomialCoeffs",cfg_fviSEIFisheyeNumPolynomialCoeffs,cfg_fviSEIFisheyeNumPolynomialCoeffs,"Specifies the number of polynomial coefficients for the circular region")
("SEIFviPolynomialCoeff",cfg_fviSEIFisheyePolynomialCoeff,cfg_fviSEIFisheyePolynomialCoeff,"Specifies the j-th polynomial coefficient value of the curve function that maps the normalized distance of a luma sample from the centre of the circular region corresponding to the i-th active area to the angular value of a sphere coordinate from the normal vector of a nominal imaging plane that passes through the centre of the sphere coordinate system for the i-th active region.")
#endif
#if RNSEI
("SEIRegionalNestingFileRoot,-rns",m_regionalNestingSEIFileRoot,string(""),"Regional nesting SEI parameters root file name (wo num ext); only the file name base is to be added. Underscore and POC would be automatically addded to . E.g. \"-rns rns\" will search for files rns_0.txt, rns_1.txt, ...")
if(cfg_fviSEIFisheyeNumActiveAreasMinus1<0||cfg_fviSEIFisheyeNumActiveAreasMinus1>3){fprintf(stderr,"Bad number of FVI active areas\n");exit(EXIT_FAILURE);}
#define MCTS_ENC_CHECK 1 ///< Temporal MCTS encoder constraint and decoder checks. Also requires SEITMCTSTileConstraint to be enabled to enforce constraint
#define FVI_SEI_MESSAGE 1 // Fisheye Video Information SEI message
#define RNSEI 1 ///< Support for signalling regional nesting SEI message