1 | #======== File I/O ===================== |
---|
2 | BitstreamFile : str.bin |
---|
3 | ReconFile : rec.yuv |
---|
4 | |
---|
5 | #======== Profile ================ |
---|
6 | Profile : main |
---|
7 | |
---|
8 | #======== Unit definition ================ |
---|
9 | MaxCUWidth : 64 # Maximum coding unit width in pixel |
---|
10 | MaxCUHeight : 64 # Maximum coding unit height in pixel |
---|
11 | MaxPartitionDepth : 4 # Maximum coding unit depth |
---|
12 | QuadtreeTULog2MaxSize : 5 # Log2 of maximum transform size for |
---|
13 | # quadtree-based TU coding (2...6) |
---|
14 | QuadtreeTULog2MinSize : 2 # Log2 of minimum transform size for |
---|
15 | # quadtree-based TU coding (2...6) |
---|
16 | QuadtreeTUMaxDepthInter : 3 |
---|
17 | QuadtreeTUMaxDepthIntra : 3 |
---|
18 | |
---|
19 | #======== Coding Structure ============= |
---|
20 | IntraPeriod : -1 # Period of I-Frame ( -1 = only first) |
---|
21 | DecodingRefreshType : 0 # Random Accesss 0:none, 1:CRA, 2:IDR, 3:Recovery Point SEI |
---|
22 | GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) |
---|
23 | ReWriteParamSetsFlag : 1 # Write parameter sets with every IRAP |
---|
24 | |
---|
25 | IntraQPOffset : -1 |
---|
26 | LambdaFromQpEnable : 1 # see JCTVC-X0038 for suitable parameters for IntraQPOffset, QPoffset, QPOffsetModelOff, QPOffsetModelScale when enabled |
---|
27 | # Type POC QPoffset QPOffsetModelOff QPOffsetModelScale CbQPoffset CrQPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs |
---|
28 | Frame1: P 1 5 -6.5 0.2590 0 0 1.0 0 0 0 4 4 -1 -5 -9 -13 0 |
---|
29 | Frame2: P 2 4 -6.5 0.2590 0 0 1.0 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 |
---|
30 | Frame3: P 3 5 -6.5 0.2590 0 0 1.0 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 |
---|
31 | Frame4: P 4 1 0.0 0.0 0 0 1.0 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 |
---|
32 | |
---|
33 | #=========== Motion Search ============= |
---|
34 | FastSearch : 1 # 0:Full search 1:TZ search |
---|
35 | SearchRange : 64 # (0: Search range is a Full frame) |
---|
36 | BipredSearchRange : 4 # Search range for bi-prediction refinement |
---|
37 | HadamardME : 1 # Use of hadamard measure for fractional ME |
---|
38 | FEN : 1 # Fast encoder decision |
---|
39 | FDM : 1 # Fast Decision for Merge RD cost |
---|
40 | |
---|
41 | #======== Quantization ============= |
---|
42 | QP : 32 # Quantization parameter(0-51) |
---|
43 | MaxDeltaQP : 0 # CU-based multi-QP optimization |
---|
44 | MaxCuDQPDepth : 0 # Max depth of a minimum CuDQP for sub-LCU-level delta QP |
---|
45 | DeltaQpRD : 0 # Slice-based multi-QP optimization |
---|
46 | RDOQ : 1 # RDOQ |
---|
47 | RDOQTS : 1 # RDOQ for transform skip |
---|
48 | TransformSkip : 1 # Transform skipping (0: OFF, 1: ON) |
---|
49 | TransformSkipFast : 1 # Fast Transform skipping (0: OFF, 1: ON) |
---|
50 | SliceChromaQPOffsetPeriodicity: 0 # Used in conjunction with Slice Cb/Cr QpOffsetIntraOrPeriodic. Use 0 (default) to disable periodic nature. |
---|
51 | SliceCbQpOffsetIntraOrPeriodic: 0 # Chroma Cb QP Offset at slice level for I slice or for periodic inter slices as defined by SliceChromaQPOffsetPeriodicity. Replaces offset in the GOP table. |
---|
52 | SliceCrQpOffsetIntraOrPeriodic: 0 # Chroma Cr QP Offset at slice level for I slice or for periodic inter slices as defined by SliceChromaQPOffsetPeriodicity. Replaces offset in the GOP table. |
---|
53 | |
---|
54 | #=========== Deblock Filter ============ |
---|
55 | LoopFilterOffsetInPPS : 1 # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param) |
---|
56 | LoopFilterDisable : 0 # Disable deblocking filter (0=Filter, 1=No Filter) |
---|
57 | LoopFilterBetaOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
58 | LoopFilterTcOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
59 | DeblockingFilterMetric : 0 # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (LoopFilterOffsetInPPS and LoopFilterDisable must be 0) |
---|
60 | |
---|
61 | #=========== Misc. ============ |
---|
62 | InternalBitDepth : 8 # codec operating bit-depth |
---|
63 | |
---|
64 | #=========== Coding Tools ================= |
---|
65 | SAO : 1 # Sample adaptive offset (0: OFF, 1: ON) |
---|
66 | AMP : 1 # Asymmetric motion partitions (0: OFF, 1: ON) |
---|
67 | SAOLcuBoundary : 0 # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON) |
---|
68 | |
---|
69 | #============ Slices ================ |
---|
70 | SliceMode : 0 # 0: Disable all slice options. |
---|
71 | # 1: Enforce maximum number of LCU in an slice, |
---|
72 | # 2: Enforce maximum number of bytes in an 'slice' |
---|
73 | # 3: Enforce maximum number of tiles in a slice |
---|
74 | SliceArgument : 1500 # Argument for 'SliceMode'. |
---|
75 | # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice. |
---|
76 | # If SliceMode==2 it represents max. bytes per slice. |
---|
77 | # If SliceMode==3 it represents max. tiles per slice. |
---|
78 | |
---|
79 | LFCrossSliceBoundaryFlag : 1 # In-loop filtering, including ALF and DB, is across or not across slice boundary. |
---|
80 | # 0:not across, 1: across |
---|
81 | |
---|
82 | #============ PCM ================ |
---|
83 | PCMEnabledFlag : 0 # 0: No PCM mode |
---|
84 | PCMLog2MaxSize : 5 # Log2 of maximum PCM block size. |
---|
85 | PCMLog2MinSize : 3 # Log2 of minimum PCM block size. |
---|
86 | PCMInputBitDepthFlag : 1 # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth. |
---|
87 | PCMFilterDisableFlag : 0 # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples. |
---|
88 | |
---|
89 | #============ Tiles ================ |
---|
90 | TileUniformSpacing : 0 # 0: the column boundaries are indicated by TileColumnWidth array, the row boundaries are indicated by TileRowHeight array |
---|
91 | # 1: the column and row boundaries are distributed uniformly |
---|
92 | NumTileColumnsMinus1 : 0 # Number of tile columns in a picture minus 1 |
---|
93 | TileColumnWidthArray : 2 3 # Array containing tile column width values in units of CTU (from left to right in picture) |
---|
94 | NumTileRowsMinus1 : 0 # Number of tile rows in a picture minus 1 |
---|
95 | TileRowHeightArray : 2 # Array containing tile row height values in units of CTU (from top to bottom in picture) |
---|
96 | |
---|
97 | LFCrossTileBoundaryFlag : 1 # In-loop filtering is across or not across tile boundary. |
---|
98 | # 0:not across, 1: across |
---|
99 | |
---|
100 | #============ WaveFront ================ |
---|
101 | WaveFrontSynchro : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). |
---|
102 | # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. |
---|
103 | |
---|
104 | #=========== Quantization Matrix ================= |
---|
105 | ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read |
---|
106 | ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. |
---|
107 | |
---|
108 | #============ Lossless ================ |
---|
109 | TransquantBypassEnable : 0 # Value of PPS flag. |
---|
110 | CUTransquantBypassFlagForce: 0 # Force transquant bypass mode, when transquant_bypass_enable_flag is enabled |
---|
111 | |
---|
112 | #============ Rate Control ====================== |
---|
113 | RateControl : 0 # Rate control: enable rate control |
---|
114 | TargetBitrate : 1000000 # Rate control: target bitrate, in bps |
---|
115 | KeepHierarchicalBit : 2 # Rate control: 0: equal bit allocation; 1: fixed ratio bit allocation; 2: adaptive ratio bit allocation |
---|
116 | LCULevelRateControl : 1 # Rate control: 1: LCU level RC; 0: picture level RC |
---|
117 | RCLCUSeparateModel : 1 # Rate control: use LCU level separate R-lambda model |
---|
118 | InitialQP : 0 # Rate control: initial QP |
---|
119 | RCForceIntraQP : 0 # Rate control: force intra QP to be equal to initial QP |
---|
120 | |
---|
121 | ### DO NOT ADD ANYTHING BELOW THIS LINE ### |
---|
122 | ### DO NOT DELETE THE EMPTY LINE BELOW ### |
---|