Changeset 669 in 3DVCSoftware for branches/HTM-8.2-dev2-Qualcomm/source/App
- Timestamp:
- 4 Nov 2013, 17:39:44 (11 years ago)
- Location:
- branches/HTM-8.2-dev2-Qualcomm/source/App/TAppEncoder
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-8.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncCfg.cpp
r655 r669 750 750 #endif 751 751 #if H_3D_IV_MERGE 752 #if QC_DEPTH_IV_MRG_F0125 753 ("IvMvPred", m_ivMvPredFlag , std::vector<Bool>(2, true) , "inter view motion prediction " ) 754 #else 752 755 ("IvMvPred", m_ivMvPredFlag, true , "inter view motion prediction " ) 756 #endif 753 757 #endif 754 758 #if H_3D_NBDV_REF … … 2414 2418 #endif 2415 2419 #if H_3D_IV_MERGE 2420 #if QC_DEPTH_IV_MRG_F0125 2421 printf("IvMvPred:%d %d", m_ivMvPredFlag[0] ? 1 : 0, m_ivMvPredFlag[1] ? 1 : 0); 2422 #else 2416 2423 printf("IvMvPred:%d ", m_ivMvPredFlag ); 2424 #endif 2417 2425 #endif 2418 2426 #if H_3D_ARP -
branches/HTM-8.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncCfg.h
r655 r669 115 115 116 116 #if H_3D_IV_MERGE 117 #if QC_DEPTH_IV_MRG_F0125 118 vector<Bool> m_ivMvPredFlag; ///< Interview motion vector prediction 119 #else 117 120 Bool m_ivMvPredFlag; ///< Interview motion vector prediction 121 #endif 118 122 #endif 119 123 #if H_3D_ARP /// < flag and number of weighting factors in ARP -
branches/HTM-8.2-dev2-Qualcomm/source/App/TAppEncoder/TAppEncTop.cpp
r655 r669 149 149 //====== Camera Parameters ========= 150 150 m_cTEncTop.setCameraParameters ( &m_cCameraData ); 151 #if QC_DEPTH_IV_MRG_F0125 152 m_cTEncTop.setCamParPrecision ( m_cCameraData.getCamParsCodedPrecision () ); 153 m_cTEncTop.setCamParInSliceHeader ( m_cCameraData.getVaryingCameraParameters() ); 154 m_cTEncTop.setCodedScale ( m_cCameraData.getCodedScale () ); 155 m_cTEncTop.setCodedOffset ( m_cCameraData.getCodedOffset () ); 156 #else 151 157 m_cTEncTop.setCamParPrecision ( isDepth ? false : m_cCameraData.getCamParsCodedPrecision () ); 152 158 m_cTEncTop.setCamParInSliceHeader ( isDepth ? 0 : m_cCameraData.getVaryingCameraParameters() ); 153 159 m_cTEncTop.setCodedScale ( isDepth ? 0 : m_cCameraData.getCodedScale () ); 154 160 m_cTEncTop.setCodedOffset ( isDepth ? 0 : m_cCameraData.getCodedOffset () ); 161 #endif 155 162 #if H_3D_VSO 156 163 //====== VSO ========= … … 1652 1659 1653 1660 #if H_3D_IV_MERGE 1661 #if QC_DEPTH_IV_MRG_F0125 1662 if( isDepth ) 1663 { 1664 vps.setIvMvPredFlag ( layer, (layer != 1) && m_ivMvPredFlag[1] ); 1665 } 1666 else 1667 { 1668 vps.setIvMvPredFlag ( layer, !isLayerZero && m_ivMvPredFlag[0] ); 1669 } 1670 #else 1654 1671 vps.setIvMvPredFlag ( layer, !isLayerZero && !isDepth && m_ivMvPredFlag ); 1672 #endif 1655 1673 #endif 1656 1674 #if H_3D_NBDV_REF
Note: See TracChangeset for help on using the changeset viewer.