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