Changeset 971 in 3DVCSoftware for branches/HTM-11.1-dev0/source/App
- Timestamp:
- 5 Jul 2014, 11:31:40 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-11.1-dev0/source/App/TAppEncoder/TAppEncTop.cpp
r969 r971 58 58 { 59 59 60 #if H_MV _HLS_860 #if H_MV 61 61 m_vps = new TComVPS; 62 #endif 63 #if !H_MV 62 #else !H_MV 64 63 m_iFrameRcvd = 0; 65 64 #endif … … 70 69 TAppEncTop::~TAppEncTop() 71 70 { 72 #if H_MV _HLS_871 #if H_MV 73 72 if (m_vps) 74 73 { … … 82 81 { 83 82 #if H_MV 84 #if H_MV_HLS_885 83 TComVPS& vps = (*m_vps); 86 #else87 TComVPS& vps = m_vps;88 #endif89 84 #else 90 85 TComVPS vps; … … 701 696 { 702 697 #if H_3D 703 #if H_MV_HLS_8704 698 for ( Int viewIndex = 0; viewIndex < m_vps->getNumViews(); viewIndex++ ) 705 699 { 706 700 m_vps->initCamParaVPS( viewIndex, true, m_cCameraData.getCamParsCodedPrecision(), 707 701 m_cCameraData.getVaryingCameraParameters(), m_cCameraData.getCodedScale(), m_cCameraData.getCodedOffset() ); 708 #else709 for ( Int viewIndex = 0; viewIndex < m_vps.getNumViews(); viewIndex++ )710 {711 m_vps.initCamParaVPS( viewIndex, true, m_cCameraData.getCamParsCodedPrecision(),712 m_cCameraData.getVaryingCameraParameters(), m_cCameraData.getCodedScale(), m_cCameraData.getCodedOffset() );713 #endif714 702 } 715 703 #endif … … 1507 1495 Void TAppEncTop::xSetRepFormat( TComVPS& vps ) 1508 1496 { 1509 #if H_MV_HLS_8_PMS_Q0195_201510 1497 vps.setRepFormatIdxPresentFlag( false ); 1511 #else1512 vps.setRepFormatIdxPresentFlag( true );1513 #endif1514 1498 vps.setVpsNumRepFormatsMinus1 ( 0 ); 1515 1499 … … 1527 1511 assert( vps.getRepFormat( 0 ) == NULL ); 1528 1512 vps.setRepFormat( 0 , repFormat ); 1529 1530 #if !H_MV_HLS_8_PMS_Q0195_201531 for(Int i = 0; i <= vps.getMaxLayersMinus1(); i++ )1532 {1533 vps.setVpsRepFormatIdx( i , 0 );1534 }1535 #endif1536 1513 } 1537 1514 … … 1544 1521 assert ( dpbSize != 0 ); 1545 1522 1546 #if H_MV_HLS_8_HRD_Q0102_081547 1523 for( Int i = 0; i < vps.getNumOutputLayerSets(); i++ ) 1548 #else1549 for( Int i = 1; i < vps.getNumOutputLayerSets(); i++ )1550 #endif1551 1524 { 1552 #if H_MV_HLS_8_MIS_Q0102_301553 1525 Int currLsIdx = vps.olsIdxToLsIdx( i ); 1554 #endif1555 1526 std::vector<Int> targetDecLayerIdList = vps.getTargetDecLayerIdList( i ); 1556 1527 Bool subLayerFlagInfoPresentFlag = false; 1557 1528 1558 #if H_MV_HLS_8_MIS_Q0102_301559 1529 for( Int j = 0; j <= vps.getMaxSubLayersInLayerSetMinus1( currLsIdx ); j++ ) 1560 #else1561 for( Int j = 0; j <= vps.getMaxSubLayersInLayerSetMinus1( i ); j++ )1562 #endif1563 1530 { 1564 1531 Bool subLayerDpbInfoPresentFlag = false; 1565 #if H_MV_HLS_8_MIS_Q0102_30 || H_MV_HLS_8_DBP_NODOC_421566 1532 assert( vps.getNumLayersInIdList( currLsIdx ) == targetDecLayerIdList.size() ); 1567 1533 for( Int k = 0; k < vps.getNumLayersInIdList( currLsIdx ); k++ ) 1568 #else1569 assert( vps.getNumSubDpbs( vps.olsIdxToLsIdx( i ) ) == targetDecLayerIdList.size() );1570 for( Int k = 0; k < vps.getNumSubDpbs( vps.olsIdxToLsIdx( i )); k++ )1571 #endif1572 1534 { 1573 1535 Int layerIdInVps = vps.getLayerIdInVps( targetDecLayerIdList[k] ); 1574 #if H_MV_HLS7_GEN1575 // TBD. Some derivation based on output layer set might be added here.1576 #endif1577 1536 dpbSize->setMaxVpsDecPicBufferingMinus1( i, k, j, m_maxDecPicBufferingMvc[ layerIdInVps ][ j ] - 1 ); 1578 1537 if ( j > 0 ) … … 1635 1594 // Additional output layer sets + profileLevelTierIdx 1636 1595 vps.setDefaultOutputLayerIdc ( m_defaultOutputLayerIdc ); 1637 #if H_MV_HLS_8_SYN_39_191638 1596 vps.setNumAddLayerSets ( 0 ); 1639 1597 vps.setNumAddOlss ( numAddOuputLayerSets ); 1640 #else1641 vps.setNumAddLayerSets ( numAddOuputLayerSets );1642 #endif1643 1598 vps.initTargetLayerIdLists(); 1644 1599
Note: See TracChangeset for help on using the changeset viewer.