Changeset 362 in SHVCSoftware for branches/SHM-3.1-dev/source/App
- Timestamp:
- 22 Aug 2013, 03:15:29 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r355 r362 217 217 { 218 218 in>>entry.m_refIdc[i]; 219 } 220 } 221 #endif 222 #if EXTERNAL_USEDBYCURR_N0082 223 if(entry.m_numRefPics>0){ 224 in>>entry.m_UseExtusedByCurrPic; 225 if(entry.m_UseExtusedByCurrPic) 226 { 227 for ( Int i = 0; i < entry.m_numRefPics; i++ ) 228 { 229 in>>entry.m_ExtusedByCurrPic[i]; 230 } 219 231 } 220 232 } … … 1467 1479 #endif 1468 1480 1469 #if !FINAL_RPL_CHANGE_N00821481 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1470 1482 Bool verifiedGOP=false; 1471 1483 #endif 1472 1484 Bool errorGOP=false; 1473 #if !FINAL_RPL_CHANGE_N00821485 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1474 1486 Int checkGOP=1; 1475 1487 Int numRefs = 1; … … 1482 1494 isOK[i]=false; 1483 1495 } 1484 #if !FINAL_RPL_CHANGE_N00821496 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1485 1497 Int numOK=0; 1486 1498 #endif … … 1547 1559 m_acLayerCfg[1].m_GOPListLayer[7].m_refIdc[2] = 0; 1548 1560 } 1549 #else 1561 #endif 1562 #if EXTERNAL_USEDBYCURR_N0082|| !FINAL_RPL_CHANGE_N0082 1550 1563 m_extraRPSs=0; 1551 1564 //start looping through frames in coding order until we can verify that the GOP structure is correct. … … 1744 1757 xConfirmPara(errorGOP,"Invalid GOP structure given"); 1745 1758 #endif 1759 #if EXTERNAL_USEDBYCURR_N0082 1760 for(UInt layer=0; layer<m_numLayers; layer++) 1761 { 1762 for (Int i=0; i< m_iGOPSize; i++){ 1763 if (m_acLayerCfg[layer].m_GOPListLayer[i].m_UseExtusedByCurrPic == 1 ) 1764 { 1765 for(Int j=0; j<m_acLayerCfg[layer].m_GOPListLayer[i].m_numRefPics; j++ ) 1766 { 1767 m_acLayerCfg[layer].m_GOPListLayer[i].m_usedByCurrPic[j] = m_acLayerCfg[layer].m_GOPListLayer[i].m_ExtusedByCurrPic[j]; 1768 m_acLayerCfg[layer].m_GOPListLayer[i].m_refIdc[j] = m_acLayerCfg[layer].m_GOPListLayer[i].m_ExtusedByCurrPic[j]; 1769 } 1770 } 1771 } 1772 } 1773 #endif 1746 1774 m_maxTempLayer = 1; 1747 1775 for(Int i=0; i<m_iGOPSize; i++)
Note: See TracChangeset for help on using the changeset viewer.