Changeset 854 in SHVCSoftware for branches/SHM-dev/source/Lib/TLibDecoder
- Timestamp:
- 7 Aug 2014, 00:07:58 (10 years ago)
- Location:
- branches/SHM-dev/source/Lib/TLibDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.cpp
r853 r854 54 54 Bool TDecTop::m_picNonIdrNoLpPresentFlag = false; 55 55 #endif 56 #if POC_RESET_VALUE_RESTRICTION 57 Int TDecTop::m_crossLayerPocResetPeriodId = -1; 58 Int TDecTop::m_crossLayerPocResetIdc = -1; 59 #endif 56 60 #endif 57 61 … … 1150 1154 m_parseIdc = 0; 1151 1155 } 1156 #if POC_RESET_VALUE_RESTRICTION 1157 // Check if the POC Reset period ID matches with the Reset Period ID 1158 if( pocResetPeriodId == m_crossLayerPocResetPeriodId ) 1159 { 1160 // If matching, and current poc_reset_idc = 3, then the values should match 1161 if( m_apcSlicePilot->getPocResetIdc() == 3 ) 1162 { 1163 assert( m_apcSlicePilot->getFullPocResetFlag() == false && m_crossLayerPocResetIdc == 1 1164 || m_apcSlicePilot->getFullPocResetFlag() == true && m_crossLayerPocResetIdc == 2 ); 1165 } 1166 } 1167 else 1168 { 1169 // This is the first picture of a POC resetting access unit 1170 m_crossLayerPocResetPeriodId = pocResetPeriodId; 1171 if( m_apcSlicePilot->getPocResetIdc() == 1 || m_apcSlicePilot->getPocResetIdc() == 2 ) 1172 { 1173 m_crossLayerPocResetIdc = m_apcSlicePilot->getPocResetIdc(); 1174 } 1175 else 1176 { // poc_reset_idc = 3 1177 // In this case, the entire POC resetting access unit has been lost. 1178 // Need more checking to ensure poc_reset_idc = 3 works. 1179 assert ( 0 ); 1180 } 1181 } 1182 #endif 1152 1183 } 1153 1184 else -
branches/SHM-dev/source/Lib/TLibDecoder/TDecTop.h
r851 r854 224 224 static Bool m_picNonIdrNoLpPresentFlag; 225 225 #endif 226 #if POC_RESET_VALUE_RESTRICTION 227 static Int m_crossLayerPocResetPeriodId; 228 static Int m_crossLayerPocResetIdc; 229 #endif 226 230 227 231 TDecTop();
Note: See TracChangeset for help on using the changeset viewer.