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


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

Merged branch 12.2-dev0@1123

File:
1 edited

Legend:

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

    r1084 r1124  
    880880
    881881    TComVPS*           vps = pcSlice->getVPS();     
     882#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     883#if H_3D
     884    Int numDirectRefLayers = vps    ->getNumRefListLayers( getLayerId() );
     885#else
    882886    Int numDirectRefLayers = vps    ->getNumDirectRefLayers( getLayerId() );
     887#endif
     888#else
     889    Int numDirectRefLayers = vps    ->getNumDirectRefLayers( getLayerId() );
     890#endif
    883891    GOPEntry gopEntry      = m_pcCfg->getGOPEntry( (pcSlice->getRapPicFlag() && getLayerId() > 0) ? MAX_GOP : iGOPid );     
    884892   
     
    893901          pcSlice->setNumInterLayerRefPicsMinus1( gopEntry.m_numActiveRefLayerPics - 1 );
    894902        }
     903#if HHI_DEPENDENCY_SIGNALLING_I1_J0107
     904#if H_3D
     905        if ( gopEntry.m_numActiveRefLayerPics != vps->getNumRefListLayers( getLayerId() ) )
     906#else
    895907        if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) )
     908#endif
     909#else
     910        if ( gopEntry.m_numActiveRefLayerPics != vps->getNumDirectRefLayers( getLayerId() ) )
     911#endif
    896912        {       
    897913          interLayerPredLayerIdcPresentFlag = true;
     
    941957    pcSlice->setRefPicList ( rcListPic );
    942958#endif
     959#if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060
    943960#if H_3D_SINGLE_DEPTH
     961#if HHI_TOOL_PARAMETERS_I2_J0107
     962    pcSlice->setApplySingleDepthMode( pcSlice->getIntraSingleFlag() );
     963#else
    944964    TEncTop* pcEncTop = (TEncTop*) m_pcCfg;
    945965    bool enableSingleDepthMode=false;
     
    952972    }
    953973    pcSlice->setApplySingleDepthMode(enableSingleDepthMode);
    954 #endif   
     974#endif
     975#endif   
     976#endif
     977#if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037
     978    pcSlice->setDefaultRefView();
     979#endif
    955980#if H_3D_ARP
    956981    //GT: This seems to be broken when layerId in vps is not equal to layerId in nuh
     
    14141439        pcSlice->getSPS()->getVuiParameters()->setHrdParametersPresentFlag( true );
    14151440      }
     1441#if HHI_TOOL_PARAMETERS_I2_J0107
     1442      m_pcEntropyCoder->encodeSPS(pcSlice->getSPS());
     1443#else
    14161444#if !H_3D
    14171445      m_pcEntropyCoder->encodeSPS(pcSlice->getSPS());
    14181446#else
    14191447      m_pcEntropyCoder->encodeSPS(pcSlice->getSPS(), pcSlice->getViewIndex(), pcSlice->getIsDepth() );
     1448#endif
    14201449#endif
    14211450      writeRBSPTrailingBits(nalu.m_Bitstream);
Note: See TracChangeset for help on using the changeset viewer.