shithub: openh264

Download patch

ref: 94c94ca3b124cac6ba376c0fc3112446493d5087
parent: 4c8458f7ffa93168aee032d57cec012d302c893a
parent: 02218e2dbda258993cb91bc3468fe9ed508e16ca
author: sijchen <sijchen@cisco.com>
date: Tue Jun 7 10:41:21 EDT 2016

Merge pull request #2493 from ruil2/configure

modify  comments in configure file

--- a/testbin/layer2.cfg
+++ b/testbin/layer2.cfg
@@ -1,9 +1,9 @@
 # Layer Configuration File
 
 
-#============================== INPUT / OUTPUT ==============================
-FrameWidth     320                     # Input  frame width
-FrameHeight    192                    # Input  frame height
+#============================== OUTPUT ==============================
+FrameWidth     320                     # Output  frame width
+FrameHeight    192                     # Output  frame height
 FrameRateOut    12                     # Output frame rate [Hz]
 ReconFile       rec_layer2.yuv          # Reconstructed file
 
@@ -30,10 +30,8 @@
 SlicesAssign7		0		# count number of MBs in slice #7
 
 ### DESIGN OF SLICE MODE ####
-# 0 SM_SINGLE_SLICE			| SliceNum==1
-# 1 SM_FIXEDSLCNUM_SLICE	| according to SliceNum			| Enabled dynamic slicing for multi-thread
-# 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.
-# 3 SM_ROWMB_SLICE			| according to PictureMBHeight	| Typical of single row of mbs each slice?+ slice size constraint which including re-encoding
-# 4 SM_SIZELIMITED_SLICE			| according to SliceSize		| Dynamic slicing (have no idea about slice_nums until encoding current frame)
-# 5 SM_AUTO_SLICE			| according to thread number	| the number of slices is decided by the number of threads,SliceNum is ignored
-
+# 0 SM_SINGLE_SLICE         | SliceNum==1
+# 1 SM_FIXEDSLCNUM_SLICE    | according to SliceNum        | enabled dynamic slicing for multi-thread
+# 2 SM_RASTER_SLICE         | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved.
+# 3 SM_SIZELIMITED_SLICE    | according to SliceSize       | slicing according to size, the slicing will be dynamic(have no idea about slice_nums until encoding current frame)
+# 4 SM_RESERVED             | reserved
--- a/testbin/layer2_arbitrary_res.cfg
+++ b/testbin/layer2_arbitrary_res.cfg
@@ -1,10 +1,9 @@
 # Layer Configuration File
 
 
-#============================== INPUT / OUTPUT ==============================
-FrameWidth     152                     # Input  frame width
-FrameHeight    100                     # Input  frame height
-FrameRateIn     12                      # Input  frame rate [Hz]
+#============================== OUTPUT ==============================
+FrameWidth     320                     # Output  frame width
+FrameHeight    192                     # Output  frame height
 FrameRateOut    12                     # Output frame rate [Hz]
 ReconFile       rec_layer2.yuv          # Reconstructed file
 
@@ -31,10 +30,8 @@
 SlicesAssign7		0		# count number of MBs in slice #7
 
 ### DESIGN OF SLICE MODE ####
-# 0 SM_SINGLE_SLICE			| SliceNum==1
-# 1 SM_FIXEDSLCNUM_SLICE	| according to SliceNum			| Enabled dynamic slicing for multi-thread
-# 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.
-# 3 SM_ROWMB_SLICE			| according to PictureMBHeight	| Typical of single row of mbs each slice?+ slice size constraint which including re-encoding
-# 4 SM_DYN_SLICE			| according to SliceSize		| Dynamic slicing (have no idea about slice_nums until encoding current frame)
-# 5 SM_AUTO_SLICE			| according to thread number	| the number of slices is decided by the number of threads,SliceNum is ignored
-
+# 0 SM_SINGLE_SLICE         | SliceNum==1
+# 1 SM_FIXEDSLCNUM_SLICE    | according to SliceNum        | enabled dynamic slicing for multi-thread
+# 2 SM_RASTER_SLICE         | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved.
+# 3 SM_SIZELIMITED_SLICE    | according to SliceSize       | slicing according to size, the slicing will be dynamic(have no idea about slice_nums until encoding current frame)
+# 4 SM_RESERVED             | reserved
--- a/testbin/layer2_vd.cfg
+++ b/testbin/layer2_vd.cfg
@@ -1,10 +1,9 @@
 # Layer Configuration File
 
 
