Ignore:
Timestamp:
9 May 2013, 07:51:01 (12 years ago)
Author:
mediatek-htm
Message:

D0156 source code

Location:
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibDecoder
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibDecoder/TDecCAVLC.cpp

    r374 r384  
    16021602#endif
    16031603      }
     1604
     1605#if MTK_D0156
     1606
     1607      pcSPS->setUseVSPCompensation( false );
     1608      pcSPS->setUseDVPRefine( false );
     1609
     1610      //Comments: Currently, BVSP and DoNBDV are not used for depth coding
     1611#if MERL_VSP_COMPENSATION_C0152
     1612      READ_FLAG( uiCode, "view_synthesis_pred_flag" );pcSPS->setUseVSPCompensation( uiCode ? true : false );
     1613#endif
     1614      READ_FLAG( uiCode, "dv_refine_flag" );          pcSPS->setUseDVPRefine( uiCode ? true : false );
     1615#endif
    16041616    }
    16051617    READ_FLAG( uiCode, "sps_extension2_flag");
  • branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibDecoder/TDecCu.cpp

    r355 r384  
    373373    Int iVSPIndexTrue[3] = {-1, -1, -1};
    374374    m_ppcCU[uiDepth]->getInterMergeCandidates( 0, 0, uiDepth, cMvFieldNeighbours, uhInterDirNeighbours, numValidMergeCand, iVSPIndexTrue, uiMergeIndex );
     375   
     376#if MTK_D0156
     377    if( !pcCU->getSlice()->getSPS()->getUseVSPCompensation() )
     378    {
     379        pcCU->setVSPIndexSubParts( 0, uiAbsPartIdx, 0, uiDepth );
     380    }
     381    else
     382#endif
    375383    {
    376384      Int iVSPIdx = 0;
  • branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibDecoder/TDecEntropy.cpp

    r355 r384  
    317317      else // MPI not used
    318318#endif
     319#if MTK_D0156
     320          if( !pcCU->getSlice()->getSPS()->getUseVSPCompensation() )
     321          {
     322              pcCU->setVSPIndexSubParts( 0, uiSubPartIdx, uiPartIdx, uiDepth );
     323          }
     324          else
     325#endif
    319326      {
    320327        Int iVSPIdx = 0;
Note: See TracChangeset for help on using the changeset viewer.