Ignore:
Timestamp:
2 Jun 2015, 07:27:57 (10 years ago)
Author:
liu
Message:

-sync to revision 1242

Location:
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComCodingStatistics.h

    r1200 r1246  
    8080  STATS__CABAC_BITS__SIGN_BIT,
    8181  STATS__CABAC_BITS__ESCAPE_BITS,
    82 
     82#if NH_3D_DBBP
     83  STATS__CABAC_BITS__DBBP_FLAG,
     84#endif
    8385  STATS__CABAC_BITS__SAO,
    8486  STATS__CABAC_TRM_BITS,
     
    131133    "CABAC_BITS__SIGN_BIT",
    132134    "CABAC_BITS__ESCAPE_BITS",
     135#if NH_3D_DBBP
     136    "CABAC_BITS__DBBP_FLAG",
     137#endif
    133138    "CABAC_BITS__SAO",
    134139    "CABAC_TRM_BITS",
  • branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp

    r1222 r1246  
    975975#if H_3D_VSP
    976976      m_piVSPFlag[ui]=pcCU->m_piVSPFlag[uiPartOffset+ui];
     977#endif
     978#if H_3D_VSP || NH_3D_DBBP
    977979      m_pDvInfo[ ui ] = pcCU->m_pDvInfo[uiPartOffset+ui];
    978980#endif
     
    12371239#if H_3D_VSP
    12381240  m_piVSPFlag          = pcCU->getVSPFlag()               + uiAbsPartIdx;
     1241#endif
     1242#if H_3D_VSP || NH_3D_DBBP
    12391243  m_pDvInfo            = pcCU->getDvInfo()                + uiAbsPartIdx;
    12401244#endif
     
    12951299#if H_3D_VSP
    12961300  memcpy( m_piVSPFlag           + uiOffset, pcCU->getVSPFlag(),           sizeof( Char ) * uiNumPartition );
     1301#endif
     1302#if H_3D_VSP || NH_3D_DBBP
    12971303  memcpy( m_pDvInfo             + uiOffset, pcCU->getDvInfo(),            sizeof( *m_pDvInfo ) * uiNumPartition );
    12981304#endif
     
    14221428  #if H_3D_VSP
    14231429  memcpy( rpcCU->getVSPFlag()           + m_uiAbsIdxInLCU, m_piVSPFlag,           sizeof( Char ) * m_uiNumPartition );
    1424   memcpy( rpcCU->getDvInfo()            + m_uiAbsIdxInLCU, m_pDvInfo,             sizeof( *m_pDvInfo ) * m_uiNumPartition );
     1430#endif
     1431#if H_3D_VSP || NH_3D_DBBP
     1432  memcpy( pCtu->getDvInfo()            + m_absZIdxInCtu, m_pDvInfo,             sizeof( *m_pDvInfo ) * m_uiNumPartition );
    14251433#endif
    14261434#if H_3D_SPIVMP
     
    21182126 
    21192127  // DBBP is a texture coding tool
    2120   if( getSlice()->getIsDepth() )
    2121   {
    2122     return NULL;
    2123   } 
     2128  assert( !getSlice()->getIsDepth() );
     2129 
    21242130#if H_3D_FCO
    21252131  TComPic* depthPic = getSlice()->getIvPic(true, getSlice()->getViewIndex() );
     
    25072513  setSubPart<Char>( iVSPFlag, m_piVSPFlag, uiAbsPartIdx, uiDepth, uiPartIdx );
    25082514}
    2509 #if H_3D_VSP
     2515#endif
     2516#if H_3D_VSP || NH_3D_DBBP
    25102517template<typename T>
    25112518Void TComDataCU::setSubPartT( T uiParameter, T* puhBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx )
    25122519{
    2513   UInt uiCurrPartNumQ = (m_pcPic->getNumPartInCU() >> (2 * uiCUDepth)) >> 2;
     2520  UInt uiCurrPartNumQ = (m_pcPic->getNumPartitionsInCtu() >> (2 * uiCUDepth)) >> 2;
    25142521  switch ( m_pePartSize[ uiCUAddr ] )
    25152522  {
     
    26422649
    26432650}
    2644 #endif
    26452651#endif
    26462652
     
    61316137  }
    61326138}
    6133 #if H_3D_VSP
     6139#if H_3D_VSP || NH_3D_DBBP
    61346140Void TComDataCU::setDvInfoSubParts( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth )
    61356141{
  • branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComDataCU.h

    r1222 r1246  
    454454  template <typename T>
    455455  Void          setSubPart            ( T bParameter, T* pbBaseCtu, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx );
    456 #if H_3D_VSP
     456#if H_3D_VSP || NH_3D_DBBP
    457457  template<typename T>
    458458  Void          setSubPartT           ( T uiParameter, T* puhBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx );
     
    482482#if NH_3D_NBDV
    483483  Void          setDvInfoSubParts     ( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiDepth );
     484#if H_3D_VSP || NH_3D_DBBP
    484485  Void          setDvInfoSubParts     ( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth);
     486#endif
    485487  DisInfo*      getDvInfo             ()                        { return m_pDvInfo;                 }
    486488  DisInfo       getDvInfo             (UInt uiIdx)              { return m_pDvInfo[uiIdx];          }
  • branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComSlice.cpp

    r1217 r1246  
    20322032Int TComVPS::scalTypeToScalIdx( ScalabilityType scalType ) const
    20332033{
    2034   assert( scalType >= 0 && scalType <= MAX_NUM_SCALABILITY_TYPES );
    2035   assert( scalType == MAX_NUM_SCALABILITY_TYPES || getScalabilityMaskFlag( scalType ) );
     2034  assert( (Int)scalType >= 0 && (Int)scalType <= MAX_NUM_SCALABILITY_TYPES );
     2035  assert( (Int)scalType == MAX_NUM_SCALABILITY_TYPES || getScalabilityMaskFlag( scalType ) );
    20362036  Int scalIdx = 0;
    20372037  for( Int curScalType = 0; curScalType < scalType; curScalType++ )
Note: See TracChangeset for help on using the changeset viewer.