Ticket #1090: encoder_cfg.cfg

File encoder_cfg.cfg, 8.5 KB (added by jfmcarreira, 11 years ago)

encoder config

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