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