Ignore:
Timestamp:
20 Jun 2013, 13:04:57 (11 years ago)
Author:
tech
Message:

Integrated DoNBDV provided by Mediatek and applied clean ups.

Location:
branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCavlc.cpp

    r481 r486  
    750750      {
    751751#if H_3D_IV_MERGE
    752         WRITE_FLAG( pcVPS->getIvMvPredFlag(layer) ? 1 : 0 , "ivMvPredFlag[i]");
     752        WRITE_FLAG( pcVPS->getIvMvPredFlag         (layer) ? 1 : 0 , "iv_mv_pred_flag[i]");
     753#endif
     754#if H_3D_NBDV_REF
     755        WRITE_FLAG( pcVPS->getDepthRefinementFlag  (layer) ? 1 : 0 , "depth_refinement_flag[i]");
     756#endif
     757#if H_3D_VSP
     758        WRITE_FLAG( pcVPS->getViewSynthesisPredFlag(layer) ? 1 : 0 , "view_synthesis_pred_flag[i]");
    753759#endif
    754760      }         
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncCu.cpp

    r476 r486  
    473473          rpcTempCU->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );     
    474474#if H_3D_NBDV_REF
    475           if(m_pcSlice->getSPS()->getUseDVPRefine())  //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done.
     475          if(rpcTempCU->getSlice()->getVPS()->getDepthRefinementFlag( rpcTempCU->getSlice()->getLayerIdInVps()))
    476476            DvInfo.bDV = rpcTempCU->getDisMvpCandNBDV(&DvInfo, true);
    477477          else
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncGOP.cpp

    r481 r486  
    10481048        pcPic->setNumDdvCandPics(pcPic->getDisCandRefPictures(iColPoc));
    10491049      }
     1050#if H_3D_GEN
     1051      pcSlice->setDepthToDisparityLUTs();
     1052
     1053#endif
    10501054#endif
    10511055    while(nextCUAddr<uiRealEndAddress) // determine slice boundaries
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibEncoder/TEncSlice.cpp

    r481 r486  
    544544  rpcSlice->setSliceSegmentArgument ( m_pcCfg->getSliceSegmentArgument() );
    545545#if H_3D_IV_MERGE
    546   rpcSlice->setMaxNumMergeCand      ( m_pcCfg->getMaxNumMergeCand()   + ( rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ? 1 : 0 ) );
     546   rpcSlice->setMaxNumMergeCand      ( m_pcCfg->getMaxNumMergeCand()   + ( rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ? 1 : 0 ) );
    547547#else
    548548  rpcSlice->setMaxNumMergeCand        ( m_pcCfg->getMaxNumMergeCand()        );
Note: See TracChangeset for help on using the changeset viewer.