Changeset 765 in 3DVCSoftware for branches/HTM-9.2-dev0/source/App
- Timestamp:
- 12 Jan 2014, 02:46:46 (11 years ago)
- Location:
- branches/HTM-9.2-dev0/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncCfg.cpp
r764 r765 515 515 ("AdvMultiviewResPred", m_uiUseAdvResPred, (UInt)1, "Usage of Advanced Residual Prediction" ) 516 516 #endif 517 #if MTK_SPIVMP_F0110517 #if H_3D_SPIVMP 518 518 ("SubPULog2Size", m_iSubPULog2Size, (Int)3, "Sub-PU size index: 2^n") 519 519 #endif … … 525 525 ("InterSDC", m_bDepthInterSDCFlag, true, "Enable depth inter SDC") 526 526 #endif 527 #if SEC_MPI_ENABLING_MERGE_F0150527 #if H_3D_IV_MERGE 528 528 ("MPI", m_bMPIFlag, true, "Enable MPI") 529 529 #endif … … 780 780 #endif 781 781 #if H_3D_IV_MERGE 782 #if QC_DEPTH_IV_MRG_F0125783 782 ("IvMvPred", m_ivMvPredFlag , std::vector<Bool>(2, true) , "inter view motion prediction " ) 784 #else785 ("IvMvPred", m_ivMvPredFlag, true , "inter view motion prediction " )786 #endif787 783 #endif 788 784 #if H_3D_NBDV_REF … … 1537 1533 xConfirmPara( ( 0 != m_uiUseAdvResPred ) && ( 1 != m_uiUseAdvResPred ), "UseAdvResPred must be 0 or 1." ); 1538 1534 #endif 1539 #if MTK_SPIVMP_F01101535 #if H_3D_SPIVMP 1540 1536 xConfirmPara( m_iSubPULog2Size < 2, "SubPULog2Size must be 2 or greater."); 1541 1537 xConfirmPara( m_iSubPULog2Size > 6, "SubPULog2Size must be 6 or smaller."); … … 2498 2494 #endif 2499 2495 #if H_3D_IV_MERGE 2500 #if QC_DEPTH_IV_MRG_F01252501 2496 printf("IvMvPred:%d %d", m_ivMvPredFlag[0] ? 1 : 0, m_ivMvPredFlag[1] ? 1 : 0); 2502 #else 2503 printf("IvMvPred:%d ", m_ivMvPredFlag ); 2504 #endif 2505 #if MTK_SPIVMP_F0110 2497 #if H_3D_SPIVMP 2506 2498 printf(" SubPULog2Size:%d " , m_iSubPULog2Size ); 2507 2499 #endif … … 2530 2522 printf( "interSDC: %d ", m_bDepthInterSDCFlag ? 1 : 0 ); 2531 2523 #endif 2532 #if SEC_MPI_ENABLING_MERGE_F01502524 #if H_3D_IV_MERGE 2533 2525 printf( "MPI: %d ", m_bMPIFlag ? 1 : 0 ); 2534 2526 #endif -
branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncCfg.h
r764 r765 136 136 137 137 #if H_3D_IV_MERGE 138 #if QC_DEPTH_IV_MRG_F0125139 138 vector<Bool> m_ivMvPredFlag; ///< Interview motion vector prediction 140 #else 141 Bool m_ivMvPredFlag; ///< Interview motion vector prediction 142 #endif 143 #if MTK_SPIVMP_F0110 139 #if H_3D_SPIVMP 144 140 Int m_iSubPULog2Size; 145 141 #endif … … 503 499 Bool m_bDepthInterSDCFlag; ///< flag for inter SDC of depth map coding 504 500 #endif 505 #if SEC_MPI_ENABLING_MERGE_F0150501 #if H_3D_IV_MERGE 506 502 Bool m_bMPIFlag; ///< flag for MPI of depth map coding 507 503 #endif -
branches/HTM-9.2-dev0/source/App/TAppEncoder/TAppEncTop.cpp
r764 r765 160 160 //====== Camera Parameters ========= 161 161 m_cTEncTop.setCameraParameters ( &m_cCameraData ); 162 #if QC_DEPTH_IV_MRG_F0125163 162 m_cTEncTop.setCamParPrecision ( m_cCameraData.getCamParsCodedPrecision () ); 164 163 m_cTEncTop.setCamParInSliceHeader ( m_cCameraData.getVaryingCameraParameters() ); 165 164 m_cTEncTop.setCodedScale ( m_cCameraData.getCodedScale () ); 166 165 m_cTEncTop.setCodedOffset ( m_cCameraData.getCodedOffset () ); 167 #else168 m_cTEncTop.setCamParPrecision ( isDepth ? false : m_cCameraData.getCamParsCodedPrecision () );169 m_cTEncTop.setCamParInSliceHeader ( isDepth ? 0 : m_cCameraData.getVaryingCameraParameters() );170 m_cTEncTop.setCodedScale ( isDepth ? 0 : m_cCameraData.getCodedScale () );171 m_cTEncTop.setCodedOffset ( isDepth ? 0 : m_cCameraData.getCodedOffset () );172 #endif173 166 #if H_3D_VSO 174 167 //====== VSO ========= … … 194 187 m_cTEncTop.setARPStepNum ( ( isDepth || 0==layerIdInVps ) ? 1 : H_3D_ARP_WFNR ); 195 188 #endif 196 #if MTK_SPIVMP_F0110189 #if H_3D_SPIVMP 197 190 m_cTEncTop.setSubPULog2Size (( isDepth || 0==layerIdInVps ) ? 0 : m_iSubPULog2Size ); 198 191 #endif … … 214 207 m_cTEncTop.setInterSDCEnable ( isDepth ? m_bDepthInterSDCFlag : false ); 215 208 #endif 216 #if SEC_MPI_ENABLING_MERGE_F0150209 #if H_3D_IV_MERGE 217 210 m_cTEncTop.setUseMPI ( isDepth ? m_bMPIFlag : false ); 218 211 #endif … … 1974 1967 vps.setARPStepNum ( layer, ( isDepth || isLayerZero ) ? 1 : H_3D_ARP_WFNR ); 1975 1968 #endif 1976 #if MTK_SPIVMP_F01101969 #if H_3D_SPIVMP 1977 1970 if( isDepth ) 1978 1971 { 1979 #if MTK_F0110_FIX1980 1972 vps.setSubPULog2Size ( layer, (layer != 1) ? 6: 0 ); 1981 #else1982 vps.setSubPULog2Size ( layer, (layer != 1) ? m_iSubPULog2Size: 0 );1983 #endif1984 1973 } 1985 1974 else … … 2007 1996 2008 1997 #if H_3D_IV_MERGE 2009 #if QC_DEPTH_IV_MRG_F01252010 1998 if( isDepth ) 2011 1999 { … … 2016 2004 vps.setIvMvPredFlag ( layer, !isLayerZero && m_ivMvPredFlag[0] ); 2017 2005 } 2018 #else2019 vps.setIvMvPredFlag ( layer, !isLayerZero && !isDepth && m_ivMvPredFlag );2020 #endif2021 2006 #endif 2022 2007 #if H_3D_NBDV_REF … … 2029 2014 vps.setInterSDCFlag( layer, !isLayerZero && isDepth && m_bDepthInterSDCFlag ); 2030 2015 #endif 2031 #if SEC_MPI_ENABLING_MERGE_F01502016 #if H_3D_IV_MERGE 2032 2017 vps.setMPIFlag( layer, !isLayerZero && isDepth && m_bMPIFlag ); 2033 2018 #endif
Note: See TracChangeset for help on using the changeset viewer.