Changeset 942 in SHVCSoftware for branches/SHM-dev/source/Lib
- Timestamp:
- 30 Dec 2014, 20:36:14 (11 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
-
TLibCommon/TComSlice.h (modified) (3 diffs)
-
TLibDecoder/TDecCAVLC.cpp (modified) (5 diffs)
-
TLibEncoder/TEncCavlc.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r941 r942 584 584 #if !MULTIPLE_PTL_SUPPORT 585 585 TComPTL m_pcPTL; 586 #else 586 #endif 587 TimingInfo m_timingInfo; 588 589 #if SVC_EXTENSION 590 #if MULTIPLE_PTL_SUPPORT 587 591 TComPTL m_pcPTLList[NUM_POSSIBLE_LEVEL]; 588 592 #endif 589 TimingInfo m_timingInfo;590 591 #if SVC_EXTENSION592 593 #if DERIVE_LAYER_ID_LIST_VARIABLES 593 594 #if Q0078_ADD_LAYER_SETS … … 972 973 #if !MULTIPLE_PTL_SUPPORT 973 974 TComPTL* getPTL() { return &m_pcPTL; } 974 #else 975 #endif 976 977 TimingInfo* getTimingInfo() { return &m_timingInfo; } 978 979 #if SVC_EXTENSION 980 #if MULTIPLE_PTL_SUPPORT 975 981 TComPTL* getPTL() { return &m_pcPTLList[0]; } 976 982 TComPTL* getPTL(UInt idx) { return &m_pcPTLList[idx]; } 977 983 #endif 978 TimingInfo* getTimingInfo() { return &m_timingInfo; }979 980 #if SVC_EXTENSION981 984 #if DERIVE_LAYER_ID_LIST_VARIABLES 982 985 Int getLayerSetLayerIdList(Int set, Int layerId) { return m_layerSetLayerIdList[set][layerId]; } … … 1148 1151 Void addProfileLevelTierIdx(Int const olsIdx, Int const ptlIdx) { m_profileLevelTierIdx[olsIdx].push_back(ptlIdx); } 1149 1152 #endif 1150 Int calculateLenOfSyntaxElement( Int const numVal );1153 Int calculateLenOfSyntaxElement( Int const numVal ); 1151 1154 #else 1152 1155 Int getProfileLevelTierIdx(Int i) { return m_profileLevelTierIdx[i]; } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r941 r942 1375 1375 { 1376 1376 vps->setProfilePresentFlag(1, false); 1377 #if !MULTIPLE_PTL_SUPPORT 1377 #if MULTIPLE_PTL_SUPPORT 1378 parsePTL( vps->getPTL(1), vps->getProfilePresentFlag(1), vps->getMaxTLayers() - 1 ); 1379 #else 1378 1380 vps->getPTLForExtnPtr()->empty(); 1379 1381 vps->getPTLForExtnPtr()->resize(2); 1380 1382 vps->getPTLForExtn(1)->copyProfileInfo( vps->getPTL() ); 1381 1383 parsePTL( vps->getPTLForExtn(1), vps->getProfilePresentFlag(1), vps->getMaxTLayers() - 1 ); 1382 #else1383 parsePTL( vps->getPTL(1), vps->getProfilePresentFlag(1), vps->getMaxTLayers() - 1 );1384 1384 #endif 1385 1385 } … … 1604 1604 READ_CODE( 6, uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 ); 1605 1605 #else 1606 READ_UVLC( uiCode, "vps_num_profile_tier_level_minus1"); 1607 vps->setNumProfileTierLevel( uiCode + 1 ); 1608 //vps->setNumProfileTierLevel( 3 ); 1609 int aa = vps->getNumProfileTierLevel(); 1606 READ_UVLC( uiCode, "vps_num_profile_tier_level_minus1"); vps->setNumProfileTierLevel( uiCode + 1 ); 1610 1607 #endif 1611 1608 #if PER_LAYER_PTL … … 1627 1624 #if P0048_REMOVE_PROFILE_REF 1628 1625 // Copy profile information from previous one 1629 #if !MULTIPLE_PTL_SUPPORT 1626 #if MULTIPLE_PTL_SUPPORT 1627 vps->getPTL(idx)->copyProfileInfo( vps->getPTL( idx - 1 ) ); 1628 #else 1630 1629 vps->getPTLForExtn(idx)->copyProfileInfo( (idx==1) ? vps->getPTL() : vps->getPTLForExtn( idx - 1 ) ); 1631 #else1632 vps->getPTL(idx)->copyProfileInfo( vps->getPTL( idx - 1 ) );1633 1630 #endif 1634 1631 #else … … 1643 1640 #endif 1644 1641 } 1645 #if !MULTIPLE_PTL_SUPPORT 1642 #if MULTIPLE_PTL_SUPPORT 1643 parsePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 ); 1644 #else 1646 1645 parsePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 ); 1647 #else1648 parsePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );1649 1646 #endif 1650 1647 } … … 1691 1688 if( vps->getNumLayerSets() > 1 ) 1692 1689 { 1693 READ_UVLC( uiCode, "num_add_olss" ); 1694 vps->setNumAddOutputLayerSets( uiCode ); 1690 READ_UVLC( uiCode, "num_add_olss" ); vps->setNumAddOutputLayerSets( uiCode ); 1695 1691 READ_CODE( 2, uiCode, "default_output_layer_idc" ); vps->setDefaultTargetOutputLayerIdc( uiCode ); 1696 1692 } -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r941 r942 1088 1088 if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() ) 1089 1089 { 1090 #if !MULTIPLE_PTL_SUPPORT 1090 #if MULTIPLE_PTL_SUPPORT 1091 codePTL( vps->getPTL(1), false, vps->getMaxTLayers() - 1 ); 1092 #else 1091 1093 codePTL( vps->getPTLForExtn(1), false, vps->getMaxTLayers() - 1 ); 1092 #else1093 codePTL( vps->getPTL(1), false, vps->getMaxTLayers() - 1 );1094 1094 #endif 1095 1095 } … … 1258 1258 #endif 1259 1259 #if LIST_OF_PTL 1260 #if !MULTIPLE_PTL_SUPPORT 1260 #if MULTIPLE_PTL_SUPPORT 1261 //Do something here to make sure the loop is correct to consider base layer internal stuff 1262 #else 1261 1263 assert( vps->getNumProfileTierLevel() == vps->getPTLForExtnPtr()->size()); 1262 #else1263 //Do something here to make sure the loop is correct to consider base layer internal stuff1264 1264 #endif 1265 1265 for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx <= vps->getNumProfileTierLevel() - 1; idx++) … … 1278 1278 } 1279 1279 #endif 1280 #if !MULTIPLE_PTL_SUPPORT 1280 #if MULTIPLE_PTL_SUPPORT 1281 codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 ); 1282 #else 1281 1283 codePTL( vps->getPTLForExtn(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 ); 1282 #else1283 codePTL( vps->getPTL(idx), vps->getProfilePresentFlag(idx), vps->getMaxTLayers() - 1 );1284 1284 #endif 1285 1285 }
Note: See TracChangeset for help on using the changeset viewer.