Changeset 1124 in 3DVCSoftware for trunk/source/Lib/TLibEncoder/TEncSbac.cpp


Ignore:
Timestamp:
10 Nov 2014, 12:22:20 (9 years ago)
Author:
tech
Message:

Merged branch 12.2-dev0@1123

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibEncoder/TEncSbac.cpp

    r1084 r1124  
    255255      curCost += m_CUTransquantBypassFlagSCModel.calcCost( curSliceType, qp, (UChar*)INIT_CU_TRANSQUANT_BYPASS_FLAG );
    256256#if H_3D_DIM
     257#if HHI_TOOL_PARAMETERS_I2_J0107
     258    if( m_pcSlice->getIntraSdcWedgeFlag() || m_pcSlice->getIntraContourFlag() )
     259#else
    257260    if( m_pcSlice->getVpsDepthModesFlag() || m_pcSlice->getIVPFlag() )
     261#endif
    258262    {
    259263      curCost += m_cDepthIntraModeSCModel.calcCost    ( curSliceType, qp, (UChar*)INIT_DEPTH_INTRA_MODE );
     
    346350}
    347351
     352#if HHI_TOOL_PARAMETERS_I2_J0107
     353Void TEncSbac::codeSPS( TComSPS* pcSPS )
     354#else
    348355#if H_3D
    349356Void TEncSbac::codeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )
    350357#else
    351358Void TEncSbac::codeSPS( TComSPS* pcSPS )
     359#endif
    352360#endif
    353361{
     
    625633  PartSize eSize         = pcCU->getPartitionSize( uiAbsPartIdx );
    626634#if H_3D_QTLPC
     635#if HHI_TOOL_PARAMETERS_I2_J0107
     636  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
     637#else
    627638  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    628639  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     640#endif
    629641  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    630642  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    9981010  Bool bCodeSplitFlag    = true;
    9991011
     1012 
     1013#if HHI_TOOL_PARAMETERS_I2_J0107
     1014  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
     1015#else
    10001016  TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    10011017  Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
     1018#endif
    10021019  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    10031020  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    10601077    dir[j] = pcCU->getLumaIntraDir( absPartIdx+partOffset*j );
    10611078#if H_3D_DIM
     1079#if HHI_TOOL_PARAMETERS_I2_J0107
     1080    if( pcCU->getSlice()->getIntraSdcWedgeFlag() ||  pcCU->getSlice()->getIntraContourFlag() )
     1081#else
    10621082    if( pcCU->getSlice()->getVpsDepthModesFlag() ||  pcCU->getSlice()->getIVPFlag() )
     1083#endif
    10631084    {
    10641085      codeIntraDepth( pcCU, absPartIdx+partOffset*j );
     
    12061227    }
    12071228    //mode coding
     1229#if HHI_TOOL_PARAMETERS_I2_J0107
     1230    if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag())
     1231#else
    12081232    if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag())
     1233#endif
    12091234    {
    12101235      m_pcBinIf->encodeBin( uiCodeIdx == 0 ? 0 : 1, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) );
     
    23052330  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
    23062331  AOF( ePartSize == SIZE_2NxN || ePartSize == SIZE_Nx2N );
     2332#if HHI_TOOL_PARAMETERS_I2_J0107
     2333  AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() );
     2334#else
    23072335  AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
     2336#endif
    23082337  AOF( !pcCU->getSlice()->getIsDepth() );
    23092338 
Note: See TracChangeset for help on using the changeset viewer.