Changeset 476 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
- Timestamp:
- 18 Jun 2013, 05:16:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r455 r476 49 49 #include <time.h> 50 50 #include <math.h> 51 51 #if H_3D_IV_MERGE 52 #include "../../App/TAppEncoder/TAppEncTop.h" 53 #endif 52 54 using namespace std; 53 55 //! \ingroup TLibEncoder … … 107 109 m_viewIndex = 0; 108 110 m_isDepth = false; 111 #if H_3D_IV_MERGE 112 m_pcDepthMapGenerator = NULL; 113 #endif 109 114 #endif 110 115 #endif … … 155 160 m_viewIndex = pcTEncTop->getViewIndex(); 156 161 m_isDepth = pcTEncTop->getIsDepth(); 162 #if H_3D_IV_MERGE 163 m_pcDepthMapGenerator = pcTEncTop->getDepthMapGenerator(); 164 #endif 157 165 #endif 158 166 #endif … … 674 682 #endif 675 683 684 #if H_3D_IV_MERGE 685 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 ); 689 #endif 676 690 // Slice info. refinement 677 691 #if H_MV … … 1028 1042 m_storedStartCUAddrForEncodingSliceSegment.push_back(nextCUAddr); 1029 1043 startCUAddrSliceSegmentIdx++; 1044 1045 #if H_3D_IV_MERGE 1046 m_pcDepthMapGenerator->initViewComponent( pcPic ); 1047 #endif 1048 1030 1049 #if H_3D_NBDV 1031 1050 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. … … 2478 2497 #if ADAPTIVE_QP_SELECTION 2479 2498 #if H_MV 2480 printf("Layer %3d POC %4d TId: %1d ( %c-SLICE, nQP %d QP %d ) %10d bits",2499 printf("Layer %3d POC %4d TId: %1d ( %c-SLICE, nQP %d QP %d ) %10d bits", 2481 2500 pcSlice->getLayerId(), 2482 2501 pcSlice->getPOC(),
Note: See TracChangeset for help on using the changeset viewer.