Changeset 1486 in SHVCSoftware
- Timestamp:
- 20 Nov 2015, 17:22:56 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1485 r1486 1961 1961 } 1962 1962 1963 #if CONFORMANCE_BITSTREAM_FIX 1964 if (!vps) return; 1965 #else 1963 1966 assert( vps != NULL ); // No picture in any DPB? 1967 #endif 1964 1968 std::sort( listOfPocs.begin(), listOfPocs.end() ); // Sort in increasing order of POC 1965 1969 Int targetLsIdx = vps->getOutputLayerSetIdx( getCommonDecoderParams()->getTargetOutputLayerSetIdx() ); -
branches/SHM-dev/source/Lib/TLibCommon/TypeDef.h
r1475 r1486 68 68 #define NO_CLRAS_OUTPUT_FLAG 1 69 69 70 #define CONFORMANCE_BITSTREAM_FIX 1 70 71 /// scalability types 71 72 enum ScalabilityType -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r1485 r1486 847 847 } 848 848 849 #if !CONFORMANCE_BITSTREAM_FIX //This update previous Tid0 POC is moved down and invoke only after the POC derivation has been finalized 849 850 xUpdatePreviousTid0POC(m_apcSlicePilot); 851 #endif 850 852 851 853 m_apcSlicePilot->setAssociatedIRAPPOC(m_pocCRA); … … 908 910 Int iMaxPOClsb = 1 << sps->getBitsForPOC(); 909 911 m_apcSlicePilot->setPOC( m_apcSlicePilot->getPOC() & (iMaxPOClsb - 1) ); 912 #if !CONFORMANCE_BITSTREAM_FIX //This update previous Tid0 POC is moved down and invoke only after the POC derivation has been finalized 910 913 xUpdatePreviousTid0POC(m_apcSlicePilot); 914 #endif 911 915 } 912 916 … … 1035 1039 } 1036 1040 1041 #if CONFORMANCE_BITSTREAM_FIX 1042 if( m_apcSlicePilot->getPocResetIdc() && m_apcSlicePilot->getFirstSliceInPic() ) 1043 #else 1037 1044 if( m_apcSlicePilot->getPocResetIdc() && m_apcSlicePilot->getSliceIdx() == 0 ) 1045 #endif 1038 1046 { 1039 1047 Int pocResetPeriodId = m_apcSlicePilot->getPocResetPeriodId(); … … 1237 1245 } 1238 1246 1247 #if CONFORMANCE_BITSTREAM_FIX 1248 xUpdatePreviousTid0POC(m_apcSlicePilot); 1249 #endif 1250 1239 1251 if( m_parseIdc == 1 || m_parseIdc == 3) 1240 1252 { … … 1242 1254 if( !m_apcSlicePilot->getRaslPicFlag() 1243 1255 && !m_apcSlicePilot->getRadlPicFlag() 1244 && (m_apcSlicePilot->getNalUnitType() % 2 == 1) 1256 && (m_apcSlicePilot->getNalUnitType() % 2 == 1 1257 #if CONFORMANCE_BITSTREAM_FIX 1258 || (m_apcSlicePilot->getNalUnitType() > 15 && m_apcSlicePilot->getNalUnitType() < 24)) 1259 #else 1260 ) 1261 #endif 1245 1262 && ( nalu.m_temporalId == 0 ) 1246 1263 && !m_apcSlicePilot->getDiscardableFlag() )
Note: See TracChangeset for help on using the changeset viewer.