Changeset 559 in SHVCSoftware for branches/SHM-5.0-dev/source/Lib/TLibCommon
- Timestamp:
- 27 Jan 2014, 17:15:16 (11 years ago)
- Location:
- branches/SHM-5.0-dev/source/Lib/TLibCommon
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.cpp
r557 r559 128 128 m_colRefLayerIdx = 0; 129 129 #endif 130 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG131 m_numSamplePredRefLayers = 0;132 m_interLayerSamplePredOnlyFlag = false;133 #endif134 130 #endif //SVC_EXTENSION 135 131 … … 180 176 #else 181 177 m_numILRRefIdx = 0; 182 #endif183 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG184 m_numSamplePredRefLayers = 0;185 m_interLayerSamplePredOnlyFlag = false;186 178 #endif 187 179 #endif … … 410 402 pcRefPic->getPicYuvRec()->extendPicBorder(); 411 403 RefPicSetStCurr0[NumPocStCurr0] = pcRefPic; 412 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG413 if( !m_interLayerSamplePredOnlyFlag || pcRefPic->getLayerId() < getLayerId())414 #endif415 404 NumPocStCurr0++; 416 405 pcRefPic->setCheckLTMSBPresent(false); … … 426 415 pcRefPic->getPicYuvRec()->extendPicBorder(); 427 416 RefPicSetStCurr1[NumPocStCurr1] = pcRefPic; 428 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG429 if( !m_interLayerSamplePredOnlyFlag || pcRefPic->getLayerId() < getLayerId())430 #endif431 417 NumPocStCurr1++; 432 418 pcRefPic->setCheckLTMSBPresent(false); … … 442 428 pcRefPic->getPicYuvRec()->extendPicBorder(); 443 429 RefPicSetLtCurr[NumPocLtCurr] = pcRefPic; 444 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG445 if( !m_interLayerSamplePredOnlyFlag || pcRefPic->getLayerId() < getLayerId())446 #endif447 430 NumPocLtCurr++; 448 431 } … … 623 606 624 607 if (m_eSliceType == I_SLICE) 625 {608 { 626 609 ::memset( m_apcRefPicList, 0, sizeof (m_apcRefPicList)); 627 610 ::memset( m_aiNumRefIdx, 0, sizeof ( m_aiNumRefIdx )); 628 611 629 612 return; 630 613 } 631 614 632 615 assert(numPocTotalCurr > 0); 633 616 634 617 m_aiNumRefIdx[0] = getNumRefIdx(REF_PIC_LIST_0); 635 618 m_aiNumRefIdx[1] = getNumRefIdx(REF_PIC_LIST_1); 636 619 } 637 620 638 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG639 if( m_interLayerSamplePredOnlyFlag && getLayerId() )640 {641 m_aiNumRefIdx[0] = m_aiNumRefIdx[0] > m_activeNumILRRefIdx ? m_activeNumILRRefIdx : m_aiNumRefIdx[0];642 m_aiNumRefIdx[1] = m_aiNumRefIdx[1] > m_activeNumILRRefIdx ? m_activeNumILRRefIdx : m_aiNumRefIdx[1];643 }644 #endif645 646 621 Int cIdx = 0; 647 622 for ( i=0; i<NumPocStCurr0; i++, cIdx++) -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TComSlice.h
r558 r559 1923 1923 #endif 1924 1924 #endif 1925 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG1926 Int m_numSamplePredRefLayers;1927 Bool m_interLayerSamplePredOnlyFlag;1928 #endif1929 1925 #if POC_RESET_FLAG 1930 1926 Bool m_bPocResetFlag; … … 2202 2198 #endif 2203 2199 2204 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG2205 Int getNumSamplePredRefLayers ( ) { return m_numSamplePredRefLayers; }2206 Void setNumSamplePredRefLayers ( Int i ) { m_numSamplePredRefLayers = i; }2207 Bool getInterLayerSamplePredOnlyFlag( ) { return m_interLayerSamplePredOnlyFlag; }2208 Void setInterLayerSamplePredOnlyFlag( Bool val ) { m_interLayerSamplePredOnlyFlag = val; }2209 #endif2210 2211 2200 #if M0457_COL_PICTURE_SIGNALING 2212 2201 Void setNumMotionPredRefLayers(int i) { m_numMotionPredRefLayers = i; } -
branches/SHM-5.0-dev/source/Lib/TLibCommon/TypeDef.h
r558 r559 171 171 #define M0457_COL_PICTURE_SIGNALING 1 172 172 #define N0139_POSITION_ROUNDING_OFFSET 1 ///< JCTVC-N0139: offset for collocated block in motion mapping 173 #endif174 175 #if !VPS_EXTN_DIRECT_REF_LAYERS || !M0457_PREDICTION_INDICATIONS || !JCTVC_M0458_INTERLAYER_RPS_SIG176 #define M0457_IL_SAMPLE_PRED_ONLY_FLAG 0 ///< shall be 0, JCTVC-N0107177 #else178 #define M0457_IL_SAMPLE_PRED_ONLY_FLAG 0 ///< shall be 0, JCTVC-N0107179 173 #endif 180 174
Note: See TracChangeset for help on using the changeset viewer.