Ticket #178: encoder.cfg

File encoder.cfg, 5.3 KB (added by ksuehring, 13 years ago)

encoder config file

Line 
1#======== File I/O =====================
2
3InputFile                  : D:/flower_cif.yuv
4InputBitDepth              : 8           # Input bitdepth
5FrameRate                  : 25          # Frame Rate per second
6FrameSkip                  : 0           # Number of frames to be skipped in input
7SourceWidth                : 352         # Input  frame width
8SourceHeight               : 288         # Input  frame height
9FrameToBeEncoded           : 5         # Number of frames to be coded
10BitstreamFile              : test.bin
11ReconFile                  : test_rec.yuv
12
13
14#======== Unit definition ================
15MaxCUWidth                 : 32          # Maximum coding unit width in pixel
16MaxCUHeight                : 32          # Maximum coding unit height in pixel
17MaxPartitionDepth          : 1           # Maximum coding unit depth
18QuadtreeTULog2MaxSize      : 5           # Log2 of maximum transform size for
19                                         # quadtree-based TU coding (2...6)
20QuadtreeTULog2MinSize      : 4           # Log2 of minimum transform size for
21                                         # quadtree-based TU coding (2...6)
22QuadtreeTUMaxDepthInter    : 1
23QuadtreeTUMaxDepthIntra    : 1
24
25
26#======== Coding Structure =============
27IntraPeriod                : -1          # Period of I-Frame ( -1 = only first)
28DecodingRefreshType        : 0           # Random Accesss 0:none, 1:CDR, 2:IDR
29GOPSize                    : 1           # GOP Size (number of B slice = GOPSize-1)
30RateGOPSize                : 1           # GOP size used for QP assignment
31NumOfReference             : 1          # Number of reference frames
32NumOfReferenceB_L0         : 1           # Number of reference frames for L0 for B-slices
33NumOfReferenceB_L1         : 0           # Number of reference frames for L1 for B-slices
34HierarchicalCoding         : 0           # Hierarchical B coding ON/OFF
35LowDelayCoding             : 1           # Low-delay coding structure
36GPB                        : 0           # Replace P-slice by B-slice using two same directions
37NRF                        : 0           # Mark non-reference for highest temporal layer
38BQP                        : 1           # Use hier-B style QP assignment for hier-P structure
39ListCombination            : 1           # Use combined list for uni-prediction in B-slices
40
41
42#=========== Motion Search =============
43FastSearch                 : 0           # 0:Full search  1:EPZS
44SearchRange                : 32          # (0: Search range is a Full frame)
45BipredSearchRange          : 4           # Search range for bi-prediction refinement
46HadamardME                 : 1           # Use of hadamard measure for fractional ME
47FEN                        : 1           # Fast encoder decision
48
49
50#======== Quantization =============
51QP                         : 32          # Quantization parameter(0-51)
52MaxDeltaQP                 : 0           # CU-based multi-QP optimization
53DeltaQpRD                  : 0           # Slice-based multi-QP optimization
54RDOQ                       : 1           # RDOQ
55
56
57#=========== Entropy Coding ============
58SymbolMode                    : 1           # 0:LCEC, 1:CABAC
59#=========== Deblock Filter ============
60LoopFilterDisable           : 0           # Disable loop filter in slice header (0=Filter, 1=No Filter)
61LoopFilterAlphaC0Offset     : 0           # Range: -26 ~ 26
62LoopFilterBetaOffset        : 0           # Range: -26 ~ 26
63
64
65#=========== Misc. ============
66InternalBitDepth            : 10          # internal bit-depth = BitDepth + BitIncrement
67OutputBitDepth              : 8    #Output Bitdepth
68
69
70#=========== Coding Tools =================
71MRG                           : 1           # Merge mode                      (0: OFF, 1: ON)
72ALF                           : 1           # Adaptive loop filter  (0: OFF, 1: ON)
73ALFEncodePassReduction        : 0           # Reduce ALF encoding passes (0:Original 16-pass, 1: 1-pass, 2: 2-pass encoding)
74
75
76#============ Slices ================
77SliceMode                : 0                # 0: Disable all slice options.
78                                            # 1: Enforce maximum number of LCU in an slice,
79                                            # 2: Enforce maximum number of bytes in an 'slice'
80SliceArgument            : 1500             # Argument for 'SliceMode'.
81                                            # If SliceMode==1 it represents max. LCU per slice.
82                                            # If SliceMode==2 it represents max. bytes per slice.
83
84
85LFCrossSliceBoundaryFlag : 1                # In-loop filtering, including ALF and DB, is across or not across slice boundary.
86                                            # 0:not across, 1: across                                           
87
88
89EntropySliceMode         : 0                # 0: Disable all entropy slice options.       
90                                                          # 1: Enforce maximum number of LCU in an entropy slice,
91                                                          # 2: Enforce maximum number of bins/bits in an 'entropy slice'
92EntropySliceArgument     : 180000           # Argument for 'EntropySliceMode'.   
93                                                             # If EntropySliceMode==1 it represents max. LCU per entropy slice.
94                                                             # If EntropySliceMode==2 it represents max. bins per entropy slice.
95