shithub: openh264

Download patch

ref: 15723e1204a8d5f725a88ad1a17668ecbabb9b91
parent: f9080ac0900807a398be120a026b0d78e24d6ada
author: Sijia Chen <sijchen@cisco.com>
date: Fri Feb 13 10:48:17 EST 2015

add comments for write para set functions

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -3444,6 +3444,7 @@
   return iSubSeqId;
 }
 
+// writing parasets for (simulcast) svc
 int32_t WriteSsvcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
                           SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
   int32_t iNonVclSize = 0, iCountNal = 0, iReturn;
@@ -3466,6 +3467,7 @@
   return iReturn;
 }
 
+// writing parasets for simulcast avc
 int32_t WriteSavcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
                           SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
   int32_t iNonVclSize = 0, iCountNal = 0, iReturn;
@@ -3543,6 +3545,7 @@
   return iReturn;
 }
 
+//cover the logic of simulcast avc + sps_pps_listing
 int32_t WriteSavcParaset_Listing (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
                                   SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
   int32_t iNonVclSize = 0, iCountNal = 0, iReturn;