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/TLibDecoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r479 r486  
    954954    {
    955955#if H_3D
    956 #if H_3D_IV_MERGE
     956#if H_3D_GEN
    957957      for( Int layer = 0; layer <= pcVPS->getMaxLayers() - 1; layer++ )
    958958      {
     
    961961          if ( !( pcVPS->getDepthId( layer ) == 1 ) )
    962962          {
    963             READ_FLAG( uiCode, "ivMvPredFlag[i]"); pcVPS->setIvMvPredFlag( layer, uiCode == 1 ? true : false );
     963#if H_3D_IV_MERGE
     964            READ_FLAG( uiCode, "iv_mv_pred_flag[i]");          pcVPS->setIvMvPredFlag         ( layer, uiCode == 1 ? true : false );
     965#endif
     966#if H_3D_NBDV_REF
     967            READ_FLAG( uiCode, "depth_refinement_flag[i]");    pcVPS->setDepthRefinementFlag  ( layer, uiCode == 1 ? true : false );
     968#endif
     969#if H_3D_VSP
     970            READ_FLAG( uiCode, "view_synthesis_pred_flag[i]"); pcVPS->setViewSynthesisPredFlag( layer, uiCode == 1 ? true : false );
     971#endif
    964972          }         
    965973        }       
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecCu.cpp

    r478 r486  
    292292      m_ppcCU[uiDepth]->setPartSizeSubParts( SIZE_2Nx2N, 0, uiDepth );     
    293293#if H_3D_NBDV_REF
    294       if(pcCU->getSlice()->getSPS()->getUseDVPRefine())  //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done.
     294      if(pcCU->getSlice()->getVPS()->getDepthRefinementFlag( pcCU->getSlice()->getLayerIdInVps() ))  //Notes from QC: please check the condition for DoNBDV. Remove this comment once it is done.
    295295        DvInfo.bDV = m_ppcCU[uiDepth]->getDisMvpCandNBDV(&DvInfo, true);
    296296      else
  • branches/HTM-DEV-0.3-dev2/source/Lib/TLibDecoder/TDecGop.cpp

    r479 r486  
    159159  }
    160160#endif
     161#if H_3D_GEN
     162  pcSlice->setDepthToDisparityLUTs();
     163#endif
    161164  m_pcSbacDecoders[0].load(m_pcSbacDecoder);
    162165  m_pcSliceDecoder->decompressSlice( ppcSubstreams, rpcPic, m_pcSbacDecoder, m_pcSbacDecoders);
Note: See TracChangeset for help on using the changeset viewer.