-#============================== INPUT / OUTPUT ==============================
-FrameWidth     320                     # Input  frame width
-FrameHeight    192                    # Input  frame height
-FrameRateIn     12                      # Input  frame rate [Hz]
+#============================== OUTPUT ==============================
+FrameWidth     320                     # Output  frame width
+FrameHeight    192                     # Output  frame height
 FrameRateOut    12                     # Output frame rate [Hz]
 ReconFile       rec_layer2.yuv          # Reconstructed file
 
@@ -30,11 +29,10 @@
 SlicesAssign6		0		# count number of MBs in slice #6
 SlicesAssign7		0		# count number of MBs in slice #7
 
-### DESIGN OF SLICE MODE, 100804, Sijia ####
-# 0 SM_SINGLE_SLICE			| SliceNum==1
-# 1 SM_FIXEDSLCNUM_SLICE	| according to SliceNum			| Enabled dynamic slicing for multi-thread
-# 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.
-# 3 SM_ROWMB_SLICE			| according to PictureMBHeight	| Specially for TP. Typical of single row of mbs each slice?+ slice size constraint which including re-encoding
-# 4 SM_DYN_SLICE			| according to SliceSize		| Dynamic slicing (have no idea about slice_nums until encoding current frame)
-# 5 SM_AUTO_SLICE			| according to thread number	| the number of slices is decided by the number of threads,SliceNum is ignored
+### DESIGN OF SLICE MODE ####
+# 0 SM_SINGLE_SLICE         | SliceNum==1
+# 1 SM_FIXEDSLCNUM_SLICE    | according to SliceNum        | enabled dynamic slicing for multi-thread
+# 2 SM_RASTER_SLICE         | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved.
+# 3 SM_SIZELIMITED_SLICE    | according to SliceSize       | slicing according to size, the slicing will be dynamic(have no idea about slice_nums until encoding current frame)
+# 4 SM_RESERVED             | reserved
 
--- a/testbin/layer2_vd_rc.cfg
+++ b/testbin/layer2_vd_rc.cfg
@@ -1,10 +1,9 @@
 # Layer Configuration File
 
 
-#============================== INPUT / OUTPUT ==============================
-FrameWidth     320                     # Input  frame width
-FrameHeight    192                    # Input  frame height
-FrameRateIn     12                      # Input  frame rate [Hz]
+#============================== OUTPUT ==============================
+FrameWidth     320                     # Output  frame width
+FrameHeight    192                     # Output  frame height
 FrameRateOut    12                     # Output frame rate [Hz]
 ReconFile       rec_layer2.yuv          # Reconstructed file
 
@@ -30,11 +29,10 @@
 SlicesAssign6		0		# count number of MBs in slice #6
 SlicesAssign7		0		# count number of MBs in slice #7
 
-### DESIGN OF SLICE MODE, 100804, Sijia ####
-# 0 SM_SINGLE_SLICE			| SliceNum==1
-# 1 SM_FIXEDSLCNUM_SLICE	| according to SliceNum			| Enabled dynamic slicing for multi-thread
-# 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.
-# 3 SM_ROWMB_SLICE			| according to PictureMBHeight	| Specially for TP. Typical of single row of mbs each slice?+ slice size constraint which including re-encoding
-# 4 SM_DYN_SLICE			| according to SliceSize		| Dynamic slicing (have no idea about slice_nums until encoding current frame)
-# 5 SM_AUTO_SLICE			| according to thread number	| the number of slices is decided by the number of threads,SliceNum is ignored
+### DESIGN OF SLICE MODE ####
+# 0 SM_SINGLE_SLICE         | SliceNum==1
+# 1 SM_FIXEDSLCNUM_SLICE    | according to SliceNum        | enabled dynamic slicing for multi-thread
+# 2 SM_RASTER_SLICE         | according to SlicesAssign    | need input of MB numbers each slice. In addition, if other constraint in SSliceArgument is presented, need to follow the constraints. Typically if MB num and slice size are both constrained, re-encoding may be involved.
+# 3 SM_SIZELIMITED_SLICE    | according to SliceSize       | slicing according to size, the slicing will be dynamic(have no idea about slice_nums until encoding current frame)
+# 4 SM_RESERVED             | reserved