Changeset 479 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 18 Jun 2013, 23:24:53 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r478 r479 49 49 #include <time.h> 50 50 #include <math.h> 51 #if H_3D_IV_MERGE 52 #include "../../App/TAppEncoder/TAppEncTop.h" 53 #endif 51 54 52 using namespace std; 55 53 //! \ingroup TLibEncoder … … 109 107 m_viewIndex = 0; 110 108 m_isDepth = false; 111 #if H_3D_IV_MERGE112 m_pcDepthMapGenerator = NULL;113 #endif114 109 #endif 115 110 #endif … … 160 155 m_viewIndex = pcTEncTop->getViewIndex(); 161 156 m_isDepth = pcTEncTop->getIsDepth(); 162 #if H_3D_IV_MERGE163 m_pcDepthMapGenerator = pcTEncTop->getDepthMapGenerator();164 #endif165 157 #endif 166 158 #endif … … 502 494 pcPic->setCurrSliceIdx(0); 503 495 496 #if H_3D_GEN 497 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getVPS(), m_pcEncTop->getSPS(), m_pcEncTop->getPPS() ); 498 #else 504 499 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS() ); 500 #endif 505 501 pcSlice->setLastIDR(m_iLastIDR); 506 502 pcSlice->setSliceIdx(0); … … 510 506 pcSlice->setLayerId ( getLayerId() ); 511 507 pcSlice->setViewId ( getViewId() ); 508 #if !H_3D_GEN 512 509 pcSlice->setVPS ( m_pcEncTop->getVPS() ); 510 #endif 513 511 #if H_3D 514 512 pcPic ->setViewIndex ( getViewIndex() ); … … 516 514 pcSlice->setViewIndex ( getViewIndex() ); 517 515 pcSlice->setIsDepth( getIsDepth() ); 518 pcSlice->setCamparaSlice( pcPic->getCodedScale(), pcPic->getCodedOffset() ); 519 #endif 520 #endif 516 pcSlice->setCamparaSlice( pcPic->getCodedScale(), pcPic->getCodedOffset() ); 517 #endif 518 #endif 521 519 //set default slice level flag to the same as SPS level flag 522 520 pcSlice->setLFCrossSliceBoundaryFlag( pcSlice->getPPS()->getLoopFilterAcrossSlicesEnabledFlag() ); … … 682 680 #endif 683 681 684 #if H_3D _IV_MERGE685 TAppEncTop* tAppEncTop = m_pcEncTop->getEncTop();686 TComPic * const pcTexturePic = m_pcEncTop->getIsDepth() ? tAppEncTop->getPicFromView( getViewIndex(), pcSlice->getPOC(), false ) : NULL; 687 assert( !m_pcEncTop->getIsDepth() || pcTexturePic != NULL);688 pcSlice->setTexturePic( pcTexturePic ); 682 #if H_3D 683 pcSlice->setIvPicLists( m_ivPicLists ); 684 #if H_3D_IV_MERGE 685 assert( !m_pcEncTop->getIsDepth() || ( pcSlice->getTexturePic() != 0 ) ); 686 #endif 689 687 #endif 690 688 // Slice info. refinement … … 1042 1040 m_storedStartCUAddrForEncodingSliceSegment.push_back(nextCUAddr); 1043 1041 startCUAddrSliceSegmentIdx++; 1044 #if H_3D_IV_MERGE1045 m_pcDepthMapGenerator->initViewComponent( pcPic );1046 #endif1047 1042 #if H_3D_NBDV 1048 1043 if(pcSlice->getViewIndex() && !pcSlice->getIsDepth()) //Notes from QC: this condition shall be changed once the configuration is completed, e.g. in pcSlice->getSPS()->getMultiviewMvPredMode() || ARP in prev. HTM. Remove this comment once it is done.
Note: See TracChangeset for help on using the changeset viewer.