#======== Film grain regions characteristics SEI message =====================
SEIFGREnabled                           : 1  # enable to use FGC SEI message.
SEIFGRAnalysisEnabled                   : 0  # enable film grain analysis to estimate grain parameters.
SEIFGRCancelFlag                        : 0  # for SMPTE-RDD5: the value must be 0
SEIFGRPersistenceFlag                   : 1  # for SMPTE-RDD5: the value must be 0; When FGC SEI frequency is once per I-period (SEIFGCPerPictureSEI is 0), than SEIFGCPersistenceFlag 1
SEIFGRPerPictureSEI                     : 0  # for SMPTE-RDD5: the value must be 1 (0: FGC SEI is inserted once per I-period; 1: FGC SEI is inserted once per picture)
SEIFGRModelID                           : 0  # for SMPTE-RDD5: the value must be 0 (0: frequency filtering; 1: auto-regression; 2-3 are reserved)
SEIFGRSepColourDescPresentFlag          : 0  # for SMPTE-RDD5: the value must be 0 (if not 0, need to specify separate colour description (not implemented in current encoder cmd line))
SEIFGRBlendingModeID                    : 0  # for SMPTE-RDD5: the value must be 0 (0: additive; 1: multiplicative)
SEIFGRLog2ScaleFactor                   : 2
SEIFGRCompModelPresentComp0             : 1  # if not 0, need to specify model for comp 0; otherwise default parameters will be used.
SEIFGRCompModelPresentComp1             : 1  # if not 0, need to specify model for comp 1; otherwise default parameters will be used.
SEIFGRCompModelPresentComp2             : 1  # if not 0, need to specify model for comp 2; otherwise default parameters will be used.
SEIFGRNumIntensityIntervalMinus1Comp0   : 7  # Number of intensity intervals minus 1 for comp 0
SEIFGRNumIntensityIntervalMinus1Comp1   : 7  # Number of intensity intervals minus 1 for comp 1
SEIFGRNumIntensityIntervalMinus1Comp2   : 7  # Number of intensity intervals minus 1 for comp 2
SEIFGRNumModelValuesMinus1Comp0         : 2  # Number of model values minus 1 for comp 0
SEIFGRNumModelValuesMinus1Comp1         : 2  # Number of model values minus 1 for comp 1
SEIFGRNumModelValuesMinus1Comp2         : 2  # Number of model values minus 1 for comp 2
SEIFGRIntensityIntervalLowerBoundComp0  : 0  40 54 80 94  109 143 227            # Lower bound of intensity interval for comp 0 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRIntensityIntervalUpperBoundComp0  : 39 53 79 93 108 142 226 255           # Upper bound of intensity interval for comp 0 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRIntensityIntervalLowerBoundComp1  : 0  64 96  112 128 144 160 192            # Lower bound of intensity interval for comp 1 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRIntensityIntervalUpperBoundComp1  : 63 95 111 127 143 159 191 255           # Upper bound of intensity interval for comp 1 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRIntensityIntervalLowerBoundComp2  : 0  65 97  113 129 145 161 193            # Lower bound of intensity interval for comp 2 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRIntensityIntervalUpperBoundComp2  : 64 96 112 128 144 160 192 255           # Upper bound of intensity interval for comp 2 (for SMPTE-RDD5, non-overlapping interval)
SEIFGRCompModelValuesComp0              : 7 7 7 13 8 8 22 9 9 29 10 10 33 11 11 47 12 12 54 13 13 70 14 14        # model values for each intensity interval for comp 0 (sigma, h, v (h,v might be inferred based on number of model value))    
SEIFGRCompModelValuesComp1              : 128 8 8 96 8 8 64 8 8 64 8 8 64 8 8 64 8 8 96 8 8 128 8 8      # model values for each intensity interval for comp 1 (sigma, h, v (h,v might be inferred based on number of model value))    
SEIFGRCompModelValuesComp2              : 128 8 8 96 8 8 64 8 8 64 8 8 64 8 8 64 8 8 96 8 8 128 8 8        # model values for each intensity interval for comp 2 (sigma, h, v (h,v might be inferred based on number of model value))    
#=== Region Specific parameters ======
SEIFGRSpatialAdaptation                 : 1        # enable spatial adaptation.
SEIFGRegionBasedAdaptation              : 1        # indicate spatial adaptation based on rectangular regions.
SEIFGAlphaChannelBasedAdaptation        : 0        # indicate spatial adaptation based on alpha channel.
SEIFGRegionsNumberMinus1                : 3        # indicate the number (-1) of rectangular regions with specific parameters.


SEIFGRegionTop				: 0   	0   	144 	144
SEIFGRegionLeft				: 0   	176 	0   	176
SEIFGRegionWidth			: 176 	176 	176 	176
SEIFGRegionHeight			: 144 	144 	144 	144
SEIFGRFilmGrainEnabled			: 1   	0   	0   	1
SEIFGRegionIntervalMinComp0		: 0   	0   	0   	5
SEIFGRegionIntervalMaxComp0		: 4   	0   	0   	8
SEIFGRegionIntervalMaxComp1		: 0   	0   	0   	5
SEIFGRegionIntervalMinComp1		: 4   	0   	0   	8
SEIFGRegionIntervalMinComp2		: 0   	0   	0   	5
SEIFGRegionIntervalMaxComp2		: 4   	0   	0   	8





