[125] | 1 | #======== File I/O ===================== |
---|
| 2 | BitstreamFile : str.bin |
---|
| 3 | #ReconFile : rec.yuv |
---|
| 4 | |
---|
[310] | 5 | #======== Profile/Level ================ |
---|
| 6 | Profile : main |
---|
| 7 | |
---|
[125] | 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:CDR, 2:IDR |
---|
| 22 | GOPSize : 4 # GOP Size (number of B slice = GOPSize-1) |
---|
[595] | 23 | # Type POC QPoffset QPfactor tcOffsetDiv2 betaOffsetDiv2 temporal_id #ref_pics_active #ref_pics reference pictures predict deltaRPS #ref_idcs reference idcs |
---|
| 24 | Frame1: B 1 3 0.4624 0 0 0 4 4 -1 -5 -9 -13 0 |
---|
| 25 | Frame2: B 2 2 0.4624 0 0 0 4 4 -1 -2 -6 -10 1 -1 5 1 1 1 0 1 |
---|
| 26 | Frame3: B 3 3 0.4624 0 0 0 4 4 -1 -3 -7 -11 1 -1 5 0 1 1 1 1 |
---|
| 27 | Frame4: B 4 1 0.578 0 0 0 4 4 -1 -4 -8 -12 1 -1 5 0 1 1 1 1 |
---|
[125] | 28 | |
---|
| 29 | #=========== Motion Search ============= |
---|
| 30 | FastSearch : 1 # 0:Full search 1:TZ search |
---|
| 31 | SearchRange : 64 # (0: Search range is a Full frame) |
---|
| 32 | BipredSearchRange : 4 # Search range for bi-prediction refinement |
---|
| 33 | HadamardME : 1 # Use of hadamard measure for fractional ME |
---|
| 34 | FEN : 1 # Fast encoder decision |
---|
| 35 | FDM : 1 # Fast Decision for Merge RD cost |
---|
| 36 | |
---|
| 37 | #======== Quantization ============= |
---|
| 38 | #QP : 32 # Quantization parameter(0-51) |
---|
| 39 | MaxDeltaQP : 0 # CU-based multi-QP optimization |
---|
| 40 | MaxCuDQPDepth : 0 # Max depth of a minimum CuDQP for sub-LCU-level delta QP |
---|
| 41 | DeltaQpRD : 0 # Slice-based multi-QP optimization |
---|
| 42 | RDOQ : 1 # RDOQ |
---|
| 43 | RDOQTS : 1 # RDOQ for transform skip |
---|
| 44 | |
---|
| 45 | #=========== Deblock Filter ============ |
---|
| 46 | DeblockingFilterControlPresent: 0 # Dbl control params present (0=not present, 1=present) |
---|
| 47 | LoopFilterOffsetInPPS : 0 # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1=constant params in PPS, param = base_param) |
---|
| 48 | LoopFilterDisable : 0 # Disable deblocking filter (0=Filter, 1=No Filter) |
---|
[190] | 49 | LoopFilterBetaOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
| 50 | LoopFilterTcOffset_div2 : 0 # base_param: -6 ~ 6 |
---|
| 51 | DeblockingFilterMetric : 0 # blockiness metric (automatically configures deblocking parameters in bitstream) |
---|
[125] | 52 | |
---|
| 53 | #=========== Misc. ============ |
---|
[494] | 54 | #InternalBitDepth : 8 # codec operating bit-depth |
---|
[125] | 55 | |
---|
| 56 | #=========== Coding Tools ================= |
---|
| 57 | SAO : 1 # Sample adaptive offset (0: OFF, 1: ON) |
---|
| 58 | AMP : 1 # Asymmetric motion partitions (0: OFF, 1: ON) |
---|
| 59 | TransformSkip : 1 # Transform skipping (0: OFF, 1: ON) |
---|
| 60 | TransformSkipFast : 1 # Fast Transform skipping (0: OFF, 1: ON) |
---|
| 61 | SAOLcuBoundary : 0 # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON) |
---|
| 62 | |
---|
| 63 | #============ Slices ================ |
---|
| 64 | SliceMode : 0 # 0: Disable all slice options. |
---|
| 65 | # 1: Enforce maximum number of LCU in an slice, |
---|
| 66 | # 2: Enforce maximum number of bytes in an 'slice' |
---|
| 67 | # 3: Enforce maximum number of tiles in a slice |
---|
| 68 | SliceArgument : 1500 # Argument for 'SliceMode'. |
---|
| 69 | # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice. |
---|
| 70 | # If SliceMode==2 it represents max. bytes per slice. |
---|
| 71 | # If SliceMode==3 it represents max. tiles per slice. |
---|
| 72 | |
---|
| 73 | LFCrossSliceBoundaryFlag : 1 # In-loop filtering, including ALF and DB, is across or not across slice boundary. |
---|
| 74 | # 0:not across, 1: across |
---|
| 75 | |
---|
| 76 | #============ PCM ================ |
---|
| 77 | PCMEnabledFlag : 0 # 0: No PCM mode |
---|
| 78 | PCMLog2MaxSize : 5 # Log2 of maximum PCM block size. |
---|
| 79 | PCMLog2MinSize : 3 # Log2 of minimum PCM block size. |
---|
| 80 | PCMInputBitDepthFlag : 1 # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth. |
---|
| 81 | PCMFilterDisableFlag : 0 # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples. |
---|
| 82 | |
---|
| 83 | #============ Tiles ================ |
---|
| 84 | UniformSpacingIdc : 0 # 0: the column boundaries are indicated by ColumnWidth array, the row boundaries are indicated by RowHeight array |
---|
| 85 | # 1: the column and row boundaries are distributed uniformly |
---|
| 86 | NumTileColumnsMinus1 : 0 # Number of columns in a picture minus 1 |
---|
| 87 | ColumnWidthArray : 2 3 # Array containing ColumnWidth values in units of LCU (from left to right in picture) |
---|
| 88 | NumTileRowsMinus1 : 0 # Number of rows in a picture minus 1 |
---|
| 89 | RowHeightArray : 2 # Array containing RowHeight values in units of LCU (from top to bottom in picture) |
---|
| 90 | |
---|
| 91 | LFCrossTileBoundaryFlag : 1 # In-loop filtering is across or not across tile boundary. |
---|
| 92 | # 0:not across, 1: across |
---|
| 93 | |
---|
| 94 | #============ WaveFront ================ |
---|
[906] | 95 | #WaveFrontSynchro : 0 # 0: No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case). |
---|
[125] | 96 | # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs. |
---|
| 97 | |
---|
| 98 | #=========== Quantization Matrix ================= |
---|
| 99 | ScalingList : 0 # ScalingList 0 : off, 1 : default, 2 : file read |
---|
| 100 | ScalingListFile : scaling_list.txt # Scaling List file name. If file is not exist, use Default Matrix. |
---|
| 101 | |
---|
| 102 | #============ Lossless ================ |
---|
| 103 | TransquantBypassEnableFlag: 0 # Value of PPS flag. |
---|
[595] | 104 | CUTransquantBypassFlagForce: 0 # Constant lossless-value signaling per CU, if TransquantBypassEnableFlag is 1. |
---|
[125] | 105 | |
---|
[595] | 106 | #============ Rate Control ====================== |
---|
| 107 | #RateControl : 0 # Rate control: enable rate control |
---|
| 108 | #TargetBitrate : 1000000 # Rate control: target bitrate, in bps |
---|
| 109 | #KeepHierarchicalBit : 2 # Rate control: 0: equal bit allocation; 1: fixed ratio bit allocation; 2: adaptive ratio bit allocation |
---|
| 110 | #LCULevelRateControl : 1 # Rate control: 1: LCU level RC; 0: picture level RC |
---|
| 111 | #RCLCUSeparateModel : 1 # Rate control: use LCU level separate R-lambda model |
---|
| 112 | #InitialQP : 0 # Rate control: initial QP |
---|
| 113 | #RCForceIntraQP : 0 # Rate control: force intra QP to be equal to initial QP |
---|
[190] | 114 | |
---|
[125] | 115 | ### DO NOT ADD ANYTHING BELOW THIS LINE ### |
---|
| 116 | ### DO NOT DELETE THE EMPTY LINE BELOW ### |
---|