Changeset 780 in 3DVCSoftware


Ignore:
Timestamp:
20 Jan 2014, 04:17:49 (11 years ago)
Author:
qualcomm
Message:

integration of JCT3V-G0127/JCT3V-G0098 by Qualcomm

Location:
branches/HTM-9.3-dev1-Qualcomm
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-9.3-dev1-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp

    r779 r780  
    43514351  //////// INTER VIEW MOTION COMP(IvMC) /////////
    43524352  ///////////////////////////////////////////////
    4353 
     4353#if QC_DEPTH_MERGE_SIMP_G0127
     4354  if( getSlice()->getIsDepth() )
     4355  {
     4356    ivCandDir[1] = ivCandDir[2] = ivCandDir[3] = 0;
     4357  }
     4358#endif
    43544359  if( ivCandDir[0] )
    43554360  {
     
    45884593  //////// INTER VIEW DISP COMP (IvDC) ////////
    45894594  /////////////////////////////////////////////
    4590 
     4595#if QC_DEPTH_MERGE_SIMP_G0127
     4596  if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
     4597#else
    45914598  if( ivCandDir[1] && iCount < getSlice()->getMaxNumMergeCand())
     4599#endif
    45924600  {
    45934601    assert(iCount < getSlice()->getMaxNumMergeCand());
     
    47504758  //////// SHIFTED IV (IvMCShift + IvDCShift) ////////
    47514759  ////////////////////////////////////////////////////
     4760#if QC_DEPTH_MERGE_SIMP_G0127
     4761  if(  ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() && !getSlice()->getIsDepth() )
     4762#else
    47524763  if(  ivMvPredFlag && iCount < getSlice()->getMaxNumMergeCand() )
     4764#endif
    47534765  {
    47544766    if(xAddIvMRGCand( mrgCandIdx,  iCount, abCandIsInter, pcMvFieldNeighbours, puhInterDirNeighbours, ivCandDir, ivCandMv, ivCandRefIdx, posIvDC, vspFlag, iCount3DV, inheritedVSPDisInfo ) )
     
    73007312   iCurrPosY  += ( iHeight >> 1 );
    73017313 }
     7314#if QC_DEPTH_MERGE_SIMP_G0127
     7315 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++)
     7316#else
    73027317 for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < 2; iLoopCan ++)
     7318#endif
    73037319#else
    73047320  for(Int iLoopCan = 1; iLoopCan < 2; iLoopCan ++)
     
    73877403#if H_3D_SPIVMP
    73887404#if QC_SPIVMP_MPI_G0119
     7405#if QC_DEPTH_MERGE_SIMP_G0127
     7406  for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++)
     7407#else
    73897408  for(Int iLoopCan = ( 1 - m_pcSlice->getIsDepth() ); iLoopCan < 2; iLoopCan ++)
     7409#endif
    73907410#else
    73917411  for(Int iLoopCan = 1; iLoopCan < 2; iLoopCan ++)
     
    74027422  /////// IvDC + IvDCShift ///////
    74037423  ////////////////////////////////
    7404  
     7424#if QC_DEPTH_MERGE_SIMP_G0127
     7425  if( !getSlice()->getIsDepth() )
     7426  {
     7427#endif
    74057428  for( Int iRefListId = 0; iRefListId < 2 ; iRefListId++ )
    74067429  {
     
    74367459    availableMcDc[1 + (iLoopCan << 1)] = ( abPdmAvailable[2 + (iLoopCan<<2)] ? 1 : 0 ) + ( abPdmAvailable[3 + (iLoopCan<<2)] ? 2 : 0 );
    74377460  }
     7461#if QC_DEPTH_MERGE_SIMP_G0127
     7462  }
     7463#endif
    74387464  return false;
    74397465}
  • branches/HTM-9.3-dev1-Qualcomm/source/Lib/TLibCommon/TypeDef.h

    r779 r780  
    229229#define QC_SPIVMP_MPI_G0119               1 // Sub-PU level MPI merge candidate
    230230#endif
     231#define QC_DEPTH_MERGE_SIMP_G0127         1 // Remove DV candidate and shifting candidate for depth coding
    231232
    232233///// ***** DEPTH INTRA MODES *********
Note: See TracChangeset for help on using the changeset viewer.