Changeset 384 in 3DVCSoftware for branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder
- Timestamp:
- 9 May 2013, 07:51:01 (12 years ago)
- Location:
- branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder/TEncCavlc.cpp
r374 r384 716 716 } 717 717 #endif 718 } 718 719 } 720 721 #if MTK_D0156 722 #if MERL_VSP_COMPENSATION_C0152 723 WRITE_FLAG( pcSPS->getUseVSPCompensation() ? 1 : 0, "view_synthesis_pred_flag" ); 724 #endif 725 726 WRITE_FLAG( pcSPS->getUseDVPRefine() ? 1 : 0, "dv_refine_flag" ); 727 #endif 719 728 } 720 729 else -
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder/TEncCfg.h
r332 r384 336 336 #endif 337 337 338 #if MTK_D0156 339 340 #if MERL_VSP_COMPENSATION_C0152 341 Bool m_bUseVSPCompensation; 342 #endif 343 Bool m_bUseDVPRefine; 344 #endif 345 338 346 public: 339 347 TEncCfg() {} … … 809 817 Int getViewOrderIdx () { return m_iViewOrderIdx; } // will be changed to view_id 810 818 #endif 819 820 #if MTK_D0156 821 822 #if MERL_VSP_COMPENSATION_C0152 823 Bool getUseVSPCompensation( ){ return m_bUseVSPCompensation;} 824 Void setUseVSPCompensation( Bool bValue ){ m_bUseVSPCompensation = bValue;} 825 #endif 826 827 828 Bool getUseDVPRefine( ){ return m_bUseDVPRefine;} 829 Void setUseDVPRefine( Bool bValue ){ m_bUseDVPRefine = bValue;} 830 #endif 831 811 832 }; 812 833 -
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder/TEncCu.cpp
r374 r384 1926 1926 rpcTempCU->setMergeIndexSubParts( uiMergeCand, 0, 0, uhDepth ); // interprets depth relative to LCU level 1927 1927 #if MERL_VSP_C0152 1928 1929 #if MTK_D0156 1930 if( !rpcTempCU->getSlice()->getSPS()->getUseVSPCompensation() ) 1931 { 1932 rpcTempCU->setVSPIndexSubParts( 0, 0, 0, uhDepth ); 1933 } 1934 else 1935 #endif 1928 1936 { 1929 1937 Int iVSPIdx = 0; -
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder/TEncSearch.cpp
r355 r384 2989 2989 pcCU->getCUMvField(REF_PIC_LIST_1)->setAllMvField( cMvFieldNeighbours[1 + 2*uiMergeCand], ePartSize, uiAbsPartIdx, 0, iPUIdx ); 2990 2990 #if MERL_VSP_C0152 2991 #if MTK_D0156 2992 if( !pcCU->getSlice()->getSPS()->getUseVSPCompensation() ) 2993 { 2994 pcCU->setVSPIndexSubParts( 0, uiAbsPartIdx, iPUIdx, pcCU->getDepth( uiAbsPartIdx ) ); 2995 } 2996 else 2997 #endif 2991 2998 { 2992 2999 Int iVSPIdx = 0; … … 3718 3725 pcCU->setMergeIndexSubParts( uiMRGIndex, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) ); 3719 3726 #if MERL_VSP_C0152 3727 3728 #if MTK_D0156 3729 if( !pcCU->getSlice()->getSPS()->getUseVSPCompensation() ) 3730 { 3731 pcCU->setVSPIndexSubParts( 0, uiPartAddr, iPartIdx, pcCU->getDepth( uiPartAddr ) ); 3732 } 3733 else 3734 #endif 3720 3735 { 3721 3736 Int iVSPIdx = 0; -
branches/HTM-6.2-dev1-MediaTek/source/Lib/TLibEncoder/TEncTop.cpp
r332 r384 710 710 #endif 711 711 712 713 #if MTK_D0156 714 #if MERL_VSP_COMPENSATION_C0152 715 m_cSPS.setUseVSPCompensation ( m_bUseVSPCompensation ); 716 #endif 717 m_cSPS.setUseDVPRefine ( m_bUseDVPRefine ); 718 #endif 719 712 720 if( m_isDepth ) 713 721 { … … 744 752 m_cSPS.setMultiviewResPredMode ( m_uiMultiviewResPredMode ); 745 753 #endif 754 746 755 } 747 756 else
Note: See TracChangeset for help on using the changeset viewer.