Changeset 1305 in 3DVCSoftware
- Timestamp:
- 29 Jul 2015, 12:12:44 (9 years ago)
- Location:
- branches/HTM-14.1-update-dev1/source
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-14.1-update-dev1/source/App/TAppEncoder/TAppEncCfg.cpp
r1304 r1305 1360 1360 ("IlluCompEnable" , m_abUseIC , true , "Enable illumination compensation" ) 1361 1361 ("IlluCompLowLatencyEnc" , m_bUseLowLatencyICEnc , false , "Enable low-latency illumination compensation encoding") 1362 #endif // H_3D1362 #endif //NH_3D 1363 1363 1364 1364 ; … … 3599 3599 } 3600 3600 #endif //HHI_VSO 3601 #endif // H_3D3601 #endif //NH_3D 3602 3602 printf("\n"); 3603 3603 #if NH_MV -
branches/HTM-14.1-update-dev1/source/App/TAppEncoder/TAppEncTop.cpp
r1287 r1305 302 302 m_cTEncTop.setUseQTL ( isDepth ? m_bUseQTL : false ); 303 303 m_cTEncTop.setSps3dExtension ( m_sps3dExtension ); 304 #endif // H_3D304 #endif // NH_3D 305 305 306 306 m_cTEncTop.setIvPicLists ( &m_ivPicLists ); -
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 -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecCAVLC.cpp
r1304 r1305 507 507 { 508 508 READ_CODE(6, uiCode, "pps_depth_layers_minus1"); 509 #if H_MV_VER141_DEC_COMP_FLAG 510 pcDLT->setNumDepthViews( uiCode ); 511 #else 509 512 pcDLT->setNumDepthViews( uiCode+1 ); 513 #endif 510 514 511 515 READ_CODE(4, uiCode, "pps_bit_depth_for_depth_layers_minus8"); 512 516 pcDLT->setDepthViewBitDepth( (uiCode+8) ); 513 517 518 #if NH_3D_DLT_FIX 519 for( Int i = 0; i <= pcDLT->getNumDepthViews()-1; i++ ) 520 #else 514 521 for( Int i = 0; i <= pcDLT->getNumDepthViews(); i++ ) 522 #endif 515 523 { 516 524 Int layerId = pcDLT->getDepthIdxToLayerId(i); -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecCu.cpp
r1304 r1305 923 923 } 924 924 925 #if H_3D925 #if NH_3D 926 926 AOF( pcCU->getARPW(uiPartAddr) == 0 ); 927 927 AOF( pcCU->getICFlag(uiPartAddr) == false ); -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecSbac.h
r1304 r1305 79 79 Void parseVPS ( TComVPS* /*pcVPS*/ ) {} 80 80 Void parseSPS ( TComSPS* /*pcSPS*/ ) {} 81 #if H_3D82 Void parsePPS ( TComPPS* /*pcPPS*/, TComVPS* /*pcVPS*/ ) {}83 #else84 81 Void parsePPS ( TComPPS* /*pcPPS*/ ) {} 85 #endif86 82 Void parseSliceHeader ( TComSlice* /*pcSlice*/, ParameterSetManager* /*parameterSetManager*/, const Int /*prevTid0POC*/) {} 87 83 Void parseTerminatingBit ( UInt& ruiBit ); -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecSlice.cpp
r1279 r1305 130 130 } 131 131 } 132 #if H_3D132 #if NH_3D_DLT 133 133 if( pcSlice->getPPS()->getDLT() != NULL ) 134 134 { 135 assert( pcSlice->getSPS()->getBitDepth Y() == pcSlice->getPPS()->getDLT()->getDepthViewBitDepth() );135 assert( pcSlice->getSPS()->getBitDepth( CHANNEL_TYPE_LUMA ) == pcSlice->getPPS()->getDLT()->getDepthViewBitDepth() ); 136 136 } 137 137 #endif -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecTop.cpp
r1279 r1305 1314 1314 pps->setLayerId( getLayerId() ); 1315 1315 #endif 1316 #if H_3D1317 // GT: Please don't add parsing dependency of SPS from VPS here again!!!1318 #endif1319 1316 #if NH_3D_DLT 1320 1317 // create mapping from depth layer indexes to layer ids -
branches/HTM-14.1-update-dev1/source/Lib/TLibDecoder/TDecTop.h
r1279 r1305 176 176 }; 177 177 178 #endif // H_3D178 #endif //NH_3D 179 179 /// decoder class 180 180 class TDecTop -
branches/HTM-14.1-update-dev1/source/Lib/TLibEncoder/TEncCavlc.cpp
r1304 r1305 380 380 WRITE_CODE((pcPPS->getDLT()->getDepthViewBitDepth() - 8), 4, "pps_bit_depth_for_depth_layers_minus8"); 381 381 382 #if NH_3D_DLT_FIX 383 for( Int i = 0; i <= pcPPS->getDLT()->getNumDepthViews()-1; i++ ) 384 #else 382 385 for( Int i = 0; i <= pcPPS->getDLT()->getNumDepthViews(); i++ ) 386 #endif 383 387 { 384 388 Int layerId = pcPPS->getDLT()->getDepthIdxToLayerId(i); -
branches/HTM-14.1-update-dev1/source/Lib/TLibEncoder/TEncCu.cpp
r1304 r1305 2254 2254 2255 2255 // prior to this, rpcTempCU will have just been reset using rpcTempCU->initEstData( uiDepth, iQP, bIsLosslessMode ); 2256 #if H_3D ||NH_3D_ARP2256 #if NH_3D_ARP 2257 2257 const Bool bTransquantBypassFlag = rpcTempCU->getCUTransquantBypass(0); 2258 2258 #endif -
branches/HTM-14.1-update-dev1/source/Lib/TLibExtractor/TExtrTop.cpp
r1200 r1305 74 74 { 75 75 TComSPS cSPS; 76 #if H_3D77 78 76 m_cEntropyDecoder .decodeSPS( &cSPS ); 79 #else80 m_cEntropyDecoder .decodeSPS( &cSPS );81 #endif82 77 m_acSPSBuffer .push_back( cSPS ); 83 78 } … … 111 106 rcVpsInfoHandle << "LayerIdInNuh = " << layerId << std::endl; 112 107 rcVpsInfoHandle << "ViewOrderIndex = " << m_cVPS.getViewIndex ( layerId ) << std::endl; 113 #if H_3D114 108 rcVpsInfoHandle << "DepthFlag = " << m_cVPS.getDepthId ( layerId ) << std::endl; 115 #endif116 109 rcVpsInfoHandle << "ViewId = " << m_cVPS.getViewId ( layerId ) << std::endl; 117 110 }
Note: See TracChangeset for help on using the changeset viewer.