Changeset 319 in SHVCSoftware for branches/SHM-3.0-dev/source/Lib/TLibDecoder


Ignore:
Timestamp:
2 Aug 2013, 22:20:38 (12 years ago)
Author:
seregin
Message:

remove NO_RESIDUAL_FLAG_FOR_BLPRED

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  
    442442#if INTRA_BL
    443443    case MODE_INTRA_BL:
    444 #if NO_RESIDUAL_FLAG_FOR_BLPRED
    445       xReconIntraBL( m_ppcCU[uiDepth], uiAbsPartIdx, uiDepth );
    446 #else
    447444      xReconIntraQT( m_ppcCU[uiDepth], uiAbsPartIdx, uiDepth );
    448 #endif
    449445      break;
    450446#endif
     
    516512 
    517513  //===== get prediction signal =====
    518 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED
     514#if INTRA_BL
    519515  if(pcCU->isIntraBL ( uiAbsPartIdx ) )
    520516  {
     
    607603 
    608604  //===== get prediction signal =====
    609 #if INTRA_BL && !NO_RESIDUAL_FLAG_FOR_BLPRED
     605#if INTRA_BL
    610606  if(pcCU->isIntraBL ( uiAbsPartIdx ) )
    611607  {
     
    930926
    931927}
    932 
    933 #if NO_RESIDUAL_FLAG_FOR_BLPRED
    934 Void
    935 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 recon
    942   xDecodeInterTexture( pcCU, 0, uiDepth );
    943 
    944   // clip for only non-zero cbp case
    945   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   else
    950   {
    951     m_ppcYuvReco[uiDepth]->copyPartToPartYuv( m_ppcYuvReco[uiDepth],0, pcCU->getWidth( 0 ),pcCU->getHeight( 0 ));
    952   }
    953 }
    954 #endif
    955 
    956928//! \}
  • branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecCu.h

    r313 r319  
    122122  Void  xIntraRecLumaBlk        ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv );
    123123  Void  xIntraRecChromaBlk      ( TComDataCU* pcCU, UInt uiTrDepth, UInt uiAbsPartIdx, TComYuv* pcRecoYuv, TComYuv* pcPredYuv, TComYuv* pcResiYuv, UInt uiChromaId );
    124 #if NO_RESIDUAL_FLAG_FOR_BLPRED
    125   Void  xReconIntraBL           ( TComDataCU* pcCU, UInt uiAbsPartIdx, UInt uiDepth );
    126 #endif
    127124 
    128125  Void  xReconPCM               ( TComDataCU* pcCU, UInt uiDepth );
  • branches/SHM-3.0-dev/source/Lib/TLibDecoder/TDecEntropy.cpp

    r313 r319  
    451451    pcCU->setCbfSubParts ( 0, TEXT_LUMA, uiAbsPartIdx, uiDepth );
    452452#if INTRA_BL
    453 #if NO_RESIDUAL_FLAG_FOR_BLPRED
    454     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 #else
    456453    if( ( !pcCU->isIntra(uiAbsPartIdx) ) && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) )
    457 #endif
    458454#else
    459455    if( pcCU->getPredictionMode(uiAbsPartIdx) != MODE_INTRA && uiDepth == pcCU->getDepth( uiAbsPartIdx ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_U, 0 ) && !pcCU->getCbf( uiAbsPartIdx, TEXT_CHROMA_V, 0 ) )
     
    556552  UInt uiChromaOffset = uiLumaOffset>>2;
    557553 
    558 #if NO_RESIDUAL_FLAG_FOR_BLPRED
    559   if( pcCU->isIntra(uiAbsPartIdx) && !pcCU->isIntraBL(uiAbsPartIdx) )
    560 #else
    561554  if( pcCU->isIntra(uiAbsPartIdx) )
    562 #endif
    563555  {
    564556  }
Note: See TracChangeset for help on using the changeset viewer.