[608] | 1 | #======== Legend for comments ===================== |
---|
| 2 | # (m) specification per layer/dimension/layerset possible |
---|
| 3 | # (c) cyclic repetition of values, if not given for all layers/dimensions/layersets. (e.g. 5 layers and 1 2 3 -> 1 2 3 1 2 ) |
---|
| 4 | |
---|
| 5 | #======== File I/O ===================== |
---|
| 6 | |
---|
| 7 | InputFile_0 : newspapercc_4.yuv |
---|
| 8 | InputFile_1 : newspapercc_2.yuv |
---|
| 9 | |
---|
| 10 | BitstreamFile : stream.bit |
---|
| 11 | |
---|
| 12 | ReconFile_0 : rec_4.yuv |
---|
| 13 | ReconFile_1 : rec_2.yuv |
---|
| 14 | |
---|
[1066] | 15 | NumberOfLayers : 2 # Number of layers |
---|
[608] | 16 | |
---|
| 17 | #======== VPS ============================ |
---|
[1066] | 18 | ScalabilityMask : 2 # Scalability Mask ( Scalability Mask: 2: Multiview, 8: Auxiliary, 10: Multiview + Auxiliary ) |
---|
[608] | 19 | DimensionIdLen : 3 # Number of bits to store Ids, per scalability dimension, (m) |
---|
[1066] | 20 | ViewOrderIndex : 0 1 # ViewOrderIndex, per layer (m) |
---|
| 21 | LayerIdInNuh : 0 # Layer Id in NAL unit header, (0: no explicit signalling, otherwise per layer ) (m) |
---|
[608] | 22 | SplittingFlag : 0 # Splitting Flag |
---|
[1066] | 23 | ViewId : 1 0 # ViewId, per ViewOrderIndex (m) |
---|
[608] | 24 | |
---|
| 25 | #======== VPS/ Layer sets ================ |
---|
| 26 | VpsNumLayerSets : 2 # Number of layer sets |
---|
[872] | 27 | LayerIdsInSet_0 : 0 # Indices in VPS of layers in layer set 0 |
---|
[1066] | 28 | LayerIdsInSet_1 : 0 1 # Indices in VPS of layers in layer set 1 |
---|
[608] | 29 | |
---|
[1066] | 30 | #======== VPS / Output layer sets ================ |
---|
[872] | 31 | DefaultTargetOutputLayerIdc : 0 # Specifies output layers of layer sets, 0: output all layers, 1: output highest layer, 2: specified by LayerIdsInDefOutputLayerSet |
---|
| 32 | |
---|
| 33 | OutputLayerSetIdx : 1 # Indices of layer sets used to derive additional output layer sets |
---|
| 34 | LayerIdsInAddOutputLayerSet_0 : 1 # Indices in VPS of output layers in additional output layer set 0 |
---|
[608] | 35 | |
---|
[1066] | 36 | #======== VPS / PTLI ================ |
---|
| 37 | Profile : main main multiview-main # Profile indication in VpsProfileTierLevel, per VpsProfileTierLevel syntax structure (m) |
---|
| 38 | Level : none none none # Level indication in VpsProfileTierLevel, per VpsProfileTierLevel syntax structure (m) |
---|
| 39 | Tier : main main main # Tier indication in VpsProfileTierLevel, per VpsProfileTierLevel syntax structure (m) |
---|
| 40 | InblFlag : 0 0 0 # Inbl indication in VpsProfileTierLevel, per VpsProfileTierLevel syntax structure (m) |
---|
| 41 | |
---|
| 42 | ProfileTierLevelIdx_0 : 1 # VpsProfileTierLevel indices of layers in output layer set 0 (m) (should be -1, when layer is not necessary) |
---|
| 43 | ProfileTierLevelIdx_1 : 1 2 # VpsProfileTierLevel indices of layers in output layer set 1 (m) (should be -1, when layer is not necessary) |
---|
| 44 | ProfileTierLevelIdx_2 : 1 2 # VpsProfileTierLevel indices of layers in output layer set 2 (m) (should be -1, when layer is not necessary) |
---|
| 45 | |
---|
[608] | 46 | #======== VPS / Dependencies ================ |
---|
[872] | 47 | DirectRefLayers_1 : 0 # Indices in VPS of direct reference layers |
---|
[608] | 48 | DependencyTypes_1 : 2 # Dependency types of direct reference layers, 0: Sample 1: Motion 2: Sample+Motion |
---|
| 49 | |
---|
[1066] | 50 | |
---|
| 51 | |
---|
[608] | 52 | #======== Unit definition ================ |
---|
| 53 | MaxCUWidth : 64 # Maximum coding unit width in pixel |
---|
| 54 | MaxCUHeight : 64 # Maximum coding unit height in pixel |
---|
| 55 | MaxPartitionDepth : 4 # Maximum coding unit depth |
---|
| 56 | QuadtreeTULog2MaxSize : 5 # Log2 of maximum transform size for |
---|
| 57 | # quadtree-based TU coding (2...6) |
---|
| 58 | QuadtreeTULog2MinSize : 2 # Log2 of minimum transform size for |
---|
| 59 | # quadtree-based TU coding (2...6) |
---|
| 60 | QuadtreeTUMaxDepthInter : 3 |
---|
| 61 | QuadtreeTUMaxDepthIntra : 3 |
---|
| 62 | |
---|
| 63 | #======== Coding Structure ============= |
---|
| 64 | IntraPeriod : 24 # Period of I-Frame ( -1 = only first) |
---|
[1084] | 65 | DecodingRefreshType : 1 # Random Accesss 0:none, 1:CRA, 2:IDR, 3:Recovery Point SEI |
---|
[608] | 66 | GOPSize : 8 # GOP Size (number of B slice = GOPSize-1) |
---|
| 67 | |
---|
| 68 | # QPfactor betaOffsetDiv2 #ref_pics_active reference pictures deltaRPS reference idcs ilPredLayerIdc refLayerPicPosIl_L1 |
---|
[622] | 69 | # Type POC QPoffset tcOffsetDiv2 temporal_id #ref_pics predict #ref_idcs #ActiveRefLayerPics refLayerPicPosIl_L0 |
---|
[1066] | 70 | Frame1: B 8 1 0.442 0 0 0 4 4 -8 -10 -12 -16 0 0 |
---|
| 71 | Frame2: B 4 2 0.3536 0 0 0 2 3 -4 -6 4 1 4 5 1 1 0 0 1 0 |
---|
| 72 | Frame3: B 2 3 0.3536 0 0 0 2 4 -2 -4 2 6 1 2 4 1 1 1 1 0 |
---|
| 73 | Frame4: B 1 4 0.68 0 0 0 2 4 -1 1 3 7 1 1 5 1 0 1 1 1 0 |
---|
| 74 | Frame5: B 3 4 0.68 0 0 0 2 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 0 |
---|
| 75 | Frame6: B 6 3 0.3536 0 0 0 2 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 0 |
---|
| 76 | Frame7: B 5 4 0.68 0 0 0 2 4 -1 -5 1 3 1 1 5 1 0 1 1 1 0 |
---|
| 77 | Frame8: B 7 4 0.68 0 0 0 2 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 0 |
---|
[608] | 78 | |
---|
[622] | 79 | FrameI_l1: P 0 3 0.442 0 0 0 1 0 0 1 0 0 -1 |
---|
| 80 | Frame1_l1: B 8 4 0.442 0 0 0 4 4 -8 -10 -12 -16 0 1 0 1 -1 |
---|
| 81 | Frame2_l1: B 4 5 0.3536 0 0 0 3 3 -4 -6 4 1 4 5 1 1 0 0 1 1 0 1 -1 |
---|
| 82 | Frame3_l1: B 2 6 0.3536 0 0 0 3 4 -2 -4 2 6 1 2 4 1 1 1 1 1 0 1 -1 |
---|
| 83 | Frame4_l1: B 1 7 0.68 0 0 0 3 4 -1 1 3 7 1 1 5 1 0 1 1 1 1 0 1 -1 |
---|
| 84 | Frame5_l1: B 3 7 0.68 0 0 0 3 4 -1 -3 1 5 1 -2 5 1 1 1 1 0 1 0 2 -1 |
---|
| 85 | Frame6_l1: B 6 6 0.3536 0 0 0 3 4 -2 -4 -6 2 1 -3 5 1 1 1 1 0 1 0 2 -1 |
---|
| 86 | Frame7_l1: B 5 7 0.68 0 0 0 3 4 -1 -5 1 3 1 1 5 1 0 1 1 1 1 0 2 -1 |
---|
| 87 | Frame8_l1: B 7 7 0.68 0 0 0 3 4 -1 -3 -7 1 1 -2 5 1 1 1 1 0 1 0 2 -1 |
---|
[608] | 88 | |
---|
| 89 | #=========== Motion Search ============= |
---|
| 90 | FastSearch : 1 # 0:Full search 1:TZ search |
---|
| 91 | SearchRange : 64 # (0: Search range is a Full frame) |
---|
| 92 | BipredSearchRange : 4 # Search range for bi-prediction refinement |
---|
| 93 | HadamardME : 1 # Use of hadamard measure for fractional ME |
---|
| 94 | FEN : 1 # Fast encoder decision |
---|
| 95 | FDM : 1 # Fast Decision for Merge RD cost |
---|
[1179] | 96 | DispSearchRangeRestriction : 0 # Limit Search range for vertical component of disparity vector |
---|
| 97 | VerticalDispSearchRange : 56 # Vertical Search range in pixel |
---|
[608] | 98 | |
---|
| 99 | #======== Quantization ============= |
---|
| 100 | |
---|
| 101 | MaxDeltaQP : 0 # CU-based multi-QP optimization |
---|
| 102 | MaxCuDQPDepth : 0 # Max depth of a minimum CuDQP for sub-LCU-level delta QP |
---|
| 103 | DeltaQpRD : 0 # Slice-based multi-QP optimization |
---|
| 104 | RDOQ : 1 # RDOQ |
---|
| 105 | RDOQTS : 1 # RDOQ for transform skip |
---|
| 106 | |
---|
| 107 | #=========== Deblock Filter ============ |
---|
[1200] | 108 | |
---|
| 109 | LoopFilterOffsetInPPS : 1 # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param) |
---|
[608] | 110 | LoopFilterDisable : 0 # Disable deblocking filter (0=Filter, 1=No Filter) (mc) |
---|
| 111 | LoopFilterBetaOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
| 112 | LoopFilterTcOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
[1200] | 113 | DeblockingFilterMetric : 0 # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (LoopFilterOffsetInPPS and LoopFilterDisable must be 0) |
---|
[608] | 114 | |
---|
| 115 | |
---|
| 116 | #=========== Misc. ============ |
---|
| 117 | InternalBitDepth : 8 # codec operating bit-depth |
---|
| 118 | |
---|
| 119 | #=========== Coding Tools ================= |
---|
| 120 | SAO : 1 # Sample adaptive offset (0: OFF, 1: ON) (mc) |
---|
| 121 | AMP : 1 # Asymmetric motion partitions (0: OFF, 1: ON) |
---|
| 122 | TransformSkip : 1 # Transform skipping (0: OFF, 1: ON) |
---|
| 123 | TransformSkipFast : 1 # Fast Transform skipping (0: OFF, 1: ON) |
---|
| 124 | SAOLcuBoundary : 0 # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON) |
---|
| 125 | |
---|
| 126 | #============ Slices ================ |
---|
| 127 | SliceMode : 0 # 0: Disable all slice options. |
---|
| 128 | # 1: Enforce maximum number of LCU in an slice, |
---|
| 129 | # 2: Enforce maximum number of bytes in an 'slice' |
---|
| 130 | # 3: Enforce maximum number of tiles in a slice |
---|
| 131 | SliceArgument : 1500 # Argument for 'SliceMode'. |
---|
| 132 | # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice. |
---|
| 133 | # If SliceMode==2 it represents max. bytes per slice. |
---|
| 134 | # If SliceMode==3 it represents max. tiles per slice. |
---|
| 135 | |
---|
| 136 | LFCrossSliceBoundaryFlag : 1 # In-loop filtering, including ALF and DB, is across or not across slice boundary. |
---|
| 137 | # 0:not across, 1: across |
---|
| 138 | |
---|
| 139 | #============ PCM ================ |
---|
| 140 | PCMEnabledFlag : 0 # 0: No PCM mode |
---|
| 141 | PCMLog2MaxSize : 5 # Log2 of maximum PCM block size. |
---|
| 142 | PCMLog2MinSize : 3 # Log2 of minimum PCM block size. |
---|
| 143 | PCMInputBitDepthFlag : 1 # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth. |
---|
| 144 | PCMFilterDisableFlag : 0 # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples. |
---|
| 145 | |
---|
| 146 | #============ Tiles ================ |
---|
[1084] | 147 | TileUniformSpacing : 0 # 0: the column boundaries are indicated by TileColumnWidth array, the row boundaries are indicated by TileRowHeight array |
---|
[608] | 148 | # 1: the column and row boundaries are distributed uniformly |
---|
[1084] | 149 | NumTileColumnsMinus1 : 0 # Number of tile columns in a picture minus 1 |
---|
| 150 | TileColumnWidthArray : 2 3 # Array containing tile column width values in units of CTU (from left to right in picture) |
---|
| 151 | NumTileRowsMinus1 : 0 # Number of tile rows in a picture minus 1 |
---|
| 152 | TileRowHeightArray : 2 # Array containing tile row height values in units of CTU (from top to bottom in picture) |
---|
[608] | 153 | |
---|
| 154 | LFCrossTileBoundaryFlag : 1 # In-loop filtering is across or not across tile boundary. |
---|
| 155 | # 0:not across, 1: across |
---|
| 156 | |
---|
| 157 | #============ WaveFront ================ |
---|
| 158 | WaveFrontSynchro : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). |
---|
| 159 | # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. |
---|
| 160 | |
---|
| 161 | #=========== Quantization Matrix ================= |
---|
| 162 | ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read |
---|
| 163 | ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. |
---|
| 164 | |
---|
| 165 | #============ Lossless ================ |
---|
| 166 | TransquantBypassEnableFlag: 0 # Value of PPS flag. |
---|
[872] | 167 | CUTransquantBypassFlagForce: 0 # Constant lossless-value signaling per CU, if TransquantBypassEnableFlag is 1. |
---|
[608] | 168 | |
---|
| 169 | #============ Rate Control ====================== |
---|
| 170 | RateControl : 0 # Rate control: enable rate control |
---|
| 171 | TargetBitrate : 1000000 # Rate control: target bitrate, in bps |
---|
| 172 | KeepHierarchicalBit : 1 # Rate control: keep hierarchical bit allocation in rate control algorithm |
---|
| 173 | LCULevelRateControl : 1 # Rate control: 1: LCU level RC; 0: picture level RC |
---|
| 174 | RCLCUSeparateModel : 1 # Rate control: use LCU level separate R-lambda model |
---|
| 175 | InitialQP : 0 # Rate control: initial QP |
---|
| 176 | RCForceIntraQP : 0 # Rate control: force intra QP to be equal to initial QP |
---|
| 177 | |
---|
| 178 | ### DO NOT ADD ANYTHING BELOW THIS LINE ### |
---|
| 179 | ### DO NOT DELETE THE EMPTY LINE BELOW ### |
---|