Ticket #145: config.cfg

File config.cfg, 12.2 KB (added by emora, 5 years ago)

Configuration file

Line 
1#======== File I/O ===============
2InputFile                     : \\mdl\media\broadcast\rd\JEM\Class_D_416x240\RaceHorses_416x240_30.yuv
3InputBitDepth                 : 8           # Input bitdepth
4InputChromaFormat             : 420         # Ratio of luminance to chrominance samples
5FrameRate                     : 30          # Frame Rate per second
6FrameSkip                     : 0           # Number of frames to be skipped in input
7SourceWidth                   : 416         # Input  frame width
8SourceHeight                  : 240         # Input  frame height
9FramesToBeEncoded             : 3           # Number of frames to be coded
10
11Level                         : 2
12
13#======== File I/O =====================
14BitstreamFile                 : str.bin
15ReconFile                     : rec.yuv
16
17#======== Profile ================
18Profile                       : next
19
20#======== Unit definition ================
21MaxCUWidth                    : 64          # Maximum coding unit width in pixel
22MaxCUHeight                   : 64          # Maximum coding unit height in pixel
23MaxPartitionDepth             : 4           # Maximum coding unit depth
24# obsoleted by TULog2MaxSize
25#QuadtreeTULog2MinSize         : 2           # Log2 of minimum transform size for
26#                                            # quadtree-based TU coding (2...6)
27QuadtreeTUMaxDepthInter       : 3
28QuadtreeTUMaxDepthIntra       : 3
29
30#======== Coding Structure =============
31IntraPeriod                   : 32          # Period of I-Frame ( -1 = only first)
32DecodingRefreshType           : 1           # Random Accesss 0:none, 1:CRA, 2:IDR, 3:Recovery Point SEI
33GOPSize                       : 16          # GOP Size (number of B slice = GOPSize-1)
34
35IntraQPOffset                 : -3
36LambdaFromQpEnable            : 1           # see JCTVC-X0038 for suitable parameters for IntraQPOffset, QPoffset, QPOffsetModelOff, QPOffsetModelScale when enabled
37#        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
38Frame1:  B   16   1        0.0                      0.0            0          0          1.0      0            0              0           2                3         -16 -24 -32            0
39Frame2:  B    8   1       -4.8848                   0.2061         0          0          1.0      0            0              1           2                3         -8  -16   8            1       8        4         1 1 0 1
40Frame3:  B    4   4       -5.7476                   0.2286         0          0          1.0      0            0              2           2                4         -4  -12   4  12        1       4        4         1 1 1 1
41Frame4:  B    2   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                5         -2  -10   2   6  14    1       2        5         1 1 1 1 1
42Frame5:  B    1   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1    1  3    7  15    1       1        6         1 0 1 1 1 1
43Frame6:  B    3   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -3   1   5  13    1      -2        6         1 1 1 1 1 0
44Frame7:  B    6   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                4         -2   -6   2  10        1      -3        6         0 1 1 1 1 0
45Frame8:  B    5   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -5   1   3  11    1       1        5         1 1 1 1 1
46Frame9:  B    7   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -3  -7   1   9    1      -2        6         1 1 1 1 1 0
47Frame10: B   12   4       -5.7476                   0.2286         0          0          1.0      0            0              2           2                3         -4  -12   4            1      -5        6         0 0 1 1 1 0
48Frame11: B   10   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                4         -2  -10   2   6        1       2        4         1 1 1 1
49Frame12: B    9   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -9   1   3   7    1       1        5         1 1 1 1 1
50Frame13: B   11   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -3 -11   1   5    1      -2        6         1 1 1 1 1 0
51Frame14: B   14   5       -5.90                     0.2333         0          0          1.0      0            0              3           2                4         -2   -6 -14   2        1      -3        6         0 1 1 1 1 0
52Frame15: B   13   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -5 -13   1   3    1       1        5         1 1 1 1 1
53Frame16: B   15   6       -7.1444                   0.3            0          0          1.0      0            0              4           2                5         -1   -3 -7  -15   1    1      -2        6         1 1 1 1 1 0
54
55#=========== Motion Search =============
56FastSearch                    : 1           # 0:Full search  1:TZ search
57SearchRange                   : 384         # (0: Search range is a Full frame)
58ASR                           : 1           # Adaptive motion search range
59MinSearchWindow               : 96          # Minimum motion search window size for the adaptive window ME
60BipredSearchRange             : 4           # Search range for bi-prediction refinement
61HadamardME                    : 1           # Use of hadamard measure for fractional ME
62FEN                           : 1           # Fast encoder decision
63FDM                           : 1           # Fast Decision for Merge RD cost
64
65#======== Quantization =============
66QP                            : 32          # Quantization parameter(0-51)
67MaxDeltaQP                    : 0           # CU-based multi-QP optimization
68MaxCuDQPDepth                 : 0           # Max depth of a minimum CuDQP for sub-LCU-level delta QP
69DeltaQpRD                     : 0           # Slice-based multi-QP optimization
70RDOQ                          : 1           # RDOQ
71RDOQTS                        : 1           # RDOQ for transform skip
72
73#=========== Deblock Filter ============
74LoopFilterOffsetInPPS         : 1           # Dbl params: 0=varying params in SliceHeader, param = base_param + GOP_offset_param; 1 (default) =constant params in PPS, param = base_param)
75LoopFilterDisable             : 0           # Disable deblocking filter (0=Filter, 1=No Filter)
76LoopFilterBetaOffset_div2     : 0           # base_param: -6 ~ 6
77LoopFilterTcOffset_div2       : 0           # base_param: -6 ~ 6
78DeblockingFilterMetric        : 0           # blockiness metric (automatically configures deblocking parameters in bitstream). Applies slice-level loop filter offsets (LoopFilterOffsetInPPS and LoopFilterDisable must be 0)
79
80#=========== Misc. ============
81InternalBitDepth              : 10          # codec operating bit-depth
82
83#=========== Coding Tools =================
84SAO                           : 1           # Sample adaptive offset  (0: OFF, 1: ON)
85AMP                           : 1           # Asymmetric motion partitions (0: OFF, 1: ON)
86TransformSkip                 : 1           # Transform skipping (0: OFF, 1: ON)
87TransformSkipFast             : 1           # Fast Transform skipping (0: OFF, 1: ON)
88SAOLcuBoundary                : 0           # SAOLcuBoundary using non-deblocked pixels (0: OFF, 1: ON)
89
90#============ Slices ================
91SliceMode                : 0                # 0: Disable all slice options.
92                                            # 1: Enforce maximum number of LCU in an slice,
93                                            # 2: Enforce maximum number of bytes in an 'slice'
94                                            # 3: Enforce maximum number of tiles in a slice
95SliceArgument            : 1500             # Argument for 'SliceMode'.
96                                            # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
97                                            # If SliceMode==2 it represents max. bytes per slice.
98                                            # If SliceMode==3 it represents max. tiles per slice.
99
100LFCrossSliceBoundaryFlag : 1                # In-loop filtering, including ALF and DB, is across or not across slice boundary.
101                                            # 0:not across, 1: across
102
103#============ PCM ================
104PCMEnabledFlag                      : 0                # 0: No PCM mode
105PCMLog2MaxSize                      : 5                # Log2 of maximum PCM block size.
106PCMLog2MinSize                      : 3                # Log2 of minimum PCM block size.
107PCMInputBitDepthFlag                : 1                # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth.
108PCMFilterDisableFlag                : 0                # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples.
109
110#============ Lossless ================
111TransquantBypassEnable     : 0                         # Value of PPS flag.
112CUTransquantBypassFlagForce: 0                         # Force transquant bypass mode, when transquant_bypass_enable_flag is enabled
113
114#============ Rate Control ======================
115RateControl                         : 0                # Rate control: enable rate control
116TargetBitrate                       : 1000000          # Rate control: target bitrate, in bps
117KeepHierarchicalBit                 : 2                # Rate control: 0: equal bit allocation; 1: fixed ratio bit allocation; 2: adaptive ratio bit allocation
118LCULevelRateControl                 : 1                # Rate control: 1: LCU level RC; 0: picture level RC
119RCLCUSeparateModel                  : 1                # Rate control: use LCU level separate R-lambda model
120InitialQP                           : 0                # Rate control: initial QP
121RCForceIntraQP                      : 0                # Rate control: force intra QP to be equal to initial QP
122
123#============ JEM settings ======================
124LoopFilterTcOffset_div2             : 0
125SEIDecodedPictureHash               : 0
126CbQpOffset                          : 0
127CrQpOffset                          : 0
128
129#============ NEXT ====================
130
131# General
132LargeCTU                     : 1      # Large CTU
133CTUSize                      : 128
134LCTUFast                     : 1
135QuadtreeTULog2MaxSize        : 6
136
137QTBT                         : 1      # QTBT
138DualITree                    : 1      # separate partitioning of luma and chroma channels for I-slices
139MinQTLumaISlice              : 8
140MinQTChromaISlice            : 4
141MinQTNonISlice               : 8
142MaxBTDepth                   : 3
143MaxBTDepthISliceL            : 3
144MaxBTDepthISliceC            : 3
145MTT                          : 1
146
147EMT                          : 1
148EMTFast                      : 1
149Affine                       : 1
150SubPuMvp                     : 1
151MaxNumMergeCand              : 6
152LMChroma                     : 1      # use CCLM only
153DepQuant                     : 1
154IMV                          : 2
155ALF                          : 1
156GBi                          : 1 
157GBiFast                      : 1
158#BIO                          : 1
159MHIntra                      : 1
160Triangle                     : 1
161CPR                          : 0      # turned off in CTC
162
163# Fast tools
164PBIntraFast                  : 1
165FastMrg                      : 1
166AMaxBT                       : 1
167
168### DO NOT ADD ANYTHING BELOW THIS LINE ###
169### DO NOT DELETE THE EMPTY LINE BELOW ###
170