Changeset 1464 in SHVCSoftware
- Timestamp:
- 25 Aug 2015, 19:35:49 (9 years ago)
- Location:
- branches/SHM-dev/source
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-dev/source/App/TAppDecoder/TAppDecTop.cpp
r1460 r1464 1835 1835 1836 1836 maxDpbLimit.m_numAUsNotDisplayed = sps->getNumReorderPics( highestTId ); // m_numAUsNotDisplayed is only variable name - stores reorderpics 1837 maxDpbLimit.m_maxLatencyIncrease = sps->getMaxLatencyIncrease ( highestTId ) > 0;1837 maxDpbLimit.m_maxLatencyIncrease = sps->getMaxLatencyIncreasePlus1( highestTId ) > 0; 1838 1838 if( maxDpbLimit.m_maxLatencyIncrease ) 1839 1839 { 1840 maxDpbLimit.m_maxLatencyPictures = sps->getMaxLatencyIncrease ( highestTId ) + sps->getNumReorderPics( highestTId ) - 1;1840 maxDpbLimit.m_maxLatencyPictures = sps->getMaxLatencyIncreasePlus1( highestTId ) + sps->getNumReorderPics( highestTId ) - 1; 1841 1841 } 1842 1842 maxDpbLimit.m_numPicsInSubDpb[0] = sps->getMaxDecPicBuffering( highestTId ); -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.cpp
r1455 r1464 2063 2063 for ( Int i = 0; i < MAX_TLAYER; i++ ) 2064 2064 { 2065 m_uiMaxLatencyIncrease [i] = 0;2065 m_uiMaxLatencyIncreasePlus1[i] = 0; 2066 2066 m_uiMaxDecPicBuffering[i] = 1; 2067 2067 m_numReorderPics[i] = 0; -
branches/SHM-dev/source/Lib/TLibCommon/TComSlice.h
r1442 r1464 1424 1424 TComScalingList m_scalingList; 1425 1425 UInt m_uiMaxDecPicBuffering[MAX_TLAYER]; 1426 UInt m_uiMaxLatencyIncrease [MAX_TLAYER]; // Really max latency increase plus 1 (value 0 expresses no limit)1426 UInt m_uiMaxLatencyIncreasePlus1[MAX_TLAYER]; 1427 1427 1428 1428 Bool m_useStrongIntraSmoothing; … … 1569 1569 UInt getMaxDecPicBuffering(UInt tlayer) const { return m_uiMaxDecPicBuffering[tlayer]; } 1570 1570 Void setMaxDecPicBuffering( UInt ui, UInt tlayer ) { assert(tlayer < MAX_TLAYER); m_uiMaxDecPicBuffering[tlayer] = ui; } 1571 UInt getMaxLatencyIncrease (UInt tlayer) const { return m_uiMaxLatencyIncrease[tlayer];}1572 Void setMaxLatencyIncrease ( UInt ui , UInt tlayer) { m_uiMaxLatencyIncrease[tlayer] = ui;}1571 UInt getMaxLatencyIncreasePlus1(UInt tlayer) const { return m_uiMaxLatencyIncreasePlus1[tlayer]; } 1572 Void setMaxLatencyIncreasePlus1( UInt ui , UInt tlayer) { m_uiMaxLatencyIncreasePlus1[tlayer] = ui; } 1573 1573 1574 1574 Void setUseStrongIntraSmoothing(Bool bVal) { m_useStrongIntraSmoothing = bVal; } -
branches/SHM-dev/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1461 r1464 716 716 #endif 717 717 READ_FLAG( uiCode, "sps_temporal_id_nesting_flag" ); pcSPS->setTemporalIdNestingFlag ( uiCode > 0 ? true : false ); 718 parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1); 719 #if SVC_EXTENSION 718 #if SVC_EXTENSION 719 parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1); 720 720 } 721 721 #else … … 725 725 assert( uiCode == 1 ); 726 726 } 727 #endif 728 727 728 parsePTL(pcSPS->getPTL(), 1, pcSPS->getMaxTLayers() - 1); 729 #endif 729 730 READ_UVLC( uiCode, "sps_seq_parameter_set_id" ); pcSPS->setSPSId( uiCode ); 730 731 assert(uiCode <= 15); … … 829 830 pcSPS->setNumReorderPics(uiCode, i); 830 831 READ_UVLC ( uiCode, "sps_max_latency_increase_plus1[i]"); 831 pcSPS->setMaxLatencyIncrease ( uiCode, i );832 pcSPS->setMaxLatencyIncreasePlus1( uiCode, i ); 832 833 833 834 if (!subLayerOrderingInfoPresentFlag) … … 837 838 pcSPS->setMaxDecPicBuffering(pcSPS->getMaxDecPicBuffering(0), i); 838 839 pcSPS->setNumReorderPics(pcSPS->getNumReorderPics(0), i); 839 pcSPS->setMaxLatencyIncrease (pcSPS->getMaxLatencyIncrease(0), i);840 pcSPS->setMaxLatencyIncreasePlus1(pcSPS->getMaxLatencyIncreasePlus1(0), i); 840 841 } 841 842 break; … … 2235 2236 } 2236 2237 else 2237 { 2238 { 2238 2239 #if SVC_EXTENSION 2239 2240 READ_FLAG( uiCode, PTL_TRACE_TEXT("inbld_flag" )); -
branches/SHM-dev/source/Lib/TLibEncoder/TEncCavlc.cpp
r1442 r1464 641 641 WRITE_UVLC( pcSPS->getMaxDecPicBuffering(i) - 1, "sps_max_dec_pic_buffering_minus1[i]" ); 642 642 WRITE_UVLC( pcSPS->getNumReorderPics(i), "sps_max_num_reorder_pics[i]" ); 643 WRITE_UVLC( pcSPS->getMaxLatencyIncrease (i),"sps_max_latency_increase_plus1[i]" );643 WRITE_UVLC( pcSPS->getMaxLatencyIncreasePlus1(i), "sps_max_latency_increase_plus1[i]" ); 644 644 if (!subLayerOrderingInfoPresentFlag) 645 645 {
Note: See TracChangeset for help on using the changeset viewer.