| 1 |
# Layer Configuration File |
| 2 |
|
| 3 |
|
| 4 |
#============================== INPUT / OUTPUT ============================== |
| 5 |
FrameWidth 160 # Input frame width |
| 6 |
FrameHeight 96 # Input frame height |
| 7 |
FrameRateOut 12 # Output frame rate [Hz] |
| 8 |
ReconFile rec_layer2.yuv # Reconstructed file |
| 9 |
|
| 10 |
#============================== CODING ============================== |
| 11 |
ProfileIdc 66 # value of profile_idc (or 0 for auto detection) |
| 12 |
|
| 13 |
InitialQP 24 # Quantization parameters for base quality layer |
| 14 |
#================================ RATE CONTROL =============================== |
| 15 |
SpatialBitrate 600 # Unit: kbps, controled by DisableRC also |
| 16 |
MaxSpatialBitrate 800 # Unit: kbps, max bitrate for current layer |
| 17 |
#============================== MultiSlice Slice Argument ============================== |
| 18 |
# for S/M Slice(s) mode settings |
| 19 |
SliceMode 0 # 0: sigle slice mode; >0: multiple slices mode, see below; |
| 20 |
SliceSize 1500 |
| 21 |
SliceNum 1 # multiple slices number specified |
| 22 |
|
| 23 |
SlicesAssign0 960 # count number of MBs in slice #0 |
| 24 |
SlicesAssign1 0 # count number of MBs in slice #1 |
| 25 |
SlicesAssign2 0 # count number of MBs in slice #2 |
| 26 |
SlicesAssign3 0 # count number of MBs in slice #3 -- seting here is for better testing |
| 27 |
SlicesAssign4 0 # count number of MBs in slice #4 |
| 28 |
SlicesAssign5 0 # count number of MBs in slice #5 |
| 29 |
SlicesAssign6 0 # count number of MBs in slice #6 |
| 30 |
SlicesAssign7 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 |
|