Changeset 377 in SHVCSoftware for branches/SHM-3.1-dev/source/Lib/TLibCommon
- Timestamp:
- 30 Aug 2013, 03:29:41 (11 years ago)
- Location:
- branches/SHM-3.1-dev/source/Lib/TLibCommon
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComDataCU.h
r375 r377 516 516 UInt& getTotalBins () { return m_uiTotalBins; } 517 517 518 #if REF_IDX_FRAMEWORK518 #if SVC_EXTENSION 519 519 #if FAST_INTRA_SHVC 520 520 Int reduceSetOfIntraModes ( UInt uiAbsPartIdx, Int* uiIntraDirPred, Int &fullSetOfModes ); … … 538 538 UInt getCoefScanIdx(UInt uiAbsPartIdx, UInt uiWidth, Bool bIsLuma, Bool bIsIntra); 539 539 540 #if REF_IDX_FRAMEWORK540 #if SVC_EXTENSION 541 541 #if SVC_COL_BLK 542 542 TComDataCU* getBaseColCU( UInt refLayerIdc, UInt uiCuAbsPartIdx, UInt &uiCUAddrBase, UInt &uiAbsPartIdxBase, Int iMotionMapping = 0 ); -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPic.cpp
r375 r377 524 524 } 525 525 526 #if REF_IDX_FRAMEWORK526 #if SVC_EXTENSION 527 527 Void copyOnetoOnePicture( // SVC_NONCOLL 528 528 Pel *in, -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPic.h
r313 r377 207 207 const SEIMessages& getSEIs() const { return m_SEIs; } 208 208 209 #if REF_IDX_FRAMEWORK209 #if SVC_EXTENSION 210 210 Void copyUpsampledPictureYuv(TComPicYuv* pcPicYuvIn, TComPicYuv* pcPicYuvOut); 211 #endif212 211 #if AVC_SYNTAX 213 212 Void readBLSyntax( fstream* filestream, UInt numBytes ); 214 213 #endif 214 #endif 215 215 #if SYNTAX_OUTPUT 216 216 Void wrireBLSyntax( fstream* filestream, UInt numBytes ); -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPicSym.cpp
r313 r377 147 147 m_apcTComDataCU = NULL; 148 148 149 #if AVC_BASE || REF_IDX_FRAMEWORK149 #if SVC_EXTENSION 150 150 if( m_apcTComTile ) 151 151 { … … 156 156 } 157 157 delete [] m_apcTComTile; 158 #if AVC_BASE || REF_IDX_FRAMEWORK158 #if SVC_EXTENSION 159 159 } 160 160 #endif -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComPrediction.h
r345 r377 118 118 Int getPredicBufHeight() { return m_iYuvExtHeight; } 119 119 120 #if REF_IDX_FRAMEWORK120 #if SVC_EXTENSION 121 121 #if SVC_UPSAMPLING 122 122 #if SCALED_REF_LAYER_OFFSETS -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.cpp
r376 r377 116 116 #if SVC_EXTENSION 117 117 memset( m_pcBaseColPic, 0, sizeof( m_pcBaseColPic ) ); 118 #if REF_IDX_FRAMEWORK119 118 #if JCTVC_M0458_INTERLAYER_RPS_SIG 120 119 m_activeNumILRRefIdx = 0; … … 133 132 #endif 134 133 #endif 135 #endif136 134 137 135 initEqualRef(); … … 168 166 #if SVC_EXTENSION 169 167 m_layerId = layerId; 170 #endif171 m_aiNumRefIdx[0] = 0;172 m_aiNumRefIdx[1] = 0;173 #if REF_IDX_FRAMEWORK174 168 #if JCTVC_M0458_INTERLAYER_RPS_SIG 175 169 m_activeNumILRRefIdx = 0; … … 177 171 #else 178 172 m_numILRRefIdx = 0; 179 #endif 173 #endif 180 174 #if M0457_IL_SAMPLE_PRED_ONLY_FLAG 181 175 m_numSamplePredRefLayers = 0; … … 183 177 #endif 184 178 #endif 179 m_aiNumRefIdx[0] = 0; 180 m_aiNumRefIdx[1] = 0; 185 181 m_colFromL0Flag = 1; 186 182 … … 384 380 Int i; 385 381 386 #if REF_IDX_FRAMEWORK382 #if SVC_EXTENSION 387 383 if( m_layerId == 0 || ( m_layerId > 0 && ( m_activeNumILRRefIdx == 0 || !((getNalUnitType() >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && (getNalUnitType() <= NAL_UNIT_CODED_SLICE_CRA)) ) ) ) 388 384 { … … 439 435 pcRefPic->setCheckLTMSBPresent(m_pcRPS->getCheckLTMSBPresent(i)); 440 436 } 441 #if REF_IDX_FRAMEWORK442 } 443 #endif 444 445 #if REF_IDX_FRAMEWORK437 #if SVC_EXTENSION 438 } 439 #endif 440 441 #if SVC_EXTENSION 446 442 for( i = 0; i < m_activeNumILRRefIdx; i++ ) 447 443 { … … 477 473 TComPic* rpsCurrList0[MAX_NUM_REF+1]; 478 474 TComPic* rpsCurrList1[MAX_NUM_REF+1]; 479 #if REF_IDX_FRAMEWORK475 #if SVC_EXTENSION 480 476 #if ILR_RESTR 481 477 Int numInterLayerRPSPics = 0; … … 584 580 rpsCurrList0[cIdx] = RefPicSetStCurr0[i]; 585 581 } 582 #if SVC_EXTENSION 586 583 #if RPL_INIT_N0316_N0082 587 #if REF_IDX_FRAMEWORK588 584 if( m_layerId > 0 ) 589 585 { … … 613 609 } 614 610 #if !RPL_INIT_N0316_N0082 615 #if REF_IDX_FRAMEWORK611 #if SVC_EXTENSION 616 612 if( m_layerId > 0 ) 617 613 { … … 650 646 } 651 647 652 #if REF_IDX_FRAMEWORK648 #if SVC_EXTENSION 653 649 if( m_layerId > 0 ) 654 650 { … … 702 698 } 703 699 704 #if REF_IDX_FRAMEWORK700 #if SVC_EXTENSION 705 701 Void TComSlice::setRefPicListModificationSvc() 706 702 { … … 832 828 Int numRpsCurrTempList = 0; 833 829 834 #if REF_IDX_FRAMEWORK830 #if SVC_EXTENSION 835 831 if( m_eSliceType == I_SLICE || ( m_pcSPS->getLayerId() && 836 832 (m_eNalUnitType >= NAL_UNIT_CODED_SLICE_BLA_W_LP) && … … 840 836 #endif 841 837 { 842 #if REF_IDX_FRAMEWORK838 #if SVC_EXTENSION 843 839 #if JCTVC_M0458_INTERLAYER_RPS_SIG 844 840 return m_activeNumILRRefIdx; … … 857 853 } 858 854 } 859 #if REF_IDX_FRAMEWORK855 #if SVC_EXTENSION 860 856 if( m_layerId > 0 ) 861 857 { … … 1080 1076 m_interLayerPredEnabledFlag = pSrc->m_interLayerPredEnabledFlag; 1081 1077 memcpy( m_interLayerPredLayerIdc, pSrc->m_interLayerPredLayerIdc, sizeof( m_interLayerPredLayerIdc ) ); 1082 #elif REF_IDX_FRAMEWORK1083 m_numILRRefIdx = pSrc->m_numILRRefIdx;1084 1078 #endif 1085 1079 #endif -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TComSlice.h
r345 r377 1404 1404 Int m_interLayerPredLayerIdc [MAX_VPS_LAYER_ID_PLUS1]; 1405 1405 #else 1406 #if REF_IDX_FRAMEWORK1406 #if SVC_EXTENSION 1407 1407 Int m_numILRRefIdx; //< for inter-layer reference picture ser 1408 1408 #endif … … 1460 1460 TComPic* m_pcBaseColPic[MAX_LAYERS]; 1461 1461 TComPicYuv* m_pcFullPelBaseRec[MAX_LAYERS]; 1462 #if REF_IDX_FRAMEWORK &&M0457_COL_PICTURE_SIGNALING1462 #if M0457_COL_PICTURE_SIGNALING 1463 1463 Int m_numMotionPredRefLayers; 1464 1464 #if REF_IDX_MFM … … 1761 1761 #endif 1762 1762 1763 #if REF_IDX_FRAMEWORK1764 1763 Void setRefPicListModificationSvc(); 1765 1764 Int getNumILRRefIdx ( ) { return m_pcVPS->getNumDirectRefLayers( m_layerId ); } … … 1789 1788 #endif 1790 1789 1791 #if REF_IDX_FRAMEWORK &&M0457_COL_PICTURE_SIGNALING1790 #if M0457_COL_PICTURE_SIGNALING 1792 1791 Void setNumMotionPredRefLayers(int i) { m_numMotionPredRefLayers = i; } 1793 1792 Int getNumMotionPredRefLayers() { return m_numMotionPredRefLayers; } … … 1806 1805 #endif 1807 1806 1808 #else1809 // temporal solution for IntraBL. Only one reference layer is supported.1810 Int getActiveNumILRRefIdx ( ) { return 1; }1811 Int getInterLayerPredLayerIdc (UInt layerIdx) { return m_layerId - 1;}1812 Void setActiveNumILRRefIdx ( Int i ) {}1813 Void setInterLayerPredEnabledFlag( Bool val ) {}1814 #endif1815 1816 1807 TComPic* getRefPic(TComList<TComPic*>& rcListPic, Int poc) { return xGetRefPic( rcListPic, poc ); } 1817 1808 -
branches/SHM-3.1-dev/source/Lib/TLibCommon/TypeDef.h
r376 r377 93 93 #define ILP_RAP 1 ///< JCTVC-M0208 proposal 3 94 94 95 #define REF_IDX_FRAMEWORK 1 ///< inter-layer reference framework96 97 95 #define IDR_ALIGNMENT 1 ///< align IDR picures across layers 98 96 … … 102 100 #endif 103 101 104 #if REF_IDX_FRAMEWORK105 102 #define REF_IDX_ME_ZEROMV 1 ///< L0051: use zero motion for inter-layer reference picture (without fractional ME) 106 103 #define ENCODER_FAST_MODE 1 ///< L0174: enable encoder fast mode. TestMethod 1 is enabled by setting to 1 and TestMethod 2 is enable by setting to 2. By default it is set to 1. … … 127 124 #else 128 125 #define M0457_IL_SAMPLE_PRED_ONLY_FLAG 0 ///< shall be 0, JCTVC-N0107 129 #endif130 126 #endif 131 127
Note: See TracChangeset for help on using the changeset viewer.