Changeset 319 in SHVCSoftware for branches/SHM-3.0-dev/source/Lib/TLibDecoder
- Timestamp:
- 2 Aug 2013, 22:20:38 (12 years ago)
- Location:
- branches/SHM-3.0-dev/source/Lib/TLibDecoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecCu.cpp
r313 r319 442 442 #if INTRA_BL 443 443 case MODE_INTRA_BL: 444 #if NO_RESIDUAL_FLAG_FOR_BLPRED445 xReconIntraBL( m_ppcCU[uiDepth], uiAbsPartIdx, uiDepth );446 #else447 444 xReconIntraQT( m_ppcCU[uiDepth], uiAbsPartIdx, uiDepth ); 448 #endif449 445 break; 450 446 #endif … … 516 512 517 513 //===== get prediction signal ===== 518 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED514 #if INTRA_BL 519 515 if(pcCU->isIntraBL ( uiAbsPartIdx ) ) 520 516 { … … 607 603 608 604 //===== get prediction signal ===== 609 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED605 #if INTRA_BL 610 606 if(pcCU->isIntraBL ( uiAbsPartIdx ) ) 611 607 { … … 930 926 931 927 } 932 933 #if NO_RESIDUAL_FLAG_FOR_BLPRED934 Void935 TDecCu::xReconIntraBL( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth )936 {937 m_ppcYuvReco[uiDepth]->copyFromPicLuma ( pcCU->getSlice()->getFullPelBaseRec(m_layerId - 1), pcCU->getAddr(), pcCU->getZorderIdxInCU(), 0, pcCU->getWidth(0), pcCU->getHeight(0));938 m_ppcYuvReco[uiDepth]->copyFromPicChroma( pcCU->getSlice()->getFullPelBaseRec(m_layerId - 1), pcCU->getAddr(), pcCU->getZorderIdxInCU(), 0, (pcCU->getWidth(0)>>1), (pcCU->getHeight(0)>>1), 0);939 m_ppcYuvReco[uiDepth]->copyFromPicChroma( pcCU->getSlice()->getFullPelBaseRec(m_layerId - 1), pcCU->getAddr(), pcCU->getZorderIdxInCU(), 0, (pcCU->getWidth(0)>>1), (pcCU->getHeight(0)>>1), 1);940 941 // inter recon942 xDecodeInterTexture( pcCU, 0, uiDepth );943 944 // clip for only non-zero cbp case945 if ( ( pcCU->getCbf( 0, TEXT_LUMA ) ) || ( pcCU->getCbf( 0, TEXT_CHROMA_U ) ) || ( pcCU->getCbf(0, TEXT_CHROMA_V ) ) )946 {947 m_ppcYuvReco[uiDepth]->addClip( m_ppcYuvReco[uiDepth], m_ppcYuvResi[uiDepth], 0, pcCU->getWidth( 0 ) );948 }949 else950 {951 m_ppcYuvReco[uiDepth]->copyPartToPartYuv( m_ppcYuvReco[uiDepth],0, pcCU->getWidth( 0 ),pcCU->getHeight( 0 ));952 }953 }954 #endif955 956 928 //! \} -
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecCu.h
r313 r319 122 122 Void xIntraRecLumaBlk ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv ); 123 123 Void xIntraRecChromaBlk ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, UInt uiChromaId ); 124 #if NO_RESIDUAL_FLAG_FOR_BLPRED125 Void xReconIntraBL ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );126 #endif127 124 128 125 Void xReconPCM ( TComDataCU* pcCU, UInt uiDepth ); -
branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecEntropy.cpp
r313 r319 451 451 pcCU->setCbfSubParts ( 0, TEXT_LUMA, uiAbsPartIdx, uiDepth ); 452 452 #if INTRA_BL 453 #if NO_RESIDUAL_FLAG_FOR_BLPRED454 if( ( !pcCU->isIntra(uiAbsPartIdx) || pcCU->isIntraBL(uiAbsPartIdx)) && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) )455 #else456 453 if( ( !pcCU->isIntra(uiAbsPartIdx) ) && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) ) 457 #endif458 454 #else 459 455 if( pcCU->getPredictionMode(uiAbsPartIdx) != MODE_INTRA && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) ) … … 556 552 UInt uiChromaOffset = uiLumaOffset>>2; 557 553 558 #if NO_RESIDUAL_FLAG_FOR_BLPRED559 if( pcCU->isIntra(uiAbsPartIdx) && !pcCU->isIntraBL(uiAbsPartIdx) )560 #else561 554 if( pcCU->isIntra(uiAbsPartIdx) ) 562 #endif563 555 { 564 556 }
Note: See TracChangeset for help on using the changeset viewer.