Ignore:
Timestamp:
25 Feb 2015, 12:11:05 (9 years ago)
Author:
samsung-htm
Message:

Integration of K0035: Removal of encoder restriction of ARP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-13.1-dev1-Samsung/source/Lib/TLibCommon/TComDataCU.cpp

    r1146 r1147  
    891891  memset( m_puhCbf[2],          0, iSizeInUchar );
    892892  memset( m_puhDepth,     uiDepth, iSizeInUchar );
    893 #if H_3D_NBDV
     893#if H_3D_NBDV && !SEC_ARP_REM_ENC_RESTRICT_K0035
    894894  m_pDvInfo->bDV = false;
    895895#endif
     
    59405940#endif
    59415941#if H_3D_IV_MERGE
     5942#if SEC_ARP_REM_ENC_RESTRICT_K0035
     5943Void TComDataCU::getDispforDepth (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp)
     5944#else
    59425945Bool TComDataCU::getDispforDepth (UInt uiPartIdx, UInt uiPartAddr, DisInfo* pDisp)
     5946#endif
    59435947{
    59445948
     
    59565960      pDisp->m_acNBDV = cMv;
    59575961      pDisp->m_aVIdxCan = iViewIdx;
    5958 
     5962#if !SEC_ARP_REM_ENC_RESTRICT_K0035
    59595963      return true;
    5960   }
     5964#endif
     5965  }
     5966#if !SEC_ARP_REM_ENC_RESTRICT_K0035
    59615967  return false;
     5968#endif
    59625969}
    59635970#endif
     
    60386045//TBD#2: set of DvMCP values need to be done as part of inter-view motion prediction process. Remove this comment once merge related integration is done
    60396046//To be checked: Parallel Merge features for NBDV, related to DV_DERIVATION_PARALLEL_B0096 and LGE_IVMP_PARALLEL_MERGE_B0136 are not integrated. The need of these features due to the adoption of CU-based NBDV is not clear. We need confirmation on this, especially by proponents
     6047#if SEC_ARP_REM_ENC_RESTRICT_K0035
     6048Void TComDataCU::getDisMvpCandNBDV( DisInfo* pDInfo
     6049#else
    60406050Bool TComDataCU::getDisMvpCandNBDV( DisInfo* pDInfo
     6051#endif
    60416052#if H_3D_NBDV_REF
    60426053, Bool bDepthRefine
     
    60466057  //// ******* Init variables ******* /////
    60476058  // Init disparity struct for results
     6059#if !SEC_ARP_REM_ENC_RESTRICT_K0035
    60486060  pDInfo->bDV = false;   
     6061#endif
    60496062  pDInfo->m_aVIdxCan = -1;
    60506063
     
    61416154        pDInfo->m_acDoNBDV  = cColMv;
    61426155#endif //H_3D_NBDV_REF
     6156#if SEC_ARP_REM_ENC_RESTRICT_K0035
     6157        return;
     6158#else
    61436159        return true;
     6160#endif
    61446161      }
    61456162    }
     
    61586175#endif
    61596176    ) )
     6177#if SEC_ARP_REM_ENC_RESTRICT_K0035
     6178    return;
     6179#else
    61606180    return true;
     6181#endif
    61616182
    61626183  //// ******* Get disparity from above block ******* /////
     
    61706191#endif
    61716192      ) )
     6193#if SEC_ARP_REM_ENC_RESTRICT_K0035
     6194      return;
     6195#else
    61726196      return true;
     6197#endif
    61736198  }
    61746199
     
    62166241          pDInfo->m_acDoNBDV = cDispVec;
    62176242#endif
     6243#if SEC_ARP_REM_ENC_RESTRICT_K0035
     6244          return;
     6245#else
    62186246          return true;
     6247#endif
    62196248        }
    62206249      }
     
    62526281      pDInfo->m_acDoNBDV = defaultDV;
    62536282#endif
     6283#if !SEC_ARP_REM_ENC_RESTRICT_K0035
    62546284      return true;
    6255   }
     6285#endif
     6286  }
     6287#if !SEC_ARP_REM_ENC_RESTRICT_K0035
    62566288  return false;
     6289#endif
    62576290}
    62586291
Note: See TracChangeset for help on using the changeset viewer.