Changeset 1317 in 3DVCSoftware for branches/HTM-15.0-dev0/source/Lib/TLibEncoder/TEncTop.cpp
- Timestamp:
- 4 Sep 2015, 21:28:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.0-dev0/source/Lib/TLibEncoder/TEncTop.cpp
r1313 r1317 83 83 m_aICEnableNum = NULL; 84 84 #endif 85 #if NH_ 3D85 #if NH_MV 86 86 m_cCavlcCoder.setEncTop(this); 87 87 #endif … … 350 350 m_cPreanalyzer.xPreanalyze( dynamic_cast<TEncPic*>( pcPicCurr ) ); 351 351 } 352 #if NH_MV353 352 pcPicCurr->setLayerId( getLayerId()); 354 #endif355 353 #if NH_3D 356 354 pcPicCurr->setScaleOffset( m_cameraParameters->getCodedScale(), m_cameraParameters->getCodedOffset() ); … … 361 359 Void TEncTop::deletePicBuffer() 362 360 { 361 362 #if !NH_MV 363 363 TComList<TComPic*>::iterator iterPic = m_cListPic.begin(); 364 364 Int iSize = Int( m_cListPic.size() ); 365 366 365 for ( Int i = 0; i < iSize; i++ ) 367 366 { … … 372 371 pcPic = NULL; 373 372 } 373 #endif 374 374 } 375 375 … … 404 404 if( gopId == 0) 405 405 { 406 m_cGOPEncoder.initGOP(m_iPOCLast, m_iNumPicRcvd, m_cListPic, rcListPicYuvRecOut, accessUnitsOut);406 m_cGOPEncoder.initGOP(m_iPOCLast, m_iNumPicRcvd, *(m_ivPicLists->getSubDpb( getLayerId(), false )), rcListPicYuvRecOut, accessUnitsOut); 407 407 #else 408 408 if (pcPicYuvOrg != NULL) … … 434 434 #if NH_MV 435 435 } 436 m_cGOPEncoder.compressPicInGOP(m_iPOCLast, m_iNumPicRcvd, m_cListPic, rcListPicYuvRecOut, accessUnitsOut, false, false, snrCSC, m_printFrameMSE, gopId);436 m_cGOPEncoder.compressPicInGOP(m_iPOCLast, m_iNumPicRcvd, *(m_ivPicLists->getSubDpb(getLayerId(), false) ), rcListPicYuvRecOut, accessUnitsOut, false, false, snrCSC, m_printFrameMSE, gopId); 437 437 438 438 if( gopId + 1 == m_cGOPEncoder.getGOPSize() ) … … 574 574 // At this point, the SPS and PPS can be considered activated - they are copied to the new TComPic. 575 575 576 #if NH_MV 577 TComList<TComPic*>& cListPic = *(m_ivPicLists->getSubDpb(getLayerId(), false) ); 578 TComSlice::sortPicList(cListPic); 579 #else 576 580 TComSlice::sortPicList(m_cListPic); 577 578 581 #endif 582 583 584 #if NH_MV 585 if (cListPic.size() >= (UInt)(m_iGOPSize + getMaxDecPicBuffering(MAX_TLAYER-1) + 2) ) 586 { 587 TComList<TComPic*>::iterator iterPic = cListPic.begin(); 588 Int iSize = Int( cListPic.size() ); 589 #else 579 590 if (m_cListPic.size() >= (UInt)(m_iGOPSize + getMaxDecPicBuffering(MAX_TLAYER-1) + 2) ) 580 591 { 581 592 TComList<TComPic*>::iterator iterPic = m_cListPic.begin(); 582 593 Int iSize = Int( m_cListPic.size() ); 594 #endif 583 595 for ( Int i = 0; i < iSize; i++ ) 584 596 { … … 604 616 } 605 617 618 #if NH_MV 619 cListPic.pushBack( rpcPic ); 620 #else 606 621 m_cListPic.pushBack( rpcPic ); 622 #endif 607 623 } 608 624 rpcPic->setReconMark (false); … … 1056 1072 m_cPPS.setOutputFlagPresentFlag( false ); 1057 1073 #if NH_MV 1058 #if NH_MV_FIX_TICKET_1001059 1074 m_cPPS.setNumExtraSliceHeaderBits( 2 ); 1060 #else1061 m_cPPS.setNumExtraSliceHeaderBits( 3 );1062 #endif1063 1075 #endif 1064 1076 m_cPPS.setSignHideFlag(getSignHideFlag());
Note: See TracChangeset for help on using the changeset viewer.