Changeset 564 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
- Timestamp:
- 27 Jan 2014, 17:54:11 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r562 r564 117 117 #if SVC_EXTENSION 118 118 memset( m_pcBaseColPic, 0, sizeof( m_pcBaseColPic ) ); 119 #if JCTVC_M0458_INTERLAYER_RPS_SIG120 119 m_activeNumILRRefIdx = 0; 121 120 m_interLayerPredEnabledFlag = 0; 122 121 ::memset( m_interLayerPredLayerIdc, 0, sizeof(m_interLayerPredLayerIdc) ); 123 #else124 m_numILRRefIdx = 0;125 #endif126 122 #endif //SVC_EXTENSION 127 123 … … 167 163 #if SVC_EXTENSION 168 164 m_layerId = layerId; 169 #if JCTVC_M0458_INTERLAYER_RPS_SIG170 165 m_activeNumILRRefIdx = 0; 171 166 m_interLayerPredEnabledFlag = 0; 172 #else173 m_numILRRefIdx = 0;174 #endif175 167 #endif 176 168 m_aiNumRefIdx[0] = 0; … … 485 477 } 486 478 } 487 #if JCTVC_M0458_INTERLAYER_RPS_SIG488 479 if (numInterLayerRPSPics < m_activeNumILRRefIdx) 489 480 { … … 564 555 #endif 565 556 } 566 #endif 567 #else 568 if (numInterLayerRPSPics < m_numILRRefIdx) 569 { 570 m_numILRRefIdx = numInterLayerRPSPics; 571 } 572 #endif 573 } 574 #if JCTVC_M0458_INTERLAYER_RPS_SIG 557 #endif 558 } 575 559 Int numPocTotalCurr = NumPocStCurr0 + NumPocStCurr1 + NumPocLtCurr + m_activeNumILRRefIdx; 576 #else577 Int numPocTotalCurr = NumPocStCurr0 + NumPocStCurr1 + NumPocLtCurr + m_numILRRefIdx;578 #endif579 560 #else //SVC_EXTENSION 580 561 Int numPocTotalCurr = NumPocStCurr0 + NumPocStCurr1 + NumPocLtCurr; … … 620 601 if( m_layerId > 0 ) 621 602 { 622 #if JCTVC_M0458_INTERLAYER_RPS_SIG623 603 for( i = 0; i < m_activeNumILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++) 624 #else625 for( i = 0; i < m_numILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++)626 #endif627 604 { 628 605 Int refLayerIdc = m_interLayerPredLayerIdc[i]; … … 652 629 if( m_layerId > 0 ) 653 630 { 654 #if JCTVC_M0458_INTERLAYER_RPS_SIG655 631 for( i = 0; i < m_activeNumILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++) 656 #else657 for( i = 0; i < m_numILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++)658 #endif659 632 { 660 633 Int refLayerIdc = m_interLayerPredLayerIdc[i]; … … 693 666 if( m_layerId > 0 ) 694 667 { 695 #if JCTVC_M0458_INTERLAYER_RPS_SIG696 668 for( i = 0; i < m_activeNumILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++) 697 #else698 for( i = 0; i < m_numILRRefIdx && cIdx < numPocTotalCurr; cIdx ++, i ++)699 #endif700 669 { 701 670 Int refLayerIdc = m_interLayerPredLayerIdc[i]; … … 799 768 else 800 769 { 801 #if JCTVC_M0458_INTERLAYER_RPS_SIG802 770 for(Int i = m_activeNumILRRefIdx; i > 0; i-- ) 803 #else804 for(Int i = m_numILRRefIdx; i > 0; i-- )805 #endif806 771 { 807 772 #if RPL_INIT_N0316_N0082 … … 848 813 else 849 814 { 850 #if JCTVC_M0458_INTERLAYER_RPS_SIG851 815 for(Int i = m_activeNumILRRefIdx; i > 0; i-- ) 852 #else853 for(Int i = m_numILRRefIdx; i > 0; i-- )854 #endif855 816 { 856 817 refPicListModification->setRefPicSetIdxL1(m_aiNumRefIdx[REF_PIC_LIST_1] - i, numberOfRpsCurrTempList - i); … … 894 855 { 895 856 #if SVC_EXTENSION 896 #if JCTVC_M0458_INTERLAYER_RPS_SIG897 857 return m_activeNumILRRefIdx; 898 #else899 return getNumILRRefIdx();900 #endif901 858 #else 902 859 return 0; … … 913 870 if( m_layerId > 0 ) 914 871 { 915 #if JCTVC_M0458_INTERLAYER_RPS_SIG916 872 numRpsCurrTempList += m_activeNumILRRefIdx; 917 #else918 numRpsCurrTempList += getNumILRRefIdx();919 #endif920 873 } 921 874 #endif … … 1146 1099 m_pcVPS = pSrc->m_pcVPS; 1147 1100 m_layerId = pSrc->m_layerId; 1148 #if JCTVC_M0458_INTERLAYER_RPS_SIG1149 1101 m_activeNumILRRefIdx = pSrc->m_activeNumILRRefIdx; 1150 1102 m_interLayerPredEnabledFlag = pSrc->m_interLayerPredEnabledFlag; 1151 1103 memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) ); 1152 #endif1153 1104 #endif 1154 1105 m_pcSPS = pSrc->m_pcSPS; … … 2076 2027 #endif 2077 2028 ::memset(m_profileLevelTierIdx, 0, sizeof(m_profileLevelTierIdx)); 2078 #if JCTVC_M0458_INTERLAYER_RPS_SIG2079 2029 m_maxOneActiveRefLayerFlag = true; 2080 #endif2081 2030 #if O0062_POC_LSB_NOT_PRESENT_FLAG 2082 2031 ::memset(m_pocLsbNotPresentFlag, 0, sizeof(m_pocLsbNotPresentFlag));
Note: See TracChangeset for help on using the changeset viewer.