Ticket #1166: config.cfg

File config.cfg, 8.6 KB (added by bugdayci, 11 years ago)

encoder configuration file

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