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