Changeset 1246 in 3DVCSoftware for branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon
- Timestamp:
- 2 Jun 2015, 07:27:57 (10 years ago)
- 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 80 80 STATS__CABAC_BITS__SIGN_BIT, 81 81 STATS__CABAC_BITS__ESCAPE_BITS, 82 82 #if NH_3D_DBBP 83 STATS__CABAC_BITS__DBBP_FLAG, 84 #endif 83 85 STATS__CABAC_BITS__SAO, 84 86 STATS__CABAC_TRM_BITS, … … 131 133 "CABAC_BITS__SIGN_BIT", 132 134 "CABAC_BITS__ESCAPE_BITS", 135 #if NH_3D_DBBP 136 "CABAC_BITS__DBBP_FLAG", 137 #endif 133 138 "CABAC_BITS__SAO", 134 139 "CABAC_TRM_BITS", -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComDataCU.cpp
r1222 r1246 975 975 #if H_3D_VSP 976 976 m_piVSPFlag[ui]=pcCU->m_piVSPFlag[uiPartOffset+ui]; 977 #endif 978 #if H_3D_VSP || NH_3D_DBBP 977 979 m_pDvInfo[ ui ] = pcCU->m_pDvInfo[uiPartOffset+ui]; 978 980 #endif … … 1237 1239 #if H_3D_VSP 1238 1240 m_piVSPFlag = pcCU->getVSPFlag() + uiAbsPartIdx; 1241 #endif 1242 #if H_3D_VSP || NH_3D_DBBP 1239 1243 m_pDvInfo = pcCU->getDvInfo() + uiAbsPartIdx; 1240 1244 #endif … … 1295 1299 #if H_3D_VSP 1296 1300 memcpy( m_piVSPFlag + uiOffset, pcCU->getVSPFlag(), sizeof( Char ) * uiNumPartition ); 1301 #endif 1302 #if H_3D_VSP || NH_3D_DBBP 1297 1303 memcpy( m_pDvInfo + uiOffset, pcCU->getDvInfo(), sizeof( *m_pDvInfo ) * uiNumPartition ); 1298 1304 #endif … … 1422 1428 #if H_3D_VSP 1423 1429 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 ); 1425 1433 #endif 1426 1434 #if H_3D_SPIVMP … … 2118 2126 2119 2127 // DBBP is a texture coding tool 2120 if( getSlice()->getIsDepth() ) 2121 { 2122 return NULL; 2123 } 2128 assert( !getSlice()->getIsDepth() ); 2129 2124 2130 #if H_3D_FCO 2125 2131 TComPic* depthPic = getSlice()->getIvPic(true, getSlice()->getViewIndex() ); … … 2507 2513 setSubPart<Char>( iVSPFlag, m_piVSPFlag, uiAbsPartIdx, uiDepth, uiPartIdx ); 2508 2514 } 2509 #if H_3D_VSP 2515 #endif 2516 #if H_3D_VSP || NH_3D_DBBP 2510 2517 template<typename T> 2511 2518 Void TComDataCU::setSubPartT( T uiParameter, T* puhBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx ) 2512 2519 { 2513 UInt uiCurrPartNumQ = (m_pcPic->getNumPart InCU() >> (2 * uiCUDepth)) >> 2;2520 UInt uiCurrPartNumQ = (m_pcPic->getNumPartitionsInCtu() >> (2 * uiCUDepth)) >> 2; 2514 2521 switch ( m_pePartSize[ uiCUAddr ] ) 2515 2522 { … … 2642 2649 2643 2650 } 2644 #endif2645 2651 #endif 2646 2652 … … 6131 6137 } 6132 6138 } 6133 #if H_3D_VSP 6139 #if H_3D_VSP || NH_3D_DBBP 6134 6140 Void TComDataCU::setDvInfoSubParts( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiPUIdx, UInt uiDepth ) 6135 6141 { -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComDataCU.h
r1222 r1246 454 454 template <typename T> 455 455 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 457 457 template<typename T> 458 458 Void setSubPartT ( T uiParameter, T* puhBaseLCU, UInt uiCUAddr, UInt uiCUDepth, UInt uiPUIdx ); … … 482 482 #if NH_3D_NBDV 483 483 Void setDvInfoSubParts ( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiDepth ); 484 #if H_3D_VSP || NH_3D_DBBP 484 485 Void setDvInfoSubParts ( DisInfo cDvInfo, UInt uiAbsPartIdx, UInt uiPartIdx, UInt uiDepth); 486 #endif 485 487 DisInfo* getDvInfo () { return m_pDvInfo; } 486 488 DisInfo getDvInfo (UInt uiIdx) { return m_pDvInfo[uiIdx]; } -
branches/HTM-14.1-update-dev4-Qualcomm/source/Lib/TLibCommon/TComSlice.cpp
r1217 r1246 2032 2032 Int TComVPS::scalTypeToScalIdx( ScalabilityType scalType ) const 2033 2033 { 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 ) ); 2036 2036 Int scalIdx = 0; 2037 2037 for( Int curScalType = 0; curScalType < scalType; curScalType++ )
Note: See TracChangeset for help on using the changeset viewer.