home *** CD-ROM | disk | FTP | other *** search
/ Chip 2011 November / CHIP_2011_11.iso / Programy / Narzedzia / MediaCoder / MediaCoder2011-R8-5188.exe / codecs / jm / encoder.cfg < prev   
Text File  |  2010-03-06  |  26KB  |  358 lines

  1. # New Input File Format is as follows
  2. # <ParameterName> = <ParameterValue> # Comment
  3. #
  4. # See configfile.h for a list of supported ParameterNames
  5. #
  6. # For bug reporting and known issues see:
  7. # https://ipbt.hhi.de
  8.  
  9.  
  10. ##########################################################################################
  11. # Encoder Control
  12. ##########################################################################################
  13. ProfileIDC            = 66  # Profile IDC (66=baseline, 77=main, 88=extended; FREXT Profiles: 100=High, 110=High 10, 122=High 4:2:2, 244=High 4:4:4, 44=CAVLC 4:4:4 Intra)
  14. IntraProfile          = 0   # Activate Intra Profile for FRExt (0: false, 1: true)
  15.                             # (e.g. ProfileIDC=110, IntraProfile=1  =>  High 10 Intra Profile)
  16. LevelIDC              = 40  # Level IDC   (e.g. 20 = level 2.0)
  17.  
  18. IntraPeriod           = 0   # Period of I-pictures   (0=only first)
  19. IDRPeriod             = 0   # Period of IDR pictures (0=only first)
  20. AdaptiveIntraPeriod   = 1   # Adaptive intra period
  21. AdaptiveIDRPeriod     = 0   # Adaptive IDR period
  22. IntraDelay            = 0   # Intra (IDR) picture delay (i.e. coding structure of PPIPPP... )
  23. EnableIDRGOP          = 0   # Support for IDR closed GOPs (0: disabled, 1: enabled)
  24. EnableOpenGOP         = 0   # Support for open GOPs (0: disabled, 1: enabled)
  25. QPISlice              = 28  # Quant. param for I Slices (0-51)
  26. QPPSlice              = 28  # Quant. param for P Slices (0-51)
  27. FrameSkip             = 0   # Number of frames to be skipped in input (e.g 2 will code every third frame). 
  28.                             # Note that this now excludes intermediate (i.e. B) coded pictures
  29. ChromaQPOffset        = 0   # Chroma QP offset (-51..51)
  30.  
  31. DisableSubpelME       = 0   # Disable Subpixel Motion Estimation (0=off/default, 1=on)
  32. SearchRange           = 16  # Max search range
  33.  
  34. MEDistortionFPel      = 0   # Select error metric for Full-Pel ME    (0: SAD, 1: SSE, 2: Hadamard SAD)
  35. MEDistortionHPel      = 2   # Select error metric for Half-Pel ME    (0: SAD, 1: SSE, 2: Hadamard SAD)
  36. MEDistortionQPel      = 2   # Select error metric for Quarter-Pel ME (0: SAD, 1: SSE, 2: Hadamard SAD)
  37. MDDistortion          = 2   # Select error metric for Mode Decision  (0: SAD, 1: SSE, 2: Hadamard SAD)
  38. SkipDeBlockNonRef     = 0   # Skip Deblocking (regardless of DFParametersFlag) for non-reference frames (0: off, 1: on)
  39. ChromaMCBuffer        = 1   # Calculate Color component interpolated values in advance and store them.
  40.                             # Provides a trade-off between memory and computational complexity
  41.                             # (0: disabled/default, 1: enabled)
  42. ChromaMEEnable        = 0   # Take into account Color component information during ME
  43.                             # (0: only first component/default, 
  44.                             #  1: All Color components - Integer refinement only
  45.                             #  2: All Color components - All refinements)
  46. ChromaMEWeight        = 1   # Weighting for chroma components. This parameter should have a relationship with color format.
  47.  
  48. NumberReferenceFrames = 5   # Number of previous frames used for inter motion search (0-16)
  49.  
  50. PList0References      = 0   # P slice List 0 reference override (0 disable, N <= NumberReferenceFrames)
  51. Log2MaxFNumMinus4     = 0   # Sets log2_max_frame_num_minus4 (-1 : based on FramesToBeEncoded/Auto, >=0 : Log2MaxFNumMinus4)
  52. Log2MaxPOCLsbMinus4   = -1  # Sets log2_max_pic_order_cnt_lsb_minus4 (-1 : Auto, >=0 : Log2MaxPOCLsbMinus4)
  53.  
  54. GenerateMultiplePPS   = 0   # Transmit multiple parameter sets. Currently parameters basically enable all WP modes (0: diabled, 1: enabled)
  55. SendAUD               = 0   # Send Access Delimiter Unit NALU (for every access unit)
  56. ResendSPS             = 2   # Resend SPS  (0: disabled, 1: all Intra pictures, 2: only for IDR, 3: for IDR and OpenGOP I)
  57. ResendPPS             = 0   # Resend PPS (with pic_parameter_set_id 0) for every coded Frame/Field pair (0: disabled, 1: enabled)
  58.  
  59. MbLineIntraUpdate     = 0   # Error robustness(extra intra macro block updates)(0=off, N: One GOB every N frames are intra coded)
  60. RandomIntraMBRefresh  = 0   # Forced intra MBs per picture
  61.  
  62. ##########################################################################################
  63. # PSlice Mode types
  64. ##########################################################################################
  65. PSliceSkip            = 1   # P-Slice Skip mode consideration  (0=disable, 1=enable)
  66. PSliceSearch16x16     = 1   # P-Slice Inter block search 16x16 (0=disable, 1=enable)
  67. PSliceSearch16x8      = 1   # P-Slice Inter block search 16x8  (0=disable, 1=enable)
  68. PSliceSearch8x16      = 1   # P-Slice Inter block search  8x16 (0=disable, 1=enable)
  69. PSliceSearch8x8       = 1   # P-Slice Inter block search  8x8  (0=disable, 1=enable)
  70. PSliceSearch8x4       = 1   # P-Slice Inter block search  8x4  (0=disable, 1=enable)
  71. PSliceSearch4x8       = 1   # P-Slice Inter block search  4x8  (0=disable, 1=enable)
  72. PSliceSearch4x4       = 1   # P-Slice Inter block search  4x4  (0=disable, 1=enable)
  73.  
  74. DisableIntra4x4        = 0  # Disable Intra 4x4 modes
  75. DisableIntra16x16      = 0  # Disable Intra 16x16 modes
  76. DisableIntraInInter    = 0  # Disable Intra modes for inter slices
  77. IntraDisableInterOnly  = 0  # Apply Disabling Intra conditions only to Inter Slices (0:disable/default,1: enable)
  78. Intra4x4ParDisable     = 0  # Disable Vertical & Horizontal 4x4
  79. Intra4x4DiagDisable    = 0  # Disable Diagonal 45degree 4x4
  80. Intra4x4DirDisable     = 0  # Disable Other Diagonal 4x4
  81. Intra16x16ParDisable   = 0  # Disable Vertical & Horizontal 16x16
  82. Intra16x16PlaneDisable = 0  # Disable Planar 16x16
  83. ChromaIntraDisable     = 0  # Disable Intra Chroma modes other than DC
  84. EnableIPCM             = 1  # Enable IPCM macroblock mode
  85.  
  86. DisposableP            = 0  # Enable Disposable P slices in the primary layer (0: disable/default, 1: enable)
  87. DispPQPOffset          = 0  # Quantizer offset for disposable P slices (0: default)
  88.  
  89. PreferDispOrder        = 1  # Prefer display order when building the prediction structure as opposed to coding order (affects intra and IDR periodic insertion, among others)
  90. PreferPowerOfTwo       = 0  # Prefer prediction structures that have lengths expressed as powers of two
  91. FrmStructBufferLength  = 16 # Length of the frame structure unit buffer; it can be overriden for certain cases
  92.  
  93. ChangeQPFrame          = 0  # Frame in display order from which to apply the Change QP offsets
  94. ChangeQPI              = 0  # Change QP offset value for I_SLICE
  95. ChangeQPP              = 0  # Change QP offset value for P_SLICE
  96. ChangeQPB              = 0  # Change QP offset value for B_SLICE
  97. ChangeQPSI             = 0  # Change QP offset value for SI_SLICE
  98. ChangeQPSP             = 0  # Change QP offset value for SP_SLICE
  99. ##########################################################################################
  100. # Output Control, NALs
  101. ##########################################################################################
  102.  
  103. OutFileMode            =  0  # Output file mode, 0:Annex B, 1:RTP
  104.  
  105. ##########################################################################################
  106. # Picture based Multi-pass encoding
  107. #########################################################################################
  108.  
  109. RDPictureDecision        =  0     # Perform multiple pass coding and make RD optimal decision among them
  110. RDPSliceBTest            =  0     # Perform Slice level RD decision between P and B slices. 
  111. RDPictureMaxPassISlice   =  1     # Max number of coding passes for I slices, valid values [1,3], default is 1 
  112. RDPictureMaxPassPSlice   =  2     # Max number of coding passes for P slices, valid values [1,6], default is 2
  113. RDPictureMaxPassBSlice   =  3     # Max number of coding passes for B slices, valid values [1,6], default is 3
  114. RDPictureFrameQPPSlice   =  0     # Perform additional frame level QP check (QP+/-1) for P slices, 0: disabled (default), 1: enabled
  115. RDPictureFrameQPBSlice   =  0     # Perform additional frame level QP check (QP+/-1) for B slices, 0: disabled, 1: enabled (default)
  116. RDPictureDeblocking      =  0     # Perform another coding pass to check non-deblocked picture, 0: disabled (default), 1: enabled
  117. RDPictureDirectMode      =  0     # Perform another coding pass to check the alternative direct mode for B slices, , 0: disabled (default), 1: enabled
  118.  
  119. ##########################################################################################
  120. # Deblocking filter parameters
  121. ##########################################################################################
  122.  
  123. DFParametersFlag         = 0      # Configure deblocking filter (0=parameters below ignored, 1=parameters sent)
  124.                                                                 # Note that for pictures with multiple slice types, 
  125.                                   # only the type of the first slice will be considered.
  126. DFDisableRefISlice       = 0      # Disable deblocking filter in reference I coded pictures (0=Filter, 1=No Filter). 
  127. DFAlphaRefISlice         = 0      # Reference I coded pictures Alpha offset div. 2, {-6, -5, ... 0, +1, .. +6}
  128. DFBetaRefISlice          = 0      # Reference I coded pictures Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}
  129. DFDisableNRefISlice      = 0      # Disable deblocking filter in non reference I coded pictures (0=Filter, 1=No Filter). 
  130. DFAlphaNRefISlice        = 0      # Non Reference I coded pictures Alpha offset div. 2, {-6, -5, ... 0, +1, .. +6}
  131. DFBetaNRefISlice         = 0      # Non Reference I coded pictures Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}
  132. DFDisableRefPSlice       = 0      # Disable deblocking filter in reference P coded pictures (0=Filter, 1=No Filter). 
  133. DFAlphaRefPSlice         = 0      # Reference P coded pictures Alpha offset div. 2, {-6, -5, ... 0, +1, .. +6}
  134. DFBetaRefPSlice          = 0      # Reference P coded pictures Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}
  135. DFDisableNRefPSlice      = 0      # Disable deblocking filter in non reference P coded pictures (0=Filter, 1=No Filter). 
  136. DFAlphaNRefPSlice        = 0      # Non Reference P coded pictures Alpha offset div. 2, {-6, -5, ... 0, +1, .. +6}
  137. DFBetaNRefPSlice         = 0      # Non Reference P coded pictures Beta offset div. 2, {-6, -5, ... 0, +1, .. +6}
  138.  
  139. ##########################################################################################
  140. # Error Resilience / Slices
  141. ##########################################################################################
  142.  
  143. SliceMode             =  0   # Slice mode (0=off 1=fixed #mb in slice 2=fixed #bytes in slice 3=use callback)
  144. SliceArgument         = 50   # Slice argument (Arguments to modes 1 and 2 above)
  145.  
  146. num_slice_groups_minus1 = 0  # Number of Slice Groups Minus 1, 0 == no FMO, 1 == two slice groups, etc.
  147. slice_group_map_type    = 0  # 0:  Interleave, 1: Dispersed,    2: Foreground with left-over,
  148.                              # 3:  Box-out,    4: Raster Scan   5: Wipe
  149.                              # 6:  Explicit, slice_group_id read from SliceGroupConfigFileName
  150. slice_group_change_direction_flag = 0    # 0: box-out clockwise, raster scan or wipe right,
  151.                                          # 1: box-out counter clockwise, reverse raster scan or wipe left
  152. slice_group_change_rate_minus1    = 85   #
  153. SliceGroupConfigFileName          = "sg0conf.cfg"   # Used for slice_group_map_type 0, 2, 6
  154.  
  155. UseRedundantPicture   = 0    # 0: not used, 1: enabled
  156. NumRedundantHierarchy = 1    # 0-4
  157. PrimaryGOPLength      = 10   # GOP length for redundant allocation (1-16)
  158.                              # NumberReferenceFrames must be no less than PrimaryGOPLength when redundant slice enabled
  159. NumRefPrimary         = 1    # Actually used number of references for primary slices (1-16)
  160.  
  161. ##########################################################################################
  162. # Search Range Restriction / RD Optimization
  163. ##########################################################################################
  164.  
  165. RestrictSearchRange    =  2  # restriction for (0: blocks and ref, 1: ref, 2: no restrictions)
  166. RDOptimization         =  0  # rd-optimized mode decision
  167.                              # 0: RD-off (Low complexity mode)
  168.                              # 1: RD-on (High complexity mode)
  169.                              # 2: RD-on (Fast high complexity mode - not work in FREX Profiles)
  170.                              # 3: with losses
  171. I16RDOpt               =  0  # perform rd-optimized mode decision for Intra 16x16 MB
  172.                              # 0: SAD-based mode decision for Intra 16x16 MB
  173.                              # 1: RD-based mode decision for Intra 16x16 MB                        
  174. SubMBCodingState       =  1  # submacroblock coding state
  175.                              # 0: lowest complexity, do not store or reset coding state during sub-MB mode decision
  176.                              # 1: medium complexity, reset to master coding state (for current mode) during sub-MB mode decision
  177.                              # 2: highest complexity, store and reset coding state during sub-MB mode decision
  178. DistortionSSIM         =  0  # Compute SSIM distortion. (0: disabled/default, 1: enabled)
  179. DistortionMS_SSIM      =  0  # Compute Multiscale SSIM distortion. (0: disabled/default, 1: enabled)
  180. SSIMOverlapSize        =  8  # Overlap size to calculate SSIM distortion (1: pixel by pixel, 8: no overlap)
  181. DistortionYUVtoRGB     =  0  # Calculate distortion in RGB domain after conversion from YCbCr (0:off, 1:on)
  182. CtxAdptLagrangeMult    =  0  # Context Adaptive Lagrange Multiplier
  183.                              # 0: disabled (default)
  184.                              # 1: enabled (works best when RDOptimization=0)
  185. FastCrIntraDecision    =  1  # Fast Chroma intra mode decision (0:off, 1:on)
  186. DisableThresholding    =  0  # Disable Thresholding of Transform Coefficients (0:off, 1:on)
  187. SkipIntraInInterSlices =  0  # Skips Intra mode checking in inter slices if certain mode decisions are satisfied (0: off, 1: on)
  188. WeightY                =  1  # Luma weight for RDO
  189. WeightCb               =  1  # Cb weight for RDO
  190. WeightCr               =  1  # Cr weight for RDO
  191.  
  192. ##########################################################################################
  193. # Explicit Lambda Usage
  194. ##########################################################################################
  195. UseExplicitLambdaParams  =  0    # Use explicit lambda scaling parameters (0:disabled, 1:enable lambda weight, 2: use explicit lambda value)
  196. UpdateLambdaChromaME     =  0    # Update lambda given Chroma ME consideration
  197. FixedLambdaISlice        =  0.1  # Fixed Lambda value for I slices
  198. FixedLambdaPSlice        =  0.1  # Fixed Lambda value for P slices
  199.  
  200. LambdaWeightISlice       =  0.65 # scaling param for I slices. This will be used as a multiplier i.e. lambda=LambdaWeightISlice * 2^((QP-12)/3)
  201. LambdaWeightPSlice       =  0.68 # scaling param for P slices. This will be used as a multiplier i.e. lambda=LambdaWeightPSlice * 2^((QP-12)/3)
  202.  
  203. LossRateA                =  5  # expected packet loss rate of the channel for the first partition, only valid if RDOptimization = 3
  204. LossRateB                =  0  # expected packet loss rate of the channel for the second partition, only valid if RDOptimization = 3
  205. LossRateC                =  0  # expected packet loss rate of the channel for the third partition, only valid if RDOptimization = 3
  206. FirstFrameCorrect         =  0  # If 1, the first frame is encoded under the assumption that it is always correctly received. 
  207. NumberOfDecoders         = 30  # Numbers of decoders used to simulate the channel, only valid if RDOptimization = 3
  208. RestrictRefFrames        =  0  # Doesnt allow reference to areas that have been intra updated in a later frame.
  209.  
  210. ##########################################################################################
  211. # Additional Stuff
  212. #########################################################################################
  213.  
  214. UseConstrainedIntraPred  =  0  # If 1, Inter pixels are not used for Intra macroblock prediction.
  215.  
  216. NumberofLeakyBuckets     =  8                      # Number of Leaky Bucket values
  217. LeakyBucketRateFile      =  "leakybucketrate.cfg"  # File from which encoder derives rate values
  218. LeakyBucketParamFile     =  "leakybucketparam.cfg" # File where encoder stores leakybucketparams
  219.  
  220. NumFramesInELayerSubSeq  = 0  # number of frames in the Enhanced Scalability Layer(0: no Enhanced Layer)
  221.  
  222. SparePictureOption        =  0   # (0: no spare picture info, 1: spare picture available)
  223. SparePictureDetectionThr  =  6   # Threshold for spare reference pictures detection
  224. SparePicturePercentageThr = 92   # Threshold for the spare macroblock percentage
  225.  
  226. PicOrderCntType           = 0    # (0: POC mode 0, 1: POC mode 1, 2: POC mode 2)
  227.  
  228. ########################################################################################
  229. #Rate control
  230. ########################################################################################
  231.  
  232. RateControlEnable       = 1     # 0 Disable, 1 Enable
  233. Bitrate                 = 45020 # Bitrate(bps)
  234. InitialQP               = 0     # Initial Quantization Parameter for the first I frame
  235.                                 # InitialQp depends on two values: Bits Per Picture,
  236.                                 # and the GOP length
  237. BasicUnit               = 0     # Number of MBs in the basic unit
  238.                                 # should be a fraction of the total number
  239.                                 # of MBs in a frame ("0" sets a BU equal to a frame)
  240. ChannelType             = 0     # type of channel( 1=time varying channel; 0=Constant channel)
  241. RCUpdateMode            = 0     # Rate Control type. Modes supported :
  242.                                 # 0 = original JM rate control,
  243.                                 # 1 = rate control that is applied to all frames regardless of the slice type,
  244.                                 # 2 = original plus intelligent QP selection for I and B slices (including Hierarchical),
  245.                                 # 3 = original + hybrid quadratic rate control for I and B slice using bit rate statistics
  246.                                 #
  247. RCISliceBitRatio        = 1.0   # target ratio of bits for I-coded pictures compared to P-coded Pictures (for RCUpdateMode=3)
  248. RCBSliceBitRatio0       = 0.5   # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 0 (for RCUpdateMode=3)
  249. RCBSliceBitRatio1       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 1 (for RCUpdateMode=3)
  250. RCBSliceBitRatio2       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 2 (for RCUpdateMode=3)
  251. RCBSliceBitRatio3       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 3 (for RCUpdateMode=3)
  252. RCBSliceBitRatio4       = 0.25  # target ratio of bits for B-coded pictures compared to P-coded Pictures - temporal level 4 (for RCUpdateMode=3)
  253. RCBoverPRatio           = 0.45  # ratio of bit rate usage of a B-coded picture over a P-coded picture for the SAME QP (for RCUpdateMode=3)
  254. RCIoverPRatio           = 3.80  # ratio of bit rate usage of an I-coded picture over a P-coded picture for the SAME QP (for RCUpdateMode=3)
  255. RCMinQPPSlice           =  8    # minimum P Slice QP value for rate control
  256. RCMaxQPPSlice           = 44    # maximum P Slice QP value for rate control
  257. RCMinQPISlice           =  8    # minimum I Slice QP value for rate control
  258. RCMaxQPISlice           = 36    # maximum I Slice QP value for rate control
  259.  
  260. ########################################################################################
  261. #Fast Mode Decision
  262. ########################################################################################
  263. EarlySkipEnable         = 0     # Early skip detection (0: Disable 1: Enable)
  264. SelectiveIntraEnable    = 0     # Selective Intra mode decision (0: Disable 1: Enable)
  265.  
  266. ReportFrameStats        = 0     # (0:Disable Frame Statistics 1: Enable)
  267. DisplayEncParams        = 0     # (0:Disable Display of Encoder Params 1: Enable)
  268. Verbose                 = 1     # level of display verboseness 
  269.                                 # 0: short, 1: normal (default), 2: detailed, 3: detailed/nvb
  270.                                 # 4: with additional MB level lambda info
  271.  
  272. ########################################################################################
  273. #Rounding Offset control
  274. ########################################################################################
  275.  
  276. OffsetMatrixPresentFlag  = 0    # Enable Explicit Offset Quantization Matrices  (0: disable 1: enable)
  277. QOffsetMatrixFile        = "q_offset.cfg" # Explicit Quantization Matrices file
  278.  
  279. AdaptiveRounding         = 1    # Enable Adaptive Rounding based on JVT-N011 (0: disable, 1: enable)
  280. AdaptRoundingFixed       = 1    # Enable Global Adaptive rounding for all qps (0: disable, 1: enable - default/old)
  281. AdaptRndPeriod           = 16   # Period in terms of MBs for updating rounding offsets. 
  282.                                 # 0 performs update at the picture level. Default is 16. 1 is as in JVT-N011.
  283. AdaptRndChroma           = 1    # Enables coefficient rounding adaptation for chroma
  284.  
  285. AdaptRndWFactorIRef      = 4    # Adaptive Rounding Weight for I/SI slices in reference pictures /4096
  286. AdaptRndWFactorPRef      = 4    # Adaptive Rounding Weight for P/SP slices in reference pictures /4096
  287. AdaptRndWFactorINRef     = 4    # Adaptive Rounding Weight for I/SI slices in non reference pictures /4096
  288. AdaptRndWFactorPNRef     = 4    # Adaptive Rounding Weight for P/SP slices in non reference pictures /4096
  289.  
  290. AdaptRndCrWFactorIRef    = 4    # Chroma Adaptive Rounding Weight for I/SI slices in reference pictures /4096
  291. AdaptRndCrWFactorPRef    = 4    # Chroma Adaptive Rounding Weight for P/SP slices in reference pictures /4096
  292. AdaptRndCrWFactorINRef   = 4    # Chroma Adaptive Rounding Weight for I/SI slices in non reference pictures /4096
  293. AdaptRndCrWFactorPNRef   = 4    # Chroma Adaptive Rounding Weight for P/SP slices in non reference pictures /4096
  294.  
  295. ########################################################################################
  296. #Fast Motion Estimation Control Parameters
  297. ########################################################################################
  298.  
  299. SearchMode               = 2    # Motion estimation mode
  300.                                 # -1 = Full Search
  301.                                 #  0 = Fast Full Search (default)
  302.                                 #  1 = UMHexagon Search
  303.                                 #  2 = Simplified UMHexagon Search
  304.                                 #  3 = Enhanced Predictive Zonal Search (EPZS)
  305.                                 
  306. UMHexDSR                 = 1    # Use Search Range Prediction. Only for UMHexagonS method
  307.                                 # (0:disable, 1:enabled/default)
  308. UMHexScale               = 3    # Use Scale_factor for different image sizes. Only for UMHexagonS method
  309.                                 # (0:disable, 3:/default)
  310.                                 # Increasing value can speed up Motion Search.
  311.  
  312. EPZSPattern              = 2    # Select EPZS primary refinement pattern.
  313.                                 # (0: small diamond, 1: square, 2: extended diamond/default,
  314.                                 # 3: large diamond, 4: SBP Large Diamond,
  315.                                 # 5: PMVFAST )
  316. EPZSDualRefinement       = 3    # Enables secondary refinement pattern.
  317.                                 # (0:disabled, 1: small diamond, 2: square,
  318.                                 # 3: extended diamond/default, 4: large diamond,
  319.                                 # 5: SBP Large Diamond, 6: PMVFAST )
  320. EPZSFixedPredictors      = 2    # Enables Window based predictors
  321.                                 # (0:disabled, 1: P only, 2: P and B/default)
  322. EPZSTemporal             = 1    # Enables temporal predictors
  323.                                 # (0: disabled, 1: enabled/default)
  324. EPZSSpatialMem           = 1    # Enables spatial memory predictors
  325.                                 # (0: disabled, 1: enabled/default)
  326. EPZSBlockType            = 1    # Enables block type Predictors
  327.                                 # (0: disabled, 1: enabled/default)
  328. EPZSMinThresScale        = 0    # Scaler for EPZS minimum threshold (0 default).
  329.                                 # Increasing value can speed up encoding.
  330. EPZSMedThresScale        = 1    # Scaler for EPZS median threshold (1 default).
  331.                                 # Increasing value can speed up encoding.
  332. EPZSMaxThresScale        = 2    # Scaler for EPZS maximum threshold (1 default).
  333.                                 # Increasing value can speed up encoding.
  334. EPZSSubPelME             = 1    # EPZS Subpel ME consideration
  335. EPZSSubPelMEBiPred       = 1    # EPZS Subpel ME consideration for BiPred partitions
  336. EPZSSubPelThresScale     = 2    # EPZS Subpel ME Threshold scaler
  337. EPZSSubPelGrid           = 1    # Perform EPZS using a subpixel grid
  338.  
  339. ########################################################################################
  340. # SEI Parameters
  341. ########################################################################################
  342.  
  343. GenerateSEIMessage        = 0                    # Generate an SEI Text Message
  344. SEIMessageText            = "H.264/AVC Encoder"  # Text SEI Message
  345.  
  346. UseMVLimits               = 0                    # Use MV Limits
  347. SetMVXLimit               = 512                  # Horizontal MV Limit (in integer units)
  348. SetMVYLimit               = 512                  # Vertical MV Limit (in integer units)
  349.  
  350. ########################################################################################
  351. # VUI Parameters
  352. ########################################################################################
  353. # the variables below do not affect encoding and decoding
  354. # (many are dummy variables but others can be useful when supported by the decoder)
  355.  
  356. EnableVUISupport                                = 0      # Enable VUI Parameters
  357.  
  358.