History

add comments for write para set functions

Sijia Chen committed 11 years ago

Commit 15723e11 parent f9080ac1 file · +3 −0Browse files

Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/core/src/encoder_ext.cpp+3−0
@@ -3444,6 +3444,7 @@ int32_t GetSubSequenceId (sWelsEncCtx* pCtx, EVideoFrameType eFrameType) { · 3443 unmodified lines
3444 return iSubSeqId;3444 return iSubSeqId;
3445}3445}
3446 3446
3447// writing parasets for (simulcast) svc
3447int32_t WriteSsvcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,3448int32_t WriteSsvcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
3448 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {3449 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
3449 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;3450 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;
@@ -3466,6 +3467,7 @@ int32_t WriteSsvcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, · 16 unmodified lines
3466 return iReturn;3467 return iReturn;
3467}3468}
3468 3469
3470// writing parasets for simulcast avc
3469int32_t WriteSavcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,3471int32_t WriteSavcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
3470 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {3472 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
3471 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;3473 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;
@@ -3543,6 +3545,7 @@ int32_t WriteSavcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, · 71 unmodified lines
3543 return iReturn;3545 return iReturn;
3544}3546}
3545 3547
3548//cover the logic of simulcast avc + sps_pps_listing
3546int32_t WriteSavcParaset_Listing (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,3549int32_t WriteSavcParaset_Listing (sWelsEncCtx* pCtx, const int32_t kiSpatialNum,
3547 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {3550 SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) {
3548 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;3551 int32_t iNonVclSize = 0, iCountNal = 0, iReturn;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t