Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 1 file). Show all
Unified · Split
| @@ -3444,6 +3444,7 @@ int32_t GetSubSequenceId (sWelsEncCtx* pCtx, EVideoFrameType eFrameType) { · 3443 unmodified lines | ||
| 3444 | 3444 | return iSubSeqId; |
| 3445 | 3445 | } |
| 3446 | 3446 | |
| 3447 | +// writing parasets for (simulcast) svc | |
| 3447 | 3448 | int32_t WriteSsvcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, |
| 3448 | 3449 | SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) { |
| 3449 | 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 | 3467 | return iReturn; |
| 3467 | 3468 | } |
| 3468 | 3469 | |
| 3470 | +// writing parasets for simulcast avc | |
| 3469 | 3471 | int32_t WriteSavcParaset (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, |
| 3470 | 3472 | SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) { |
| 3471 | 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 | 3545 | return iReturn; |
| 3544 | 3546 | } |
| 3545 | 3547 | |
| 3548 | +//cover the logic of simulcast avc + sps_pps_listing | |
| 3546 | 3549 | int32_t WriteSavcParaset_Listing (sWelsEncCtx* pCtx, const int32_t kiSpatialNum, |
| 3547 | 3550 | SLayerBSInfo*& pLayerBsInfo, int32_t& iLayerNum, int32_t& iFrameSize) { |
| 3548 | 3551 | int32_t iNonVclSize = 0, iCountNal = 0, iReturn; |