Changeset 481 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder
- Timestamp:
- 19 Jun 2013, 14:46:47 (11 years ago)
- Location:
- branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCavlc.cpp
r479 r481 741 741 } 742 742 } 743 #if H_3D_GEN 743 #if H_3D_GEN 744 744 WRITE_FLAG( 1, "vps_extension2_flag" ); 745 745 for( Int layer = 0; layer <= pcVPS->getMaxLayers() - 1; layer++ ) … … 754 754 } 755 755 } 756 } 756 } 757 757 #else 758 758 WRITE_FLAG( 0, "vps_extension2_flag" ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp
r479 r481 495 495 496 496 #if H_3D_GEN 497 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getVPS(), m_pcEncTop->getSPS(), m_pcEncTop->getPPS() );497 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getVPS(), m_pcEncTop->getSPS(), m_pcEncTop->getPPS(), getLayerId() ); 498 498 #else 499 499 m_pcSliceEncoder->initEncSlice ( pcPic, iPOCLast, pocCurr, iNumPicRcvd, iGOPid, pcSlice, m_pcEncTop->getSPS(), m_pcEncTop->getPPS() ); … … 504 504 pcPic ->setLayerId ( getLayerId() ); 505 505 pcPic ->setViewId ( getViewId() ); 506 #if !H_3D_GEN 506 507 pcSlice->setLayerId ( getLayerId() ); 507 508 pcSlice->setViewId ( getViewId() ); 508 #if !H_3D_GEN509 509 pcSlice->setVPS ( m_pcEncTop->getVPS() ); 510 510 #endif … … 512 512 pcPic ->setViewIndex ( getViewIndex() ); 513 513 pcPic ->setIsDepth( getIsDepth() ); 514 #if !H_3D_GEN 514 515 pcSlice->setViewIndex ( getViewIndex() ); 515 516 pcSlice->setIsDepth( getIsDepth() ); 517 #endif 516 518 pcSlice->setCamparaSlice( pcPic->getCodedScale(), pcPic->getCodedOffset() ); 517 519 #endif -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSlice.cpp
r479 r481 177 177 */ 178 178 #if H_3D_GEN 179 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS )179 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS, Int layerId ) 180 180 #else 181 181 Void TEncSlice::initEncSlice( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, Int iGOPid, TComSlice*& rpcSlice, TComSPS* pSPS, TComPPS *pPPS ) … … 186 186 187 187 rpcSlice = pcPic->getSlice(0); 188 #if H_3D_GEN 188 #if H_3D_GEN 189 // GT: Should also be activated for MV-HEVC at some stage 189 190 rpcSlice->setVPS( pVPS ); 191 Int vpsLayerId = pVPS->getLayerIdInNuh( layerId ); 192 193 rpcSlice->setLayerId ( layerId ); 194 rpcSlice->setViewId ( pVPS->getViewId ( vpsLayerId ) ); 195 rpcSlice->setViewIndex ( pVPS->getViewIndex ( vpsLayerId ) ); 196 rpcSlice->setIsDepth ( pVPS->getDepthId ( vpsLayerId ) != 0 ); 190 197 #endif 191 198 rpcSlice->setSPS( pSPS ); -
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSlice.h
r479 r481 118 118 #if H_3D_GEN 119 119 Void initEncSlice ( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd, 120 Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS );120 Int iGOPid, TComSlice*& rpcSlice, TComVPS* pVPS, TComSPS* pSPS, TComPPS *pPPS, Int layerId ); 121 121 #else 122 122 Void initEncSlice ( TComPic* pcPic, Int pocLast, Int pocCurr, Int iNumPicRcvd,
Note: See TracChangeset for help on using the changeset viewer.