Changeset 1275 in SHVCSoftware
- Timestamp:
- 16 Jul 2015, 00:29:30 (9 years ago)
- Location:
- branches/SHM-dev/source/Lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1265 r1275 1140 1140 } 1141 1141 parseVPSExtension(pcVPS); 1142 READ_FLAG( uiCode, "vps_e ntension2_flag" );1142 READ_FLAG( uiCode, "vps_extension2_flag" ); 1143 1143 if(uiCode) 1144 1144 { … … 2230 2230 } 2231 2231 else 2232 { 2232 { 2233 #if SVC_EXTENSION 2234 READ_FLAG( uiCode, PTL_TRACE_TEXT("inbld_flag" )); 2235 #else 2233 2236 READ_FLAG( uiCode, PTL_TRACE_TEXT("reserved_zero_bit" )); 2237 #endif 2234 2238 } 2235 2239 #undef PTL_TRACE_TEXT … … 3042 3046 READ_UVLC( uiCode, "direct_dep_type_len_minus2"); vps->setDirectDepTypeLen(uiCode+2); 3043 3047 3044 READ_FLAG(uiCode, "d efault_direct_dependency_type_flag");3048 READ_FLAG(uiCode, "direct_dependency_all_layers_flag"); 3045 3049 vps->setDefaultDirectDependecyTypeFlag(uiCode == 1? true : false); 3046 3050 3047 3051 if( vps->getDefaultDirectDependencyTypeFlag() ) 3048 3052 { 3049 READ_CODE( vps->getDirectDepTypeLen(), uiCode, "d efault_direct_dependency_type" );3053 READ_CODE( vps->getDirectDepTypeLen(), uiCode, "direct_dependency_all_layers_type" ); 3050 3054 vps->setDefaultDirectDependecyType(uiCode); 3051 3055 } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1270 r1275 958 958 resetPocRestrictionCheckParameters(); 959 959 960 markAllPicsAsNoCurrAu( m_apcSlicePilot->getVPS());960 markAllPicsAsNoCurrAu(vps); 961 961 962 962 for( UInt i = 0; i < MAX_LAYERS; i++ ) 963 963 { 964 m_ppcTDecTop[ m_apcSlicePilot->getVPS()->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false;964 m_ppcTDecTop[vps->getLayerIdInNuh(i)]->m_pocDecrementedInDPBFlag = false; 965 965 } 966 966 } … … 1056 1056 1057 1057 //Do the reset stuff here 1058 Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();1058 Int maxPocLsb = 1 << sps->getBitsForPOC(); 1059 1059 Int pocLsbVal; 1060 1060 if( m_apcSlicePilot->getPocResetIdc() == 3 ) … … 1143 1143 iPOCLastDisplay -= deltaPocVal; 1144 1144 } 1145 Int maxPocLsb = 1 << m_apcSlicePilot->getSPS()->getBitsForPOC();1145 Int maxPocLsb = 1 << sps->getBitsForPOC(); 1146 1146 Int slicePicOrderCntLsb = m_apcSlicePilot->getPicOrderCntLsb(); 1147 1147 -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1266 r1275 2100 2100 if( vps->getNecessaryLayerFlag(i, j) && (vps->getNumProfileTierLevel() - 1) > 0 ) 2101 2101 { 2102 WRITE_CODE( vps->getProfileLevelTierIdx(i, j), numBitsForPtlIdx, "profile_ level_tier_idx[i]" );2102 WRITE_CODE( vps->getProfileLevelTierIdx(i, j), numBitsForPtlIdx, "profile_tier_level_idx[i]" ); 2103 2103 } 2104 2104 } … … 2172 2172 WRITE_UVLC( vps->getDirectDepTypeLen()-2, "direct_dep_type_len_minus2"); 2173 2173 2174 WRITE_FLAG(vps->getDefaultDirectDependencyTypeFlag(), "d efault_direct_dependency_flag");2174 WRITE_FLAG(vps->getDefaultDirectDependencyTypeFlag(), "direct_dependency_all_layers_flag"); 2175 2175 2176 2176 if( vps->getDefaultDirectDependencyTypeFlag() ) 2177 2177 { 2178 WRITE_CODE( vps->getDefaultDirectDependencyType(), vps->getDirectDepTypeLen(), "d efault_direct_dependency_type" );2178 WRITE_CODE( vps->getDefaultDirectDependencyType(), vps->getDirectDepTypeLen(), "direct_dependency_all_layers_type" ); 2179 2179 } 2180 2180 else
Note: See TracChangeset for help on using the changeset viewer.