Ticket #258: encoder_2.cfg

File encoder_2.cfg, 8.9 KB (added by csghone, 12 years ago)
Line 
1#======== File I/O =====================
2InputFile                     : D:\Work\x264-DDI\input_352x288.yuv
3SourceWidth                   : 352
4SourceHeight                  : 288
5FramesToBeEncoded             : 53
6FrameRate                     : 30
7BitstreamFile                 : str.bin
8ReconFile                     : rec.yuv
9IntraPeriod                   : 30          # Period of I-Frame ( -1 = only first)
10DecodingRefreshType           : 2           # Random Accesss 0:none, 1:CDR, 2:IDR
11QP                            : 34          # Quantization parameter(0-51)
12LFCrossSliceBoundaryFlag      : 1           # In-loop filtering, including ALF and DB, is across or not across slice boundary.
13                                            # 0:not across, 1: across
14
15#======== Unit definition ================
16MaxCUWidth                    : 64          # Maximum coding unit width in pixel
17MaxCUHeight                   : 64          # Maximum coding unit height in pixel
18MaxPartitionDepth             : 4           # Maximum coding unit depth
19QuadtreeTULog2MaxSize         : 5           # Log2 of maximum transform size for
20                                            # quadtree-based TU coding (2...6)
21QuadtreeTULog2MinSize         : 2           # Log2 of minimum transform size for
22                                            # quadtree-based TU coding (2...6)
23QuadtreeTUMaxDepthInter       : 3
24QuadtreeTUMaxDepthIntra       : 3
25
26#======== Coding Structure =============
27GOPSize                       : 4           # GOP Size (number of B slice = GOPSize-1)
28#        Type POC QPoffset QPfactor temporal_id ref_buf_size ref_pic #ref_pics reference pictures predict deltaRIdx-1 deltaRPS #ref_idcs reference idcs
29Frame1:  P    1   3        0.4624    0           4            1       4         -1 -5 -9 -13      0
30Frame2:  P    2   2        0.4624    0           4            1       4         -1 -2 -6 -10      1       0           -1       5         1 1 1 0 1
31Frame3:  P    3   3        0.4624    0           4            1       4         -1 -3 -7 -11      1       0           -1       5         0 1 1 1 1           
32Frame4:  P    4   1        0.578     0           4            1       4         -1 -4 -8 -12      1       0           -1       5         0 1 1 1 1
33ListCombination               : 1           # Use combined list for uni-prediction in B-slices
34DisableInter4x4               : 1           # Disable Inter4x4 (1: Disable Inter4x4, 0: Enable Inter4x4)
35
36#=========== Motion Search =============
37FastSearch                    : 1           # 0:Full search  1:EPZS
38SearchRange                   : 32          # (0: Search range is a Full frame)
39BipredSearchRange             : 4           # Search range for bi-prediction refinement
40HadamardME                    : 1           # Use of hadamard measure for fractional ME
41FEN                           : 1           # Fast encoder decision
42
43#======== Quantization =============
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                          : 0           # RDOQ
48
49#=========== Entropy Coding ============
50#=========== Deblock Filter ============
51LoopFilterDisable             : 0           # Disable loop filter in slice header (0=Filter, 1=No Filter)
52LoopFilterAlphaC0Offset       : 0           # Range: -26 ~ 26
53LoopFilterBetaOffset          : 0           # Range: -26 ~ 26
54
55#=========== Misc. ============
56InternalBitDepth              : 8           # internal bit-depth = BitDepth + BitIncrement
57
58#=========== Coding Tools =================
59MRG                           : 1           # Merge mode                      (0: OFF, 1: ON)
60SAO                           : 0           # Sample adaptive offset  (0: OFF, 1: ON)
61ALF                           : 0           # Adaptive loop filter  (0: OFF, 1: ON)
62ALFEncodePassReduction        : 0           # Reduce ALF encoding passes (0:Original 16-pass, 1: 1-pass, 2: 2-pass encoding)
63LMChroma                      : 0           # Chroma from luma intra prediction mode (0: OFF, 1: ON)
64NSQT                          : 0           # Non-square transforms (0: OFF, 1: ON)
65AMP                           : 0           # Asymmetric motion partitions (0: OFF, 1: ON)
66ALFMaxNumFilter               : 16          # ALF Max Number Filters per picture
67
68#============ Slices ================
69SliceGranularity         : 0                # Slice granularity relative the LCU size
70SliceMode                : 1                # 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'
73SliceArgument            : 6                # Argument for 'SliceMode'.
74                                            # If SliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
75                                            # If SliceMode==2 it represents max. bytes per slice.
76
77
78EntropySliceMode         : 0                # 0: Disable all entropy slice options.
79                                            # 1: Enforce maximum number of LCU in an entropy slice,
80                                            # 2: Enforce maximum number of bins/bits in an 'entropy slice'
81EntropySliceArgument     : 180000           # Argument for 'EntropySliceMode'.
82                                            # If EntropySliceMode==1 it represents max. SliceGranularity-sized blocks per slice.
83                                            # If EntropySliceMode==2 it represents max. bins per entropy slice.
84#============ PCM ================
85PCMLog2MinSize                      : 7                # Log2 of minimum PCM block size.
86PCMInputBitDepthFlag                : 1                # 0: PCM bit-depth is internal bit-depth. 1: PCM bit-depth is input bit-depth.
87PCMFilterDisableFlag                : 0                # 0: Enable loop filtering on I_PCM samples. 1: Disable loop filtering on I_PCM samples.
88
89#============ Tiles ================
90TileInfoPresentFlag                 : 1                # 0: tiles parameters are NOT present in the PPS
91                                                       # 1: tiles parameters are present in the PPS
92UniformSpacingIdc                   : 0                # 0: the column boundaries are indicated by ColumnWidth array, the row boundaries are indicated by RowHeight array
93                                                       # 1: the column and row boundaries are distributed uniformly
94TileBoundaryIndependenceIdc         : 1                # 0: the column and row boundaries do NOT break prediction mechanisms
95                                                       # 1: the column and row boundaries break prediction mechanisms
96NumTileColumnsMinus1                : 0                # Number of columns in a picture minus 1
97ColumnWidthArray                    : 2 3              # Array containing ColumnWidth values in units of LCU (from left to right in picture)   
98NumTileRowsMinus1                   : 0                # Number of rows in a picture minus 1
99RowHeightArray                      : 2                # Array containing RowHeight values in units of LCU (from top to bottom in picture)
100
101TileLocationInSliceHeaderFlag       : 0                # If TileBoundaryIndependenceIdc==0 flag is ignored.
102                                                       # 1: Enable writing tile location information to slice header.
103                                                       # 0: Disable writing tile location information to slice header.
104TileMarkerFlag                    : 1                  # If TileBoundaryIndependenceIdc==0 flag is ignored.
105                                                       # 1: Enable writing tile markers.
106                                                       # 0: Disable writing tile markers.
107MaxTileMarkerEntryPoints          : 4                  # Maximum number of uniformly-spaced tile entry points (using tile markers).
108                                                       # Default=4. If number of tiles < MaxTileMarkerEntryPoints then all tiles have entry points.
109
110#============ WaveFront ================
111WaveFrontSynchro                    : 0                # 0:  No WaveFront synchronisation (WaveFrontSubstreams must be 1 in this case).
112                                                       # >0: WaveFront synchronises with the LCU above and to the right by this many LCUs.
113WaveFrontFlush                      : 0                # 0: No CABAC resets are performed.
114                                                       # 1: A CABAC reset is performed at the end of each LCU line.
115WaveFrontSubstreams                 : 1                # >0: This many substreams per slice (or per tile if TileBoundaryIndependenceIdc=1) will be produced.
116
117
118### DO NOT ADD ANYTHING BELOW THIS LINE ###
119### DO NOT DELETE THE EMPTY LINE BELOW ###