Ignore:
Timestamp:
18 Feb 2015, 17:39:40 (10 years ago)
Author:
tech
Message:

Cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.0-dev0/source/Lib/TLibEncoder/TEncSbac.cpp

    r1124 r1131  
    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
    258257    if( m_pcSlice->getIntraSdcWedgeFlag() || m_pcSlice->getIntraContourFlag() )
    259 #else
    260     if( m_pcSlice->getVpsDepthModesFlag() || m_pcSlice->getIVPFlag() )
    261 #endif
    262258    {
    263259      curCost += m_cDepthIntraModeSCModel.calcCost    ( curSliceType, qp, (UChar*)INIT_DEPTH_INTRA_MODE );
     
    350346}
    351347
    352 #if HHI_TOOL_PARAMETERS_I2_J0107
    353348Void TEncSbac::codeSPS( TComSPS* pcSPS )
    354 #else
    355 #if H_3D
    356 Void TEncSbac::codeSPS( TComSPS* pcSPS, Int viewIndex, Bool depthFlag )
    357 #else
    358 Void TEncSbac::codeSPS( TComSPS* pcSPS )
    359 #endif
    360 #endif
    361349{
    362350  assert (0);
     
    633621  PartSize eSize         = pcCU->getPartitionSize( uiAbsPartIdx );
    634622#if H_3D_QTLPC
    635 #if HHI_TOOL_PARAMETERS_I2_J0107
    636623  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    637 #else
    638   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    639   Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    640 #endif
    641624  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    642625  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    1011994
    1012995 
    1013 #if HHI_TOOL_PARAMETERS_I2_J0107
    1014996  Bool    bLimQtPredFlag = pcCU->getPic()->getSlice(0)->getQtPredFlag();
    1015 #else
    1016   TComVPS *vps           = pcCU->getPic()->getSlice(0)->getVPS();
    1017   Bool    bLimQtPredFlag = vps->getLimQtPredFlag(pcCU->getPic()->getSlice(0)->getLayerId());
    1018 #endif
    1019997  TComPic *pcTexture     = pcCU->getSlice()->getTexturePic();
    1020998  Bool bDepthMapDetect   = (pcTexture != NULL);
     
    10771055    dir[j] = pcCU->getLumaIntraDir( absPartIdx+partOffset*j );
    10781056#if H_3D_DIM
    1079 #if HHI_TOOL_PARAMETERS_I2_J0107
    10801057    if( pcCU->getSlice()->getIntraSdcWedgeFlag() ||  pcCU->getSlice()->getIntraContourFlag() )
    1081 #else
    1082     if( pcCU->getSlice()->getVpsDepthModesFlag() ||  pcCU->getSlice()->getIVPFlag() )
    1083 #endif
    10841058    {
    10851059      codeIntraDepth( pcCU, absPartIdx+partOffset*j );
     
    12271201    }
    12281202    //mode coding
    1229 #if HHI_TOOL_PARAMETERS_I2_J0107
    12301203    if( pcCU->getSlice()->getIntraSdcWedgeFlag() && pcCU->getSlice()->getIntraContourFlag())
    1231 #else
    1232     if( pcCU->getSlice()->getVpsDepthModesFlag() && pcCU->getSlice()->getIVPFlag())
    1233 #endif
    12341204    {
    12351205      m_pcBinIf->encodeBin( uiCodeIdx == 0 ? 0 : 1, m_cDepthIntraModeSCModel.get( 0, 0, 0 ) );
     
    23302300  PartSize ePartSize = pcCU->getPartitionSize( uiAbsPartIdx );
    23312301  AOF( ePartSize == SIZE_2NxN || ePartSize == SIZE_Nx2N );
    2332 #if HHI_TOOL_PARAMETERS_I2_J0107
    23332302  AOF( pcCU->getSlice()->getDepthBasedBlkPartFlag() );
    2334 #else
    2335   AOF( pcCU->getSlice()->getVPS()->getUseDBBP(pcCU->getSlice()->getLayerIdInVps()) );
    2336 #endif
    23372303  AOF( !pcCU->getSlice()->getIsDepth() );
    23382304 
Note: See TracChangeset for help on using the changeset viewer.