• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Layer Configuration File
2
3
4#============================== INPUT / OUTPUT ==============================
5FrameWidth     160                     # Input  frame width
6FrameHeight    96                    # Input  frame height
7FrameRateOut    12                     # Output frame rate [Hz]
8ReconFile       rec_layer2.yuv          # Reconstructed file
9
10#============================== CODING ==============================
11ProfileIdc      66          # value of profile_idc (or 0 for auto detection)
12
13InitialQP       24			# Quantization parameters for base quality layer
14#================================ RATE CONTROL ===============================
15SpatialBitrate		600		# Unit: kbps, controled by DisableRC also
16MaxSpatialBitrate   800     # Unit: kbps, max bitrate for current layer
17#============================== MultiSlice Slice Argument ==============================
18# for S/M Slice(s) mode settings
19SliceMode			0		# 0: sigle slice mode; >0: multiple slices mode, see below;
20SliceSize			1500
21SliceNum			1		# multiple slices number specified
22
23SlicesAssign0		960		# count number of MBs in slice #0
24SlicesAssign1		0		# count number of MBs in slice #1
25SlicesAssign2		0		# count number of MBs in slice #2
26SlicesAssign3		0		# count number of MBs in slice #3 -- seting here is for better testing
27SlicesAssign4		0		# count number of MBs in slice #4
28SlicesAssign5		0		# count number of MBs in slice #5
29SlicesAssign6		0		# count number of MBs in slice #6
30SlicesAssign7		0		# count number of MBs in slice #7
31
32### DESIGN OF SLICE MODE ####
33# 0 SM_SINGLE_SLICE			| SliceNum==1
34# 1 SM_FIXEDSLCNUM_SLICE	| according to SliceNum			| Enabled dynamic slicing for multi-thread
35# 2 SM_RASTER_SLICE			| according to SlicesAssign		| Need input of MB numbers each slice. In addition, if other constraint in slice_argument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved.
36# 3 SM_ROWMB_SLICE			| according to PictureMBHeight	| Typical of single row of mbs each slice?+ slice size constraint which including re-encoding
37# 4 SM_DYN_SLICE			| according to SliceSize		| Dynamic slicing (have no idea about slice_nums until encoding current frame)
38# 5 SM_AUTO_SLICE			| according to thread number	| the number of slices is decided by the number of threads,SliceNum is ignored
39
40