MCPcopy Create free account
hub / github.com/cisco/openh264 / LoadPreviousSps

Method LoadPreviousSps

codec/encoder/core/src/paraset_strategy.cpp:424–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void CWelsParametersetSpsListing::LoadPreviousSps (SExistingParasetList* pExistingParasetList, SWelsSPS* pSpsArray,
425 SSubsetSps* pSubsetArray) {
426 //if ((SPS_LISTING & pParam->eSpsPpsIdStrategy) && (NULL != pExistingParasetList)) {
427 m_sParaSetOffset.uiInUseSpsNum = pExistingParasetList->uiInUseSpsNum;
428 memcpy (pSpsArray, pExistingParasetList->sSps, MAX_SPS_COUNT * sizeof (SWelsSPS));
429
430 if (GetNeededSubsetSpsNum() > 0) {
431 m_sParaSetOffset.uiInUseSubsetSpsNum = pExistingParasetList->uiInUseSubsetSpsNum;
432 memcpy (pSubsetArray, pExistingParasetList->sSubsetSps, MAX_SPS_COUNT * sizeof (SSubsetSps));
433 } else {
434 m_sParaSetOffset.uiInUseSubsetSpsNum = 0;
435 }
436 //}
437
438}
439void CWelsParametersetSpsListing::LoadPrevious (SExistingParasetList* pExistingParasetList, SWelsSPS* pSpsArray,
440 SSubsetSps* pSubsetArray, SWelsPPS* pPpsArray) {
441 if (NULL == pExistingParasetList) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected