Ticket #387: encoder_intra_main.cfg

File encoder_intra_main.cfg, 10.2 KB (added by shilin.xu, 12 years ago)

The config files used to reproduce the bug

Line 
1#======== File I/O ===============
2InputFile                     : f:/stream/BasketballPass_416x240_50.yuv
3InputBitDepth                 : 8           # Input bitdepth
4FrameRate                     : 50          # Frame Rate per second
5FrameSkip                     : 0           # Number of frames to be skipped in input
6SourceWidth                   : 416         # Input  frame width
7SourceHeight                  : 240         # Input  frame height
8FrameToBeEncoded              : 2         # Number of frames to be coded
9
10#======== File I/O =====================
11BitstreamFile                 : str.bin
12ReconFile                     : rec.yuv
13
14#======== Unit definition ================
15MaxCUWidth                    : 64          # Maximum coding unit width in pixel
16MaxCUHeight                   : 64          # Maximum coding unit height in pixel
17MaxPartitionDepth             : 4           # Maximum coding unit depth
18QuadtreeTULog2MaxSize         : 5           # Log2 of maximum transform size for
19                                            # quadtree-based TU coding (2...6)
20QuadtreeTULog2MinSize         : 2           # Log2 of minimum transform size for
21                                            # quadtree-based TU coding (2...6)
22QuadtreeTUMaxDepthInter       : 3
23QuadtreeTUMaxDepthIntra       : 3
24
25#======== Coding Structure =============
26IntraPeriod                   : 1           # Period of I-Frame ( -1 = only first)
27DecodingRefreshType           : 0           # Random Accesss 0:none, 1:CDR, 2:IDR
28GOPSize                       : 1           # GOP Size (number of B slice = GOPSize-1)
29#        Type POC QPoffset QPfactor temporal_id ref_buf_size ref_pic #ref_pics reference pictures
30Frame1:  B    1   0        1        0           4            1       0             
31
32#=========== Motion Search =============
33FastSearch                    : 1           # 0:Full search  1:EPZS
34SearchRange                   : 64          # (0: Search range is a Full frame)
35HadamardME                    : 1           # Use of hadamard measure for fractional ME
36FEN                           : 1           # Fast encoder decision
37FDM                           : 1           # Fast Decision for Merge RD cost
38
39#======== Quantization =============
40QP                            : 32          # Quantization parameter(0-51)
41MaxDeltaQP                    : 0           # CU-based multi-QP optimization
42MaxCuDQPDepth                 : 0           # Max depth of a minimum CuDQP for sub-LCU-level delta QP
43DeltaQpRD                     : 0           # Slice-based multi-QP optimization
44RDOQ                          : 1           # RDOQ
45ChromaQpOffset                : 0           # ChromaQPOffset
46ChromaQpOffset2nd             : 0           # ChromaQPOffset2nd
47
48#=========== Entropy Coding ============
49
50#=========== Deblock Filter ============
51DeblockingFilterControlPresent: 0           # Dbl control params present (0=not present, 1=present)
52LoopFilterOffsetInAPS         : 0           # Dbl params in APS or SliceHeader (0=SliceHeader, 1=APS)
53LoopFilterDisable             : 0           # Disable deblocking filter in slice header (0=Filter, 1=No Filter)
54LoopFilterBetaOffset_div2     : 0           # Range: -13 ~ 13
55LoopFilterTcOffset_div2       : 0           # Range: -13 ~ 13
56
57#=========== Misc. ============
58InternalBitDepth              : 8           # internal bit-depth = BitDepth + BitIncrement
59
60#=========== Coding Tools =================
61MRG                           : 1           # Merge mode                      (0: OFF, 1: ON)
62SAO                           : 1           # Sample adaptive offset  (0: OFF, 1: ON)
63ALF                           : 0           # Adaptive loop filter  (0: OFF, 1: ON)
64ALFEncodePassReduction        : 0           # Reduce ALF encoding passes (0:Original 16-pass, 1: 1-pass, 2: 2-pass encoding)
65LMChroma                      : 0           # Chroma from luma intra prediction mode (0: OFF, 1: ON)
66NSQT                          : 0           # Non-square transforms (0: OFF, 1: ON)
67AMP                           : 0           # Asymmetric motion partitions (0: OFF, 1: ON)
68ALFMaxNumFilter               : 128          # ALF Max Number Filters per picture
69ALFParamInSlice               : 1           # ALF params in SliceHeader or APS (0=APS, 1=SliceHeader)
70ALFPicBasedEncode             : 0           # ALF LCU-based or picture-based encoding (0: LCU-based, 1: Picture-based) 
71SAOInterleaving               : 1           # SAO interleaving flag (0: SAO parameter in APS, 1: SAO parameter in slice data)
72
73#============ Slices ================
74SliceGranularity         : 0                # Slice granularity relative the LCU size
75SliceMode                : 1                # 0: Disable all slice options.
76                                            # 1: Enforce maximum number of LCU in an slice,
77                                            # 2: Enforce maximum number of bytes in an 'slice'
78SliceArgument            : 5             # Argument for 'SliceMode'.
79                                            # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
80                                            # If SliceMode==2 it represents max. bytes per slice.
81
82LFCrossSliceBoundaryFlag : 1                # In-loop filtering, including ALF and DB, is across or not across slice boundary.
83                                            # 0:not across, 1: across
84
85EntropySliceMode         : 1                # 0: Disable all entropy slice options.
86                                            # 1: Enforce maximum number of LCU in an entropy slice,
87                                            # 2: Enforce maximum number of bins/bits in an 'entropy slice'
88EntropySliceArgument     : 3           # Argument for 'EntropySliceMode'.
89                                            # If EntropySliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
90                                            # If EntropySliceMode==2 it represents max. bins per entropy slice.
91#============ PCM ================
92PCMEnabledFlag                      : 0                # 0: No PCM mode
93PCMLog2MaxSize                      : 5                # Log2 of maximum PCM block size.
94PCMLog2MinSize                      : 3                # Log2 of minimum PCM block size.
95PCMInputBitDepthFlag                : 1                # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth.
96PCMFilterDisableFlag                : 0                # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples.
97
98#============ Tiles ================
99TileInfoPresentFlag                 : 1                # 0: tiles parameters are NOT present in the PPS
100                                                       # 1: tiles parameters are present in the PPS
101UniformSpacingIdc                   : 0                # 0: the column boundaries are indicated by ColumnWidth array, the row boundaries are indicated by RowHeight array
102                                                       # 1: the column and row boundaries are distributed uniformly
103TileBoundaryIndependenceIdc         : 1                # 0: the column and row boundaries do NOT break prediction mechanisms
104                                                       # 1: the column and row boundaries break prediction mechanisms
105NumTileColumnsMinus1                : 0                # Number of columns in a picture minus 1
106ColumnWidthArray                    : 2 3              # Array containing ColumnWidth values in units of LCU (from left to right in picture)   
107NumTileRowsMinus1                   : 0                # Number of rows in a picture minus 1
108RowHeightArray                      : 2                # Array containing RowHeight values in units of LCU (from top to bottom in picture)
109
110TileLocationInSliceHeaderFlag       : 0                # If TileBoundaryIndependenceIdc==0 flag is ignored.
111                                                       # 1: Enable writing tile location information to slice header.
112                                                       # 0: Disable writing tile location information to slice header.
113TileMarkerFlag                    : 1                  # If TileBoundaryIndependenceIdc==0 flag is ignored.
114                                                       # 1: Enable writing tile markers.
115                                                       # 0: Disable writing tile markers.
116MaxTileMarkerEntryPoints          : 4                  # Maximum number of uniformly-spaced tile entry points (using tile markers).
117                                                       # Default=4. If number of tiles < MaxTileMarkerEntryPoints then all tiles have entry points.
118TileControlPresentFlag            : 1                  # 0: tiles behavior control parameters are NOT present in the PPS
119                                                       # 1: tiles behavior control parameters are present in the PPS
120LFCrossTileBoundaryFlag           : 1                  # In-loop filtering is across or not across tile boundary.
121                                                       # 0:not across, 1: across
122
123#============ WaveFront ================
124WaveFrontSynchro                    : 0                # 0:  No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case).
125                                                       # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs.
126WaveFrontFlush                      : 0                # 0: No CABAC resets are performed.
127                                                       # 1: A CABAC reset is performed at the end of each LCU line.
128WaveFrontSubstreams                 : 1                # >0: This many substreams per slice (or per tile if TileBoundaryIndependenceIdc=1) will be produced.
129
130#=========== Quantization Matrix =================
131ScalingList                   : 0                      # ScalingList 0 : off, 1 : default, 2 : file read
132ScalingListFile               : scaling_list.txt       # Scaling List file name. If file is not exist, use Default Matrix.
133                                                       
134### DO NOT ADD ANYTHING BELOW THIS LINE ###
135### DO NOT DELETE THE EMPTY LINE BELOW ###