Changeset 1305 in 3DVCSoftware for branches/HTM-14.1-update-dev1/source/Lib/TLibCommon
- Timestamp:
- 29 Jul 2015, 12:12:44 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1/source/Lib/TLibCommon
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/CommonDef.h
r1287 r1305 391 391 #define STD_CAM_PARAMETERS_PRECISION 5 ///< quarter luma sample accuarcy for derived disparities (as default) 392 392 393 #endif // end of H_3D393 #endif // end of NH_3D 394 394 //! \} 395 395 -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComDataCU.cpp
r1304 r1305 3647 3647 !bARPFlag && 3648 3648 #endif 3649 #if H_3D 3649 #if H_3D || NH_3D_FIX_VSP 3650 3650 (nPSW + nPSH > 12) && 3651 3651 #endif … … 5627 5627 if(!m_pcSlice->getIsDepth()) 5628 5628 { 5629 #if H_3D_DBBP 5629 #if H_3D_DBBP || NH_3D_ALIGN_SPIVMP_DBBP 5630 5630 if (!getDBBPFlag(0)) 5631 5631 #else … … 5803 5803 iCurrPosY += ( iHeight >> 1 ); 5804 5804 } 5805 #if H_3D_DBBP 5805 #if H_3D_DBBP || NH_3D_ALIGN_SPIVMP_DBBP 5806 5806 for(Int iLoopCan = ( (m_pcSlice->getIsDepth() || getDBBPFlag(0)) ? 0 : 1 ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 5807 5807 #else … … 5878 5878 } 5879 5879 #if NH_3D_SPIVMP 5880 #if H_3D_DBBP 5880 #if H_3D_DBBP || NH_3D_ALIGN_SPIVMP_DBBP 5881 5881 for(Int iLoopCan = ( (m_pcSlice->getIsDepth() || getDBBPFlag(0)) ? 0 : 1 ); iLoopCan < ( 2 - m_pcSlice->getIsDepth() ); iLoopCan ++) 5882 5882 #else -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComDataCU.h
r1285 r1305 50 50 #include "TComPattern.h" 51 51 52 #if H_3D53 #include <algorithm>54 #include <vector>55 #endif56 57 52 //! \ingroup TLibCommon 58 53 //! \{ … … 504 499 #endif 505 500 506 #if H_3D507 Void getDispforDepth ( UInt uiPartIdx, UInt uiPartAddr, DisInfo* cDisp);508 Bool getDispMvPredCan(UInt uiPartIdx, RefPicList eRefPicList, Int iRefIdx, Int* paiPdmRefIdx, TComMv* pacPdmMv, DisInfo* pDis, Int* iPdm );509 #endif510 501 #if NH_3D_NBDV_REF 511 502 Pel getMcpFromDM(TComPicYuv* pcBaseViewDepthPicYuv, TComMv* mv, Int iBlkX, Int iBlkY, Int iWidth, Int iHeight, Int* aiShiftLUT ); -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComPic.cpp
r1279 r1305 62 62 , m_layerId (0) 63 63 , m_viewId (0) 64 #if H_3D64 #if NH_3D 65 65 , m_viewIndex (0) 66 66 , m_isDepth (false) -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComPicYuv.cpp
r1279 r1305 324 324 #endif 325 325 326 #if H_3D327 Void TComPicYuv::setLumaTo( Pel pVal )328 {329 xSetPels( getLumaAddr(), getStride(), getWidth(), getHeight(), pVal );330 }331 #endif332 326 #if NH_3D_VSO 333 327 Void TComPicYuv::setChromaTo( Pel pVal ) -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComPrediction.cpp
r1287 r1305 584 584 pcCU->getSPAbsPartIdx(uiPartAddr, iSPWidth, iSPHeight, i, iNumSPInOneLine, uiSPAddr[i]); 585 585 } 586 #if H_3D_ARP // check this!586 #if H_3D_ARP || NH_3D_ALIGN_SPIVMP_RP // check this! 587 587 if( pcCU->getARPW( uiPartAddr ) != 0 ) 588 588 { -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComRom.cpp
r1285 r1305 551 551 Bool g_decTraceMvFromMerge = false; 552 552 Bool g_decTracePicOutput = false; 553 Bool g_stopAtPos = false;553 Bool g_stopAtPos = true; 554 554 Bool g_outputPos = false; 555 555 Bool g_traceCameraParameters = false; … … 686 686 } 687 687 Bool stopFlag = false; 688 if ( g_stopAtPos && poc == 16 && layerId == 5)688 if ( g_stopAtPos && poc == 0 && layerId == 2 ) 689 689 { 690 690 Bool stopAtCU = true; 691 691 if ( stopAtCU ) // Stop at CU with specific size 692 692 { 693 stopFlag = ( cuPelX == 224 ) && ( cuPelY == 128 ) && ( cuWidth == 16 ) && ( cuHeight == 16);693 stopFlag = ( cuPelX == 416 ) && ( cuPelY == 632 ) && ( cuWidth == 8 ) && ( cuHeight == 8 ); 694 694 } 695 695 else -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComSlice.cpp
r1287 r1305 2234 2234 } 2235 2235 } 2236 #endif // H_3D2236 #endif // NH_3D 2237 2237 2238 2238 … … 2503 2503 auxId .push_back( getAuxId ( i ) ); 2504 2504 viewId .push_back( getViewId ( getLayerIdInNuh( i ) ) ); 2505 #if H_3D2505 #if NH_3D 2506 2506 depthId.push_back( getDepthId( i ) ); 2507 2507 #endif -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TComSlice.h
r1287 r1305 3094 3094 Bool inferPocMsbValPresentFlag(); 3095 3095 #endif 3096 #if H_3D3097 Int getDefaultRefViewIdx() { return m_iDefaultRefViewIdx; }3098 Void setDefaultRefViewIdx(Int iViewIdx) { m_iDefaultRefViewIdx = iViewIdx; }3099 3100 Bool getDefaultRefViewIdxAvailableFlag() { return m_bDefaultRefViewIdxAvailableFlag; }3101 Void setDefaultRefViewIdxAvailableFlag(Bool bViewIdx) { m_bDefaultRefViewIdxAvailableFlag = bViewIdx; }3102 Void setDefaultRefView( );3103 #endif3104 3096 protected: 3105 3097 TComPic* xGetRefPic (TComList<TComPic*>& rcListPic, Int poc); -
branches/HTM-14.1-update-dev1/source/Lib/TLibCommon/TypeDef.h
r1304 r1305 66 66 ///////////////////////////////////////////////////////////////////////////////////////// 67 67 #if NH_MV 68 #define NH_3D_DLT_FIX 1 // Fixes numbers of parsed DLTs 69 #define H_MV_VER141_DEC_COMP_FLAG 1 // Makes decoding of this version compatible to HTM-14.1 by re-introducing HTM-14.1 bugs. 70 #define NH_3D_ALIGN_SPIVMP_DBBP 1 // Further alignment of DBBP and SBP motion 71 #define NH_3D_ALIGN_SPIVMP_RP 1 // Alignment of DBBP and RP 72 #define NH_3D_FIX_VSP 1 73 68 74 #define H_MV_ENC_DEC_TRAC 1 //< CU/PU level tracking 69 75 #define H_MV_ENC_DEC_TRAC_FIX 1 // by SHARP … … 1149 1155 }; 1150 1156 //! \} 1151 #if H_3D 1152 #define !!! REMOVE THIS !!! Log2( n ) ( log((double)n) / log(2.0) ) // Ed.(GT): This is very very bad and should be fixed to used integer arithmetics ( see gCeilLog2 ) moreover it should not be defined in the tool macro section! 1153 #endif 1154 #endif 1157 #endif
Note: See TracChangeset for help on using the changeset viewer.