Ticket #580: encoder_lowdelay_main.cfg

File encoder_lowdelay_main.cfg, 9.7 KB (added by spring, 12 years ago)

configuration file for lowdelay coding

Line 
1InputFile                     : D:\images\BQSquare_416x240_60.yuv #E:\images\screen\SlideEditing_1280x720_30.yuv #  D:\images\Word_qcif.yuv #D:\images\yuv\Hybrid_Good.yuv #All_kinds_qcif.yuv #BQSquare_416x240_60.yuv #All_kinds_qcif.yuv #
2InputBitDepth                 : 8           # Input bitdepth
3FrameRate                     : 60          # Frame Rate per second
4FrameSkip                     : 0           # Number of frames to be skipped in input
5SourceWidth                   : 416 #1280#1280         # Input  frame width
6SourceHeight                  : 240 #720#1024         # Input  frame height
7FramesToBeEncoded              : 4        # Number of frames to be coded
8#======== File I/O =====================
9BitstreamFile                 : test.bin
10ReconFile                     : test_rec.yuv
11
12#======== Unit definition ================
13MaxCUWidth                    : 64          # Maximum coding unit width in pixel
14MaxCUHeight                   : 64          # Maximum coding unit height in pixel
15MaxPartitionDepth             : 4           # Maximum coding unit depth
16QuadtreeTULog2MaxSize         : 5           # Log2 of maximum transform size for
17                                            # quadtree-based TU coding (2...6)
18QuadtreeTULog2MinSize         : 2           # Log2 of minimum transform size for
19                                            # quadtree-based TU coding (2...6)
20QuadtreeTUMaxDepthInter       : 3
21QuadtreeTUMaxDepthIntra       : 3
22
23#======== Coding Structure =============
24IntraPeriod                   : -1          # Period of I-Frame ( -1 = only first)
25DecodingRefreshType           : 0           # Random Accesss 0:none, 1:CDR, 2:IDR
26GOPSize                       : 4           # GOP Size (number of B slice = GOPSize-1)
27#        Type POC QPoffset QPfactor temporal_id #ref_pics_active ref_pic #ref_pics reference pictures predict deltaRIdx-1 deltaRPS #ref_idcs reference idcs
28Frame1:  B    1   3        0.4624   0           4                1       4         -1 -5 -9 -13       0
29Frame2:  B    2   2        0.4624   0           4                1       4         -1 -2 -6 -10       1       0           -1       5         1 1 1 0 1
30Frame3:  B    3   3        0.4624   0           4                1       4         -1 -3 -7 -11       1       0           -1       5         0 1 1 1 1           
31Frame4:  B    4   1        0.578    0           4                1       4         -1 -4 -8 -12       1       0           -1       5         0 1 1 1 1
32ListCombination               : 1           # Use combined list for uni-prediction in B-slices
33
34#=========== Motion Search =============
35FastSearch                    : 1           # 0:Full search  1:EPZS
36SearchRange                   : 64          # (0: Search range is a Full frame)
37BipredSearchRange             : 4           # Search range for bi-prediction refinement
38HadamardME                    : 1           # Use of hadamard measure for fractional ME
39FEN                           : 1           # Fast encoder decision
40FDM                           : 1           # Fast Decision for Merge RD cost
41
42#======== Quantization =============
43QP                            : 12           # Quantization parameter(0-51)
44MaxDeltaQP                    : 0           # CU-based multi-QP optimization
45MaxCuDQPDepth                 : 0           # Max depth of a minimum CuDQP for sub-LCU-level delta QP
46DeltaQpRD                     : 0           # Slice-based multi-QP optimization
47RDOQ                          : 1           # RDOQ
48
49#=========== Deblock Filter ============
50DeblockingFilterControlPresent: 0           # Dbl control params present (0=not present, 1=present)
51LoopFilterOffsetInPPS         : 0           # Dbl params in PPS or SliceHeader (0=SliceHeader, 1=PPS)
52LoopFilterDisable             : 0           # Disable deblocking filter in slice header (0=Filter, 1=No Filter)
53LoopFilterBetaOffset_div2     : 0           # Range: -13 ~ 13
54LoopFilterTcOffset_div2       : 0           # Range: -13 ~ 13
55
56#=========== Misc. ============
57InternalBitDepth              : 8           # internal bit-depth = BitDepth + BitIncrement
58
59#=========== Coding Tools =================
60SAO                           : 1           # Sample adaptive offset  (0: OFF, 1: ON)
61ALF                           : 0           # Adaptive loop filter  (0: OFF, 1: ON)
62LMChroma                      : 0           # Chroma from luma intra prediction mode (0: OFF, 1: ON)
63NSQT                          : 0           # Non-square transforms (0: OFF, 1: ON)
64AMP                           : 1           # Asymmetric motion partitions (0: OFF, 1: ON)
65TS                            : 0           # Transform skipping (0: OFF, 1: ON)
66TSFast                        : 0           # Fast Transform skipping (0: OFF, 1: ON)
67
68#============ Slices ================
69SliceGranularity         : 0                # Slice granularity relative the LCU size
70SliceMode                : 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
74SliceArgument            : 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
79LFCrossSliceBoundaryFlag : 1                # In-loop filtering, including ALF and DB, is across or not across slice boundary.
80                                            # 0:not across, 1: across
81
82DependentSliceMode         : 0                # 0: Disable all dependent slice options.
83                                            # 1: Enforce maximum number of LCU in an dependent slice,
84                                            # 2: Enforce maximum number of bins/bits in an 'dependent slice'
85DependentSliceArgument     : 15000           # Argument for 'DependnetSliceMode'.
86                                            # If DependnetSliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
87                                            # If DependentSliceMode==2 it represents max. bins per dependent slice.
88CabacIndependentFlag       : 0              # 0: CABAC dependence between slices, 1:CABAC independence between slices
89
90#============ PCM ================
91PCMEnabledFlag                      : 0                # 0: No PCM mode
92PCMLog2MaxSize                      : 5                # Log2 of maximum PCM block size.
93PCMLog2MinSize                      : 3                # Log2 of minimum PCM block size.
94PCMInputBitDepthFlag                : 1                # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth.
95PCMFilterDisableFlag                : 0                # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples.
96
97#============ Tiles ================
98UniformSpacingIdc                   : 0                # 0: the column boundaries are indicated by ColumnWidth array, the row boundaries are indicated by RowHeight array
99                                                       # 1: the column and row boundaries are distributed uniformly
100NumTileColumnsMinus1                : 0                # Number of columns in a picture minus 1
101ColumnWidthArray                    : 2 3              # Array containing ColumnWidth values in units of LCU (from left to right in picture)   
102NumTileRowsMinus1                   : 0                # Number of rows in a picture minus 1
103RowHeightArray                      : 2                # Array containing RowHeight values in units of LCU (from top to bottom in picture)
104
105LFCrossTileBoundaryFlag           : 1                  # In-loop filtering is across or not across tile boundary.
106                                                       # 0:not across, 1: across
107
108#============ WaveFront ================
109WaveFrontSynchro                    : 0                # 0:  No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case).
110                                                       # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs.
111WaveFrontFlush                      : 0                # 0: No CABAC resets are performed.
112                                                       # 1: A CABAC reset is performed at the end of each LCU line.
113
114#=========== Quantization Matrix =================
115ScalingList                   : 0                      # ScalingList 0 : off, 1 : default, 2 : file read
116ScalingListFile               : scaling_list.txt       # Scaling List file name. If file is not exist, use Default Matrix.
117
118#============ Lossless ================
119LosslessCuEnabled                   : 1                # 1: Set "qpprime_y_zero_transquant_bypass_flag=1" and enable the lossless mode as well as the RD-based mode selection process.
120TransquantBypassEnableFlag: 1  # Value of PPS flag.
121CUTransquantBypassFlagValue: 1 # Constant lossless-value signaling per CU, if TransquantBypassEnableFlag is 1.
122
123#============ Rate Control ======================
124RateCtrl                            : 0                # 0: Disable rate control 1: Enable rate control
125TargetBitrate                       : 1000             # input target bitrate when RateCtrl is enable
126NumLCUInUnit                        : 1                # Number of LCU in an Unit. Fraction is not allowed
127
128### DO NOT ADD ANYTHING BELOW THIS LINE ###
129### DO NOT DELETE THE EMPTY LINE BELOW ###