Changeset 1227 in 3DVCSoftware for branches/HTM-14.1-update-dev1-RWTH/source
- Timestamp:
- 22 May 2015, 15:07:56 (10 years ago)
- Location:
- branches/HTM-14.1-update-dev1-RWTH/source
- Files:
-
- 25 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1-RWTH/source/App/TAppEncoder/TAppEncCfg.cpp
r1224 r1227 2089 2089 2090 2090 // FJ: this should be removed as soon as Inter-SDC is fully implemented 2091 #if !NH_3D_ INTER_SDC2091 #if !NH_3D_SDC_INTER 2092 2092 m_interSdcFlag = false; 2093 2093 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/ContextTables.h
r1221 r1227 177 177 #define NUM_DMM_MODE_CTX 1 ///< number of context models for DMM modes 178 178 #endif 179 #if NH_3D_DMM || NH_3D_ INTRA_SDC179 #if NH_3D_DMM || NH_3D_SDC_INTRA 180 180 #define NUM_DDC_DATA_CTX 1 ///< number of context models for deltaDC data (DMM or SDC) 181 181 #endif 182 #if NH_3D_ INTRA_SDC182 #if NH_3D_SDC_INTRA 183 183 #define SDC_NUM_RESIDUAL_FLAG_CTX 1 184 184 #define SDC_NUM_RESIDUAL_CTX 1 … … 577 577 }; 578 578 #endif 579 #if NH_3D_DMM || NH_3D_ INTRA_SDC579 #if NH_3D_DMM || NH_3D_SDC_INTRA 580 580 static const UChar 581 581 INIT_DDC_DATA[3][NUM_DDC_DATA_CTX] = … … 586 586 }; 587 587 #endif 588 #if NH_3D_ INTRA_SDC588 #if NH_3D_SDC_INTRA 589 589 static const UChar 590 590 INIT_SDC_RESIDUAL_FLAG[3][SDC_NUM_RESIDUAL_FLAG_CTX] = -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComCodingStatistics.h
r1221 r1227 93 93 STATS__CABAC_BITS__ALIGNED_ESCAPE_BITS, 94 94 95 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC95 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 96 96 STATS__CABAC_BITS__DELTADC_SIGN_EP, 97 97 STATS__CABAC_BITS__DELTADC_PREFIX, … … 154 154 "CABAC_BITS__ALIGNED_SIGN_BIT", 155 155 "CABAC_BITS__ALIGNED_ESCAPE_BITS" 156 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC156 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 157 157 ,"STATS__CABAC_BITS__DELTADC_SIGN_EP" 158 158 ,"STATS__CABAC_BITS__DELTADC_PREFIX" -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComDataCU.cpp
r1221 r1227 112 112 m_dmm1WedgeTabIdx = NULL; 113 113 #endif 114 #if NH_3D_ INTRA_SDC114 #if NH_3D_SDC_INTRA 115 115 m_pbSDCFlag = NULL; 116 116 m_apSegmentDCOffset[0] = NULL; … … 258 258 m_dmm1WedgeTabIdx = (UInt*)xMalloc(UInt, uiNumPartition); 259 259 #endif 260 #if NH_3D_ INTRA_SDC260 #if NH_3D_SDC_INTRA 261 261 m_pbSDCFlag = (Bool*)xMalloc(Bool, uiNumPartition); 262 262 m_apSegmentDCOffset[0] = (Pel*)xMalloc(Pel, uiNumPartition); … … 473 473 if ( m_dmm1WedgeTabIdx ) { xFree( m_dmm1WedgeTabIdx ); m_dmm1WedgeTabIdx = NULL; } 474 474 #endif 475 #if NH_3D_ INTRA_SDC475 #if NH_3D_SDC_INTRA 476 476 if ( m_pbSDCFlag ) { xFree(m_pbSDCFlag); m_pbSDCFlag = NULL; } 477 477 if ( m_apSegmentDCOffset[0] ) { xFree(m_apSegmentDCOffset[0]); m_apSegmentDCOffset[0] = NULL; } … … 614 614 m_pbSPIVMPFlag[ui] = pcFrom->m_pbSPIVMPFlag[ui]; 615 615 #endif 616 #if NH_3D_ INTRA_SDC616 #if NH_3D_SDC_INTRA 617 617 memset( m_pbSDCFlag, false, m_uiNumPartition * sizeof( *m_pbSDCFlag ) ); 618 618 #endif … … 653 653 memset( m_dmm1WedgeTabIdx, 0, m_uiNumPartition * sizeof( *m_dmm1WedgeTabIdx ) ); 654 654 #endif 655 #if NH_3D_ INTRA_SDC655 #if NH_3D_SDC_INTRA 656 656 memset( m_pbSDCFlag, false, m_uiNumPartition * sizeof( *m_pbSDCFlag ) ); 657 657 memset( m_apSegmentDCOffset[0], 0, m_uiNumPartition * sizeof( *m_apSegmentDCOffset[0] ) ); … … 811 811 m_dmm1WedgeTabIdx [ui] = 0; 812 812 #endif 813 #if NH_3D_ INTRA_SDC813 #if NH_3D_SDC_INTRA 814 814 m_pbSDCFlag [ui] = false; 815 815 m_apSegmentDCOffset[0][ui] = 0; … … 917 917 memset( m_dmm1WedgeTabIdx, 0, sizeof(UInt) * m_uiNumPartition ); 918 918 #endif 919 #if NH_3D_ INTRA_SDC919 #if NH_3D_SDC_INTRA 920 920 memset( m_pbSDCFlag, 0, sizeof(Bool) * m_uiNumPartition ); 921 921 memset( m_apSegmentDCOffset[0], 0, sizeof(Pel) * m_uiNumPartition ); … … 974 974 m_dmm1WedgeTabIdx [ui] = pcCU->m_dmm1WedgeTabIdx [uiPartOffset+ui]; 975 975 #endif 976 #if NH_3D_ INTRA_SDC976 #if NH_3D_SDC_INTRA 977 977 m_pbSDCFlag [ui] = pcCU->m_pbSDCFlag [ uiPartOffset + ui ]; 978 978 m_apSegmentDCOffset[0][ui] = pcCU->m_apSegmentDCOffset[0] [ uiPartOffset + ui ]; … … 1092 1092 m_dmm1WedgeTabIdx = pcCU->getDmm1WedgeTabIdx() + uiPart; 1093 1093 #endif 1094 #if NH_3D_ INTRA_SDC1094 #if NH_3D_SDC_INTRA 1095 1095 m_pbSDCFlag = pcCU->getSDCFlag() + uiPart; 1096 1096 m_apSegmentDCOffset[0] = pcCU->getSDCSegmentDCOffset(0) + uiPart; … … 1294 1294 memcpy( m_dmm1WedgeTabIdx + uiOffset, pcCU->getDmm1WedgeTabIdx(), sizeof(UInt) * uiNumPartition ); 1295 1295 #endif 1296 #if NH_3D_ INTRA_SDC1296 #if NH_3D_SDC_INTRA 1297 1297 memcpy( m_pbSDCFlag + uiOffset, pcCU->getSDCFlag(), sizeof( *m_pbSDCFlag ) * uiNumPartition ); 1298 1298 memcpy( m_apSegmentDCOffset[0] + uiOffset, pcCU->getSDCSegmentDCOffset(0), sizeof( Pel ) * uiNumPartition); … … 1417 1417 memcpy( pCtu->getDmm1WedgeTabIdx() + m_absZIdxInCtu, m_dmm1WedgeTabIdx, sizeof(UInt) * m_uiNumPartition ); 1418 1418 #endif 1419 #if NH_3D_ INTRA_SDC1419 #if NH_3D_SDC_INTRA 1420 1420 memcpy( pCtu->getSDCFlag() + m_absZIdxInCtu, m_pbSDCFlag, sizeof(Bool) * m_uiNumPartition ); 1421 1421 memcpy( pCtu->getSDCSegmentDCOffset(0) + m_absZIdxInCtu, m_apSegmentDCOffset[0], sizeof( Pel ) * m_uiNumPartition); … … 2382 2382 } 2383 2383 2384 #if NH_3D_ INTRA_SDC2384 #if NH_3D_SDC_INTRA 2385 2385 Void TComDataCU::setSDCFlagSubParts ( Bool bSDCFlag, UInt absPartIdx, UInt depth ) 2386 2386 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComDataCU.h
r1221 r1227 186 186 UInt* m_dmm1WedgeTabIdx; 187 187 #endif 188 #if NH_3D_ INTRA_SDC188 #if NH_3D_SDC_INTRA 189 189 Bool* m_pbSDCFlag; 190 190 Pel* m_apSegmentDCOffset[2]; … … 563 563 Void setDmm1WedgeTabIdxSubParts ( UInt tabIdx, UInt uiAbsPartIdx, UInt uiDepth ); 564 564 #endif 565 #if NH_3D_ INTRA_SDC565 #if NH_3D_SDC_INTRA 566 566 Bool* getSDCFlag () { return m_pbSDCFlag; } 567 567 Bool getSDCFlag ( UInt uiIdx ) { return m_pbSDCFlag[uiIdx]; } -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComPrediction.cpp
r1221 r1227 535 535 assert( iWidth == iHeight ); 536 536 assert( iWidth >= DMM_MIN_SIZE && iWidth <= DMM_MAX_SIZE ); 537 #if NH_3D_ INTRA_SDC537 #if NH_3D_SDC_INTRA 538 538 assert( !pcCU->getSDCFlag( uiAbsPartIdx ) ); 539 539 #endif … … 569 569 assignBiSegDCs( pDst, uiStride, biSegPattern, patternStride, segDC1, segDC2 ); 570 570 #if !TEMP_SDC_CLEANUP // PM: should be obsolete after cleanup 571 #if NH_3D_ INTRA_SDC571 #if NH_3D_SDC_INTRA 572 572 pcCU->setDmmPredictor(segDC1, 0); 573 573 pcCU->setDmmPredictor(segDC2, 1); … … 2389 2389 2390 2390 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for SDC 2391 #if NH_3D_ INTRA_SDC2391 #if NH_3D_SDC_INTRA 2392 2392 Void TComPrediction::predConstantSDC( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& predDC ) 2393 2393 { … … 2400 2400 #endif 2401 2401 #else // PM: should be obsolete after cleanup 2402 #if NH_3D_ INTRA_SDC2402 #if NH_3D_SDC_INTRA 2403 2403 Void TComPrediction::analyzeSegmentsSDC( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride 2404 2404 ,UInt uiIntraMode … … 2465 2465 } 2466 2466 } 2467 #endif // NH_3D_ INTRA_SDC2467 #endif // NH_3D_SDC_INTRA 2468 2468 #endif 2469 2469 -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TComPrediction.h
r1221 r1227 171 171 #endif 172 172 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for SDC 173 #if NH_3D_ INTRA_SDC173 #if NH_3D_SDC_INTRA 174 174 Void predConstantSDC ( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& predDC ); 175 175 #endif 176 176 #else // PM: should be obsolete after cleanup 177 #if NH_3D_ INTRA_SDC177 #if NH_3D_SDC_INTRA 178 178 Void analyzeSegmentsSDC ( Pel* pOrig, UInt uiStride, UInt uiSize, Pel* rpSegMeans, UInt uiNumSegments, Bool* pMask, UInt uiMaskStride, UInt uiIntraMode, Bool orgDC=false ); 179 179 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibCommon/TypeDef.h
r1223 r1227 69 69 #if NH_3D 70 70 #define NH_3D_VSO 1 71 #define NH_3D_DMM 0 // Depth modeling modes 72 #define NH_3D_DLT 1 // Depth Lookup Table 73 #define NH_3D_INTRA_SDC 1 // Segment-wise DC Coding method for INTRA 71 #define NH_3D_DMM 1 // Depth modeling modes 72 #define NH_3D_DLT 0 // Depth Lookup Table 73 #define NH_3D_SDC_INTRA 1 // Segment-wise DC Coding method for INTRA 74 #define NH_3D_SDC_INTER 0 // Segment-wise DC Coding method for INTER 74 75 #define NH_3D_ENC_DEPTH 1 // Encoder optimizations for depth, incl. 75 76 // HHI_DEPTH_INTRA_SEARCH_RAU_C0160 -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1221 r1227 3390 3390 } 3391 3391 #endif 3392 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC3392 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 3393 3393 Void TDecCavlc::parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 3394 3394 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCAVLC.h
r1221 r1227 123 123 Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 124 124 #endif 125 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC125 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 126 126 Void parseDeltaDC ( TComDataCU* /*pcCU*/, UInt /*absPartIdx*/, UInt /*depth*/ ) { assert(0); }; 127 127 #endif 128 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC128 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 129 129 Void parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 130 130 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCu.cpp
r1223 r1227 527 527 if(pcCU->getIPCMFlag(uiAbsPartIdx)) 528 528 { 529 #if NH_3D_ INTRA_SDC529 #if NH_3D_SDC_INTRA 530 530 m_pcEntropyDecoder->decodeSDCFlag( pcCU, uiAbsPartIdx, uiDepth ); 531 531 #endif … … 647 647 //xReconDIS( m_ppcCU[uiDepth], 0, uiDepth ); 648 648 } 649 #if NH_3D_ INTRA_SDC649 #if NH_3D_SDC_INTRA 650 650 else if( m_ppcCU[uiDepth]->getSDCFlag(0) ) 651 651 { … … 1183 1183 } 1184 1184 1185 #if NH_3D_ INTRA_SDC1185 #if NH_3D_SDC_INTRA 1186 1186 Void TDecCu::xReconIntraSDC( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 1187 1187 { … … 1231 1231 1232 1232 //===== init availability pattern ===== 1233 #if !TEMP_SDC_CLEANUP // PM: please migrate together with below "initPattern" and remove macro 1234 pcCU->getPattern()->initPattern ( pcCU, sdcDepth, uiAbsPartIdx ); 1235 pcCU->getPattern()->initAdiPattern( pcCU, uiAbsPartIdx, sdcDepth, m_pcPrediction->getPredicBuf(), m_pcPrediction->getPredicBufWidth(), m_pcPrediction->getPredicBufHeight(), bAboveAvail, bLeftAvail ); 1236 #endif 1233 TComTURecurse tuRecurseCU(pcCU, 0); 1234 TComTURecurse tuRecurseWithPU(tuRecurseCU, false, TComTU::DONT_SPLIT); 1235 1236 Bool bAboveAvail = false; 1237 Bool bLeftAvail = false; 1238 m_pcPrediction->initIntraPatternChType( tuRecurseWithPU, bAboveAvail, bLeftAvail, COMPONENT_Y, false DEBUG_STRING_PASS_INTO(sTemp) ); 1237 1239 1238 1240 // get partition -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecCu.h
r1221 r1227 127 127 Void xReconDIS ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 128 128 #endif 129 #if NH_3D_ INTRA_SDC129 #if NH_3D_SDC_INTRA 130 130 Void xReconIntraSDC ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 131 131 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecEntropy.cpp
r1221 r1227 162 162 { 163 163 decodeIntraDirModeLuma ( pcCU, uiAbsPartIdx, uiDepth ); 164 #if NH_3D_ INTRA_SDC164 #if NH_3D_SDC_INTRA 165 165 decodeSDCFlag ( pcCU, uiAbsPartIdx, uiDepth ); 166 166 #endif … … 960 960 Void TDecEntropy::decodeCoeff( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, Bool& bCodeDQP, Bool& isChromaQpAdjCoded ) 961 961 { 962 #if NH_3D_ INTRA_SDC962 #if NH_3D_SDC_INTRA 963 963 if( pcCU->getSDCFlag( uiAbsPartIdx ) && pcCU->isIntra( uiAbsPartIdx) ) 964 964 { … … 979 979 if( pcCU->getSlice()->getIsDepth() ) 980 980 { 981 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC981 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 982 982 if( pcCU->getSDCFlag( uiAbsPartIdx ) ) 983 983 { … … 1037 1037 } 1038 1038 1039 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC1039 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 1040 1040 Void TDecEntropy::decodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 1041 1041 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecEntropy.h
r1221 r1227 91 91 virtual Void parseICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 92 92 #endif 93 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC93 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 94 94 virtual Void parseDeltaDC ( TComDataCU* pcCU, UInt absPartIdx, UInt depth ) = 0; 95 95 #endif 96 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC96 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 97 97 virtual Void parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) = 0; 98 98 #endif … … 183 183 #endif 184 184 185 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC185 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 186 186 Void decodeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 187 187 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecSbac.cpp
r1223 r1227 111 111 , m_cDmmModeSCModel ( 1, 1, NUM_DMM_MODE_CTX , m_contextModels + m_numContextModels, m_numContextModels) 112 112 #endif 113 #if NH_3D_DMM || NH_3D_ INTRA_SDC113 #if NH_3D_DMM || NH_3D_SDC_INTRA 114 114 , m_cDdcDataSCModel ( 1, 1, NUM_DDC_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 115 115 #endif 116 #if NH_3D_ INTRA_SDC116 #if NH_3D_SDC_INTRA 117 117 , m_cSDCResidualFlagSCModel ( 1, 1, SDC_NUM_RESIDUAL_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 118 118 , m_cSDCResidualSCModel ( 1, 1, SDC_NUM_RESIDUAL_CTX , m_contextModels + m_numContextModels, m_numContextModels) … … 202 202 m_cDmmModeSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_DMM_MODE ); 203 203 #endif 204 #if NH_3D_DMM || NH_3D_ INTRA_SDC204 #if NH_3D_DMM || NH_3D_SDC_INTRA 205 205 m_cDdcDataSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_DDC_DATA ); 206 206 #endif 207 #if NH_3D_ INTRA_SDC207 #if NH_3D_SDC_INTRA 208 208 m_cSDCResidualFlagSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_SDC_RESIDUAL_FLAG ); 209 209 m_cSDCResidualSCModel.initBuffer ( sliceType, qp, (UChar*)INIT_SDC_RESIDUAL ); … … 2334 2334 #endif 2335 2335 2336 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2336 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 2337 2337 Void TDecSbac::parseDeltaDC( TComDataCU* pcCU, UInt absPartIdx, UInt depth ) 2338 2338 { 2339 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2339 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 2340 2340 if( !(pcCU->getSDCFlag( absPartIdx )) ) 2341 2341 #endif … … 2346 2346 2347 2347 UInt symbol = 1; 2348 #if NH_3D_ INTRA_SDC2348 #if NH_3D_SDC_INTRA 2349 2349 if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx )) 2350 2350 { … … 2370 2370 if( pcCU->isIntra( absPartIdx ) ) 2371 2371 { 2372 #if NH_3D_ INTRA_SDC2372 #if NH_3D_SDC_INTRA 2373 2373 if( pcCU->getSDCFlag( absPartIdx ) ) 2374 2374 { … … 2381 2381 pcCU->setDmmDeltaDC( getDmmType( pcCU->getIntraDir( CHANNEL_TYPE_LUMA, absPartIdx ) ), segment, absPartIdx, valDeltaDC ); 2382 2382 #endif 2383 #if NH_3D_ INTRA_SDC2383 #if NH_3D_SDC_INTRA 2384 2384 } 2385 2385 #endif … … 2504 2504 } 2505 2505 #endif 2506 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2506 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 2507 2507 Void TDecSbac::parseSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ) 2508 2508 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibDecoder/TDecSbac.h
r1221 r1227 107 107 Void xReadCoefRemainExGolomb ( UInt &rSymbol, UInt &rParam, const Bool useLimitedPrefixLength, const Int maxLog2TrDynamicRange ); 108 108 #endif 109 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC109 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 110 110 Void xReadExGolombLevelDdc( UInt& ruiSymbol ); 111 111 Void xParseDeltaDC ( Pel& rValDeltaDC, UInt uiNumSeg ); … … 116 116 Void xParseDmm1WedgeIdx ( UInt& ruiTabIdx, Int iNumBit ); 117 117 #endif 118 #if NH_3D_ INTRA_SDC118 #if NH_3D_SDC_INTRA 119 119 Void xParseSDCResidualData ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth, UInt uiPart ); 120 120 #endif 121 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC121 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 122 122 Void parseSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 123 123 #endif … … 136 136 Void parseDIS ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth ); 137 137 #endif 138 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC138 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 139 139 Void parseDeltaDC ( TComDataCU* pcCU, UInt absPartIdx, UInt depth ); 140 140 #endif … … 229 229 ContextModel3DBuffer m_cDmmModeSCModel; 230 230 #endif 231 #if NH_3D_DMM || NH_3D_ INTRA_SDC231 #if NH_3D_DMM || NH_3D_SDC_INTRA 232 232 ContextModel3DBuffer m_cDdcDataSCModel; 233 233 #endif 234 #if NH_3D_ INTRA_SDC234 #if NH_3D_SDC_INTRA 235 235 ContextModel3DBuffer m_cSDCResidualFlagSCModel; 236 236 ContextModel3DBuffer m_cSDCResidualSCModel; -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncCavlc.cpp
r1221 r1227 2843 2843 assert(0); 2844 2844 } 2845 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2845 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 2846 2846 Void TEncCavlc::codeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2847 2847 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncCavlc.h
r1221 r1227 126 126 Void codeMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 127 127 Void codeMergeIndex ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 128 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC128 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 129 129 Void codeDeltaDC ( TComDataCU* /*pcCU*/, UInt /*absPartIdx*/ ) { assert(0); }; 130 130 #endif … … 136 136 #endif 137 137 138 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC138 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 139 139 Void codeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 140 140 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncCu.cpp
r1221 r1227 1597 1597 if(pcCU->getIPCMFlag(uiAbsPartIdx)) 1598 1598 { 1599 #if NH_3D_ INTRA_SDC1599 #if NH_3D_SDC_INTRA 1600 1600 m_pcEntropyCoder->encodeSDCFlag( pcCU, uiAbsPartIdx ); 1601 1601 #endif … … 1612 1612 m_pcEntropyCoder->encodeDBBPFlag( pcCU, uiAbsPartIdx ); 1613 1613 #endif 1614 #if NH_3D_ INTRA_SDC1614 #if NH_3D_SDC_INTRA 1615 1615 m_pcEntropyCoder->encodeSDCFlag( pcCU, uiAbsPartIdx ); 1616 1616 #endif … … 2470 2470 rpcTempCU->setDISFlagSubParts(true, 0, uiDepth); 2471 2471 rpcTempCU->setLumaIntraDirSubParts (DC_IDX, 0, uiDepth); 2472 #if NH_3D_ INTRA_SDC2472 #if NH_3D_SDC_INTRA 2473 2473 rpcTempCU->setSDCFlagSubParts( false, 0, uiDepth); 2474 2474 #endif … … 2701 2701 } 2702 2702 2703 #if NH_3D_ INTRA_SDC2703 #if NH_3D_SDC_INTRA 2704 2704 if( rpcTempCU->getSDCFlag( 0 ) ) 2705 2705 { … … 2725 2725 m_pcEntropyCoder->encodePredInfo( rpcTempCU, 0 ); 2726 2726 m_pcEntropyCoder->encodeIPCMInfo(rpcTempCU, 0, true ); 2727 #if NH_3D_ INTRA_SDC2727 #if NH_3D_SDC_INTRA 2728 2728 m_pcEntropyCoder->encodeSDCFlag( rpcTempCU, 0, true ); 2729 2729 #endif … … 2810 2810 m_pcEntropyCoder->encodePartSize ( rpcTempCU, 0, uiDepth, true ); 2811 2811 m_pcEntropyCoder->encodeIPCMInfo ( rpcTempCU, 0, true ); 2812 #if NH_3D_ INTRA_SDC2812 #if NH_3D_SDC_INTRA 2813 2813 m_pcEntropyCoder->encodeSDCFlag( rpcTempCU, 0, true ); 2814 2814 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncEntropy.cpp
r1221 r1227 711 711 #endif 712 712 713 #if NH_3D_ INTRA_SDC713 #if NH_3D_SDC_INTRA 714 714 if( pcCU->getSDCFlag( uiAbsPartIdx ) && pcCU->isIntra( uiAbsPartIdx ) ) 715 715 { … … 730 730 if( pcCU->getSlice()->getIsDepth() ) 731 731 { 732 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC732 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 733 733 if( pcCU->getSDCFlag( uiAbsPartIdx ) ) 734 734 { … … 839 839 } 840 840 841 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC841 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 842 842 Void TEncEntropy::encodeDeltaDC ( TComDataCU* pcCU, UInt absPartIdx ) 843 843 { … … 845 845 } 846 846 #endif 847 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC847 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 848 848 Void TEncEntropy::encodeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD ) 849 849 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncEntropy.h
r1221 r1227 84 84 virtual Void codeMergeFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0; 85 85 virtual Void codeMergeIndex ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0; 86 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC86 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 87 87 virtual Void codeDeltaDC ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0; 88 88 #endif … … 93 93 virtual Void codeICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0; 94 94 #endif 95 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC95 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 96 96 virtual Void codeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ) = 0; 97 97 #endif … … 181 181 Void encodeICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD = false ); 182 182 #endif 183 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC183 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 184 184 Void encodeDeltaDC ( TComDataCU* pcCU, UInt absPartIdx ); 185 185 #endif 186 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC186 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 187 187 Void encodeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx, Bool bRD = false ); 188 188 #endif -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSbac.cpp
r1223 r1227 106 106 , m_cDmmModeSCModel ( 1, 1, NUM_DMM_MODE_CTX , m_contextModels + m_numContextModels, m_numContextModels) 107 107 #endif 108 #if NH_3D_DMM || NH_3D_ INTRA_SDC108 #if NH_3D_DMM || NH_3D_SDC_INTRA 109 109 , m_cDdcDataSCModel ( 1, 1, NUM_DDC_DATA_CTX , m_contextModels + m_numContextModels, m_numContextModels) 110 110 #endif 111 #if NH_3D_ INTRA_SDC111 #if NH_3D_SDC_INTRA 112 112 , m_cSDCResidualFlagSCModel ( 1, 1, SDC_NUM_RESIDUAL_FLAG_CTX , m_contextModels + m_numContextModels, m_numContextModels) 113 113 , m_cSDCResidualSCModel ( 1, 1, SDC_NUM_RESIDUAL_CTX , m_contextModels + m_numContextModels, m_numContextModels) … … 187 187 m_cDmmModeSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DMM_MODE ); 188 188 #endif 189 #if NH_3D_DMM || NH_3D_ INTRA_SDC189 #if NH_3D_DMM || NH_3D_SDC_INTRA 190 190 m_cDdcDataSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_DDC_DATA ); 191 191 #endif 192 #if NH_3D_ INTRA_SDC192 #if NH_3D_SDC_INTRA 193 193 m_cSDCResidualFlagSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_RESIDUAL_FLAG ); 194 194 m_cSDCResidualSCModel.initBuffer ( eSliceType, iQp, (UChar*)INIT_SDC_RESIDUAL ); … … 243 243 curCost += m_cCUICFlagSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_IC_FLAG ); 244 244 #endif 245 #if NH_3D_ INTRA_SDC245 #if NH_3D_SDC_INTRA 246 246 curCost += m_cSDCFlagSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_SDC_FLAG ); 247 247 #endif … … 280 280 curCost += m_cDmmModeSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DMM_MODE ); 281 281 #endif 282 #if NH_3D_DMM || NH_3D_ INTRA_SDC282 #if NH_3D_DMM || NH_3D_SDC_INTRA 283 283 curCost += m_cDdcDataSCModel.calcCost ( curSliceType, qp, (UChar*)INIT_DDC_DATA ); 284 284 #endif … … 2473 2473 } 2474 2474 2475 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2475 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 2476 2476 Void TEncSbac::codeDeltaDC( TComDataCU* pcCU, UInt absPartIdx ) 2477 2477 { 2478 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2478 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 2479 2479 if( !(pcCU->getSDCFlag( absPartIdx )) ) 2480 2480 #endif … … 2490 2490 2491 2491 UInt hasDeltaDC = 1; 2492 #if NH_3D_ INTRA_SDC2492 #if NH_3D_SDC_INTRA 2493 2493 if( pcCU->isIntra( absPartIdx ) && pcCU->getSDCFlag( absPartIdx )) 2494 2494 { … … 2512 2512 if( pcCU->isIntra( absPartIdx ) ) 2513 2513 { 2514 #if NH_3D_ INTRA_SDC2514 #if NH_3D_SDC_INTRA 2515 2515 if( pcCU->getSDCFlag( absPartIdx ) ) 2516 2516 { … … 2523 2523 deltaDC = pcCU->getDmmDeltaDC( getDmmType( pcCU->getIntraDir( CHANNEL_TYPE_LUMA, absPartIdx ) ), segment, absPartIdx ); 2524 2524 #endif 2525 #if NH_3D_ INTRA_SDC2525 #if NH_3D_SDC_INTRA 2526 2526 } 2527 2527 #endif … … 2628 2628 #endif 2629 2629 2630 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC2630 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 2631 2631 Void TEncSbac::codeSDCFlag( TComDataCU* pcCU, UInt uiAbsPartIdx ) 2632 2632 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSbac.h
r1221 r1227 115 115 Void xWriteEpExGolomb ( UInt uiSymbol, UInt uiCount ); 116 116 Void xWriteCoefRemainExGolomb ( UInt symbol, UInt &rParam, const Bool useLimitedPrefixLength, const Int maxLog2TrDynamicRange ); 117 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC117 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 118 118 Void xWriteExGolombLevelDdc( UInt uiSymbol ); 119 119 Void xCodeDeltaDC ( Pel valDeltaDC, UInt uiNumSeg ); … … 149 149 Void codeICFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 150 150 #endif 151 #if NH_3D_DMM || NH_3D_ INTRA_SDC|| H_3D_INTER_SDC151 #if NH_3D_DMM || NH_3D_SDC_INTRA || H_3D_INTER_SDC 152 152 Void codeDeltaDC ( TComDataCU* pcCU, UInt absPartIdx ); 153 153 #endif 154 #if NH_3D_ INTRA_SDC|| H_3D_INTER_SDC154 #if NH_3D_SDC_INTRA || H_3D_INTER_SDC 155 155 Void codeSDCFlag ( TComDataCU* pcCU, UInt uiAbsPartIdx ); 156 156 #endif … … 252 252 ContextModel3DBuffer m_cDmmModeSCModel; 253 253 #endif 254 #if NH_3D_DMM || NH_3D_ INTRA_SDC254 #if NH_3D_DMM || NH_3D_SDC_INTRA 255 255 ContextModel3DBuffer m_cDdcDataSCModel; 256 256 #endif 257 #if NH_3D_ INTRA_SDC257 #if NH_3D_SDC_INTRA 258 258 ContextModel3DBuffer m_cSDCResidualFlagSCModel; 259 259 ContextModel3DBuffer m_cSDCResidualSCModel; -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.cpp
r1223 r1227 1031 1031 if ( pcCU->getIPCMFlag (0)) 1032 1032 { 1033 #if NH_3D_ INTRA_SDC1033 #if NH_3D_SDC_INTRA 1034 1034 m_pcEntropyCoder->encodeSDCFlag( pcCU, 0, true ); 1035 1035 #endif … … 1051 1051 { 1052 1052 m_pcEntropyCoder->encodeIntraDirModeLuma ( pcCU, 0 ); 1053 #if NH_3D_ INTRA_SDC1053 #if NH_3D_SDC_INTRA 1054 1054 m_pcEntropyCoder->encodeSDCFlag( pcCU, 0, true ); 1055 1055 #if NH_3D_DMM … … 1068 1068 { 1069 1069 m_pcEntropyCoder->encodeIntraDirModeLuma ( pcCU, uiAbsPartIdx ); 1070 #if NH_3D_INTRA_SDC 1071 } 1072 m_pcEntropyCoder->encodeSDCFlag( pcCU, 0, true ); 1073 for( UInt uiPart = 0; uiPart < 4; uiPart++ ) 1074 { 1075 #if NH_3D_DMM 1076 if( pcCU->getSlice()->getIsDepth() && ( !pcCU->getSDCFlag( uiPart * uiQNumParts ) ) && isDmmMode( pcCU->getIntraDir( CHANNEL_TYPE_LUMA, uiPart * uiQNumParts ) ) ) 1077 { 1078 m_pcEntropyCoder->encodeDeltaDC( pcCU, uiPart * uiQNumParts ); 1079 } 1080 #endif 1081 #endif 1082 #if NH_3D_INTRA_SDC 1070 #if NH_3D_SDC_INTRA 1083 1071 if( uiAbsPartIdx == 0 ) 1084 1072 { … … 1086 1074 } 1087 1075 #if NH_3D_DMM 1088 if( pcCU->getSlice()->getIsDepth() && ( pcCU->getSDCFlag( uiAbsPartIdx ) ) && isDmmMode( pcCU->getIntraDir( CHANNEL_TYPE_LUMA, uiAbsPartIdx ) ) )1076 if( pcCU->getSlice()->getIsDepth() && ( !pcCU->getSDCFlag( uiAbsPartIdx ) ) && isDmmMode( pcCU->getIntraDir( CHANNEL_TYPE_LUMA, uiAbsPartIdx ) ) ) 1089 1077 { 1090 1078 m_pcEntropyCoder->encodeDeltaDC( pcCU, uiAbsPartIdx ); … … 1980 1968 } 1981 1969 #endif 1982 #if NH_3D_ INTRA_SDC1970 #if NH_3D_SDC_INTRA 1983 1971 Void TEncSearch::xIntraCodingSDC( TComDataCU* pcCU, UInt uiAbsPartIdx, TComYuv* pcOrgYuv, TComYuv* pcPredYuv, Dist& ruiDist, Double& dRDCost, Bool bZeroResidual, Int iSDCDeltaResi ) 1984 1972 { … … 2024 2012 2025 2013 //===== init availability pattern ===== 2026 #if !TEMP_SDC_CLEANUP // PM: please migrate together with below "initPattern" and remove macro 2027 pcCU->getPattern()->initPattern ( pcCU, sdcDepth, uiAbsPartIdx ); 2028 pcCU->getPattern()->initAdiPattern( pcCU, uiAbsPartIdx, sdcDepth, m_piYuvExt, m_iYuvExtStride, m_iYuvExtHeight, bAboveAvail, bLeftAvail ); 2029 #endif 2014 TComTURecurse tuRecurseCU(pcCU, 0); 2015 TComTURecurse tuRecurseWithPU(tuRecurseCU, false, TComTU::DONT_SPLIT); 2016 2017 Bool bAboveAvail = false; 2018 Bool bLeftAvail = false; 2019 initIntraPatternChType( tuRecurseWithPU, bAboveAvail, bLeftAvail, COMPONENT_Y, false DEBUG_STRING_PASS_INTO(sTemp) ); 2030 2020 2031 2021 // get partition … … 3257 3247 UInt rdSDC = m_pcEncCfg->getIsDepth() ? numModesForFullRD : 0; 3258 3248 #endif 3259 #if NH_3D_ INTRA_SDC3249 #if NH_3D_SDC_INTRA 3260 3250 Bool bBestUseSDC = false; 3261 3251 Pel apBestDCOffsets[2] = {0,0}; … … 3308 3298 pcCU->setIntraDirSubParts ( CHANNEL_TYPE_LUMA, uiOrgMode, uiPartOffset, uiDepth + uiInitTrDepth ); 3309 3299 3310 #if NH_3D_ INTRA_SDC3300 #if NH_3D_SDC_INTRA 3311 3301 #if H_3D_FAST_INTRA_SDC 3312 3302 Bool bTestSDC = ( ( m_pcEncCfg->getUseSDC() && pcCU->getSlice()->getIntraSdcWedgeFlag() ) && pcCU->getSDCAvailable(uiPartOffset) && uiMode >= numModesForFullRD); … … 3355 3345 #if NH_3D_ENC_DEPTH 3356 3346 UInt zeroResiTest = (pcCU->getSlice()->getIsDepth() && !pcCU->getSlice()->isIRAP()) ? 1 : 0; 3357 #if NH_3D_ INTRA_SDC3347 #if NH_3D_SDC_INTRA 3358 3348 zeroResiTest |= pcCU->getSDCFlag(uiPartOffset); 3359 3349 if( uiSDC != 0 && iSDCDeltaResi != 0 ) … … 3382 3372 } 3383 3373 #endif 3384 #if NH_3D_ INTRA_SDC3374 #if NH_3D_SDC_INTRA 3385 3375 if( pcCU->getSDCFlag(uiPartOffset) ) 3386 3376 { … … 3421 3411 #endif 3422 3412 #endif 3423 #if NH_3D_ INTRA_SDC3413 #if NH_3D_SDC_INTRA 3424 3414 } 3425 3415 #endif … … 3442 3432 dBestPUCost = dPUCost; 3443 3433 3444 #if NH_3D_ INTRA_SDC3434 #if NH_3D_SDC_INTRA 3445 3435 if( pcCU->getSDCFlag(uiPartOffset) ) 3446 3436 { … … 3488 3478 ::memcpy( m_puhQTTempTransformSkipFlag[compID], pcCU->getTransformSkip(compID) + uiPartOffset, uiQPartNum * sizeof( UChar ) ); 3489 3479 } 3490 #if NH_3D_ INTRA_SDC3480 #if NH_3D_SDC_INTRA 3491 3481 } 3492 3482 #endif … … 3502 3492 } 3503 3493 #endif 3504 #if NH_3D_ INTRA_SDC3494 #if NH_3D_SDC_INTRA 3505 3495 } // SDC residual loop 3506 3496 } // SDC loop … … 3533 3523 3534 3524 pcCU->setIntraDirSubParts ( CHANNEL_TYPE_LUMA, uiOrgMode, uiPartOffset, uiDepth + uiInitTrDepth ); 3535 #if NH_3D_ INTRA_SDC3525 #if NH_3D_SDC_INTRA 3536 3526 pcCU->setSDCFlagSubParts(false, uiPartOffset, uiDepth + uiInitTrDepth); 3537 3527 #endif … … 3566 3556 uiBestPUDistY = uiPUDistY; 3567 3557 dBestPUCost = dPUCost; 3568 #if NH_3D_ INTRA_SDC3558 #if NH_3D_SDC_INTRA 3569 3559 bBestUseSDC = false; 3570 3560 #endif … … 3603 3593 //--- update overall distortion --- 3604 3594 uiOverallDistY += uiBestPUDistY; 3605 #if NH_3D_ INTRA_SDC3595 #if NH_3D_SDC_INTRA 3606 3596 if( bBestUseSDC ) 3607 3597 { … … 3625 3615 ::memcpy( pcCU->getCbf( compID ) + uiPartOffset, m_puhQTTempCbf[compID], uiQPartNum * sizeof( UChar ) ); 3626 3616 ::memcpy( pcCU->getTransformSkip( compID ) + uiPartOffset, m_puhQTTempTransformSkipFlag[compID ], uiQPartNum * sizeof( UChar ) ); 3627 #if NH_3D_ INTRA_SDC3617 #if NH_3D_SDC_INTRA 3628 3618 } 3629 3619 #endif … … 3662 3652 //=== update PU data ==== 3663 3653 pcCU->setIntraDirSubParts ( CHANNEL_TYPE_LUMA, uiBestPUMode, uiPartOffset, uiDepth + uiInitTrDepth ); 3664 #if NH_3D_ INTRA_SDC3654 #if NH_3D_SDC_INTRA 3665 3655 pcCU->setSDCFlagSubParts ( bBestUseSDC, uiPartOffset, uiDepth + uiInitTrDepth ); 3666 3656 #endif … … 6185 6175 #endif 6186 6176 6187 #if NH_3D_ INTRA_SDC6177 #if NH_3D_SDC_INTRA 6188 6178 Bool bNonSkip = false; 6189 6179 #else … … 7249 7239 m_pcEntropyCoder->encodePartSize( pcCU, 0, pcCU->getDepth(0), true ); 7250 7240 m_pcEntropyCoder->encodePredInfo( pcCU, 0 ); 7251 #if NH_3D_ INTRA_SDC7241 #if NH_3D_SDC_INTRA 7252 7242 m_pcEntropyCoder->encodeSDCFlag( pcCU, 0, true ); 7253 7243 #endif … … 7792 7782 #endif 7793 7783 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for SDC 7794 #if NH_3D_ INTRA_SDC7784 #if NH_3D_SDC_INTRA 7795 7785 Void TEncSearch::xCalcConstantSDC( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& valDC ) 7796 7786 { -
branches/HTM-14.1-update-dev1-RWTH/source/Lib/TLibEncoder/TEncSearch.h
r1221 r1227 356 356 Void xSearchDmm1Wedge ( TComDataCU* pcCU, UInt uiAbsPtIdx, Pel* piRef, UInt uiRefStride, UInt uiWidth, UInt uiHeight, UInt& ruiTabIdx ); 357 357 #endif 358 #if NH_3D_ INTRA_SDC358 #if NH_3D_SDC_INTRA 359 359 Void xIntraCodingSDC ( TComDataCU* pcCU, UInt uiAbsPartIdx, TComYuv* pcOrgYuv, TComYuv* pcPredYuv, Dist& ruiDist, Double& dRDCost, Bool bZeroResidual, Int iSDCDeltaResi ); 360 360 #endif 361 361 #if TEMP_SDC_CLEANUP // PM: consider this cleanup for SDC 362 #if NH_3D_ INTRA_SDC362 #if NH_3D_SDC_INTRA 363 363 Void xCalcConstantSDC ( Pel* ptrSrc, UInt srcStride, UInt uiSize, Pel& valDC ); 364 364 #endif
Note: See TracChangeset for help on using the changeset viewer.