Changeset 1169 in SHVCSoftware
- Timestamp:
- 8 Jul 2015, 01:20:27 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppEncoder/TAppEncTop.cpp
r1162 r1169 1424 1424 } 1425 1425 } 1426 vps->setIlpSshSignalingEnabledFlag(false); 1427 #if VPS_EXTN_PROFILE_INFO 1428 #if !MULTIPLE_PTL_SUPPORT 1429 #if LIST_OF_PTL 1430 vps->getPTLForExtnPtr()->resize(1); // Dummy object - unused. 1431 for(i = 0; i < vps->getMaxLayers(); i++) 1432 { 1433 // TODO: The profile tier level have to be given support to be included in the configuration files 1434 if(i == 0) 1435 { 1436 if( vps->getBaseLayerInternalFlag() && vps->getMaxLayers() > 1 ) 1437 { 1438 vps->setProfilePresentFlag(1, false); 1439 vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) ); 1440 } 1441 } 1442 else // i > 0 1443 { 1444 vps->setProfilePresentFlag(i, true); 1445 // Note - may need to be changed for other layer structures. 1446 vps->getPTLForExtnPtr()->push_back( *(m_acTEncTop[0].getSPS()->getPTL()) ); 1447 } 1448 } 1449 #else 1450 vps->getPTLForExtnPtr()->resize(vps->getNumLayerSets()); 1451 for(Int setId = 1; setId < vps->getNumLayerSets(); setId++) 1452 { 1453 vps->setProfilePresentFlag(setId, true); 1454 // Note - may need to be changed for other layer structures. 1455 *(vps->getPTLForExtn(setId)) = *(m_acTEncTop[setId].getSPS()->getPTL()); 1456 } 1457 #endif 1458 #endif 1459 #endif 1426 1427 vps->setIlpSshSignalingEnabledFlag(false); 1460 1428 1461 1429 // Direct reference layers … … 1556 1524 } 1557 1525 } 1558 1526 #endif 1559 1527 // Target output layer 1560 #if !MULTIPLE_PTL_SUPPORT1561 #if LIST_OF_PTL1562 vps->setNumProfileTierLevel( vps->getPTLForExtnPtr()->size() ); // +1 for the base VPS PTL()1563 #else1564 vps->setNumOutputLayerSets(vps->getNumLayerSets());1565 vps->setNumProfileTierLevel(vps->getNumLayerSets());1566 #endif1567 #endif1568 #endif1569 1528 #if VPS_DPB_SIZE_TABLE 1570 1529 vps->deriveNumberOfSubDpbs(); -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1168 r1169 53 53 #define POC_RESET_VALUE_RESTRICTION 1 ///< R0223: Restriction on the value of full_poc_reset_flag 54 54 #define PTL_SIGNALLING 1 ///< Overall macro for all PTL-related signalling 55 #if PTL_SIGNALLING 56 #define LIST_OF_PTL 1 ///< JCTVC-R0272: Signalling the PTL for the 0-th OLS 57 #endif 55 58 56 #define BSP_INIT_ARRIVAL_SEI 1 ///< JCTVC-R0231: Make signalling of vcl_initial_arrival_delay independent of NalHrdBpPresentFlag 59 57 #define VPS_VUI_BSP_HRD_PARAMS 1 ///< JCTVC-R0231: Define the VPS VUI BSP hrd_params() as a separate function, and apply changes adopted. -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1168 r1169 2672 2672 Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1]; 2673 2673 Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1]; 2674 #if LIST_OF_PTL 2674 2675 2675 if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() ) 2676 2676 { … … 2685 2685 #endif 2686 2686 } 2687 #endif2688 2687 2689 2688 UInt numScalabilityTypes = 0, i = 0, j = 0; … … 2876 2875 vps->getPTLForExtnPtr()->resize(vps->getNumProfileTierLevel()); 2877 2876 #endif 2878 #if LIST_OF_PTL 2877 2879 2878 for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx < vps->getNumProfileTierLevel(); idx++) 2880 #else2881 for(Int idx = 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)2882 #endif2883 2879 { 2884 2880 READ_FLAG( uiCode, "vps_profile_present_flag[i]" ); vps->setProfilePresentFlag(idx, uiCode ? true : false); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1168 r1169 1984 1984 Int NumOutputLayersInOutputLayerSet[MAX_VPS_LAYER_SETS_PLUS1]; 1985 1985 Int OlsHighestOutputLayerId[MAX_VPS_LAYER_SETS_PLUS1]; 1986 #if LIST_OF_PTL 1986 1987 1987 if( vps->getMaxLayers() > 1 && vps->getBaseLayerInternalFlag() ) 1988 1988 { … … 1993 1993 #endif 1994 1994 } 1995 #endif1996 1995 1997 1996 UInt i = 0, j = 0; … … 2124 2123 Int const numBitsForPtlIdx = vps->calculateLenOfSyntaxElement( vps->getNumProfileTierLevel() ); 2125 2124 2126 #if LIST_OF_PTL2127 2125 #if MULTIPLE_PTL_SUPPORT 2128 2126 //Do something here to make sure the loop is correct to consider base layer internal stuff … … 2131 2129 #endif 2132 2130 for(Int idx = vps->getBaseLayerInternalFlag() ? 2 : 1; idx < vps->getNumProfileTierLevel(); idx++) 2133 #else2134 for(Int idx = 1; idx <= vps->getNumProfileTierLevel() - 1; idx++)2135 #endif2136 2131 { 2137 2132 #if MULTIPLE_PTL_SUPPORT
Note: See TracChangeset for help on using the changeset viewer.