Changeset 133 in 3DVCSoftware for branches/HTM-4.0-dev0/source/Lib/TLibEncoder


Ignore:
Timestamp:
13 Sep 2012, 13:55:57 (12 years ago)
Author:
tech
Message:

Added RD-relevant bug fixes from HTM-4.1:

  • FIX_RESTRICTEDRESPRED_M24766
  • FIX_RDO_MACRO
  • FIX_DBL_CONTROL_DEFAULT + config files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-4.0-dev0/source/Lib/TLibEncoder/TEncSearch.cpp

    r100 r133  
    61136113       
    61146114        Dist uiActDist = RDO_DIST_MAX;
     6115#if FIX_RDO_MACRO
    61156116#if SAIT_VSO_EST_A0033
    61166117        if ( m_pcRdCost->getUseEstimatedVSD() )
     
    61216122        }
    61226123        else       
    6123 #else
     6124#endif // SAIT_VSO_EST_A0033
    61246125        {       
    61256126          uiActDist = m_pcRdCost->getDistVS( pcCU, 0, piPredic, uiStride,  piOrig, uiStride, uiWidth, uiHeight, false, 0 );
    61266127        }
    6127 #endif
     6128#else // FIX_RDO_MACRO
     6129#if SAIT_VSO_EST_A0033
     6130        if ( m_pcRdCost->getUseEstimatedVSD() )
     6131        {         
     6132          TComPicYuv* pcVirRec = m_pcRdCost->getVideoRecPicYuv();
     6133          TComPicYuv* pcVirOrg = m_pcRdCost->getDepthPicYuv();
     6134          uiActDist = m_pcRdCost->getDistPart( piPredic, uiStride, piOrig, uiStride, pcVirRec->getLumaAddr(pcCU->getAddr(),pcCU->getZorderIdxInCU()), pcVirOrg->getLumaAddr(pcCU->getAddr(),pcCU->getZorderIdxInCU()), pcVirRec->getStride(), uiWidth, uiHeight );
     6135        }
     6136        else       
     6137#else  // SAIT_VSO_EST_A0033 <-- wrong #else statement should be #endif
     6138        {       
     6139          uiActDist = m_pcRdCost->getDistVS( pcCU, 0, piPredic, uiStride,  piOrig, uiStride, uiWidth, uiHeight, false, 0 );
     6140        }
     6141#endif // SAIT_VSO_EST_A0033 <-- wrong #endif should be removed
     6142#endif // FIX_RDO_MACRO
    61286143
    61296144        if( uiActDist < uiBestDist || uiBestDist == RDO_DIST_MAX )
Note: See TracChangeset for help on using the changeset viewer.