Changeset 1118 in 3DVCSoftware for branches/HTM-12.2-dev0/source/Lib/TLibEncoder
- Timestamp:
- 8 Nov 2014, 21:07:36 (10 years ago)
- Location:
- branches/HTM-12.2-dev0/source/Lib/TLibEncoder
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncCavlc.cpp ¶
r1110 r1118 1679 1679 WRITE_FLAG( pcVPS->getInterSDCFlag( i ) ? 1 : 0, "depth_inter_SDC_flag" ); 1680 1680 #endif 1681 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 1682 WRITE_FLAG( pcVPS->getSingleDepthModeFlag( i ) ? 1 : 0, "single_depth_mode_flag" ); 1683 #endif 1681 1684 } 1682 1685 } … … 2135 2138 } 2136 2139 #endif 2140 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 2137 2141 #if H_3D_SINGLE_DEPTH 2138 2142 if(pcSlice->getIsDepth()) … … 2140 2144 WRITE_FLAG( pcSlice->getApplySingleDepthMode() ? 1 : 0, "slice_enable_single_depth_mode" ); 2141 2145 } 2146 #endif 2142 2147 #endif 2143 2148 #if H_3D_IV_MERGE … … 2161 2166 { 2162 2167 Bool ivMvPredFlag = pcSlice->getVPS()->getIvMvPredFlag( pcSlice->getLayerIdInVps() ) ; 2168 #if MTK_MRG_LIST_SIZE_CLEANUP_J0059 2169 Bool vspFlag = pcSlice->getVPS()->getViewSynthesisPredFlag( pcSlice->getLayerIdInVps() ) ; 2170 WRITE_UVLC( ( ivMvPredFlag || vspFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS ) - pcSlice->getMaxNumMergeCand(), "five_minus_max_num_merge_cand"); 2171 #else 2163 2172 WRITE_UVLC( ( ivMvPredFlag ? MRG_MAX_NUM_CANDS_MEM : MRG_MAX_NUM_CANDS ) - pcSlice->getMaxNumMergeCand(), "five_minus_max_num_merge_cand"); 2164 } 2165 #endif 2173 #endif 2174 } 2166 2175 #else 2167 2176 WRITE_UVLC(MRG_MAX_NUM_CANDS - pcSlice->getMaxNumMergeCand(), "five_minus_max_num_merge_cand"); -
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncCu.cpp ¶
r1107 r1118 739 739 #if H_3D_SINGLE_DEPTH 740 740 rpcTempCU->initEstData( uiDepth, iMinQP, isAddLowestQP ); 741 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 742 if(rpcBestCU->getSlice()->getVPS()->getSingleDepthModeFlag(rpcBestCU->getSlice()->getLayerIdInVps())) 743 #else 741 744 if(rpcBestCU->getSlice()->getApplySingleDepthMode()) 745 #endif 742 746 { 743 747 xCheckRDCostSingleDepth( rpcBestCU, rpcTempCU, SIZE_2Nx2N ); -
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncEntropy.cpp ¶
r1106 r1118 134 134 return; 135 135 } 136 #if MTK_SINGLE_DEPTH_VPS_FLAG_J0060 137 if(!pcCU->getSlice()->getVPS()->getSingleDepthModeFlag(pcCU->getSlice()->getLayerIdInVps())) 138 { 139 return; 140 } 141 #else 136 142 if(!pcCU->getSlice()->getApplySingleDepthMode()) 137 143 { 138 144 return; 139 145 } 140 146 #endif 141 147 if( bRD ) 142 148 { -
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncGOP.cpp ¶
r1106 r1118 957 957 pcSlice->setRefPicList ( rcListPic ); 958 958 #endif 959 #if !MTK_SINGLE_DEPTH_VPS_FLAG_J0060 959 960 #if H_3D_SINGLE_DEPTH 960 961 #if HHI_TOOL_PARAMETERS_I2_J0107 … … 972 973 pcSlice->setApplySingleDepthMode(enableSingleDepthMode); 973 974 #endif 974 #endif 975 #endif 976 #endif 975 977 #if SEC_ARP_VIEW_REF_CHECK_J0037 || SEC_DBBP_VIEW_REF_CHECK_J0037 976 978 pcSlice->setDefaultRefView(); -
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncSearch.cpp ¶
r1106 r1118 2881 2881 Int index=0; 2882 2882 Pel testDepth; 2883 #if SINGLE_DEPTH_SIMP_J0115 2884 Pel DepthNeighbours[2]; 2885 #else 2883 2886 Pel DepthNeighbours[5]; 2887 #endif 2884 2888 //construction of depth candidates 2889 #if SINGLE_DEPTH_SIMP_J0115 2890 for( Int i = 0; (i < 2) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 2891 #else 2885 2892 for( Int i = 0; (i < 5) && (index<SINGLE_DEPTH_MODE_CAND_LIST_SIZE) ; i++ ) 2893 #endif 2886 2894 { 2887 2895 if(!pcCU->getNeighDepth (0, 0, &testDepth, i)) … … 2891 2899 DepthNeighbours[index]=testDepth; 2892 2900 index++; 2901 #if !SINGLE_DEPTH_SIMP_J0115 2893 2902 for(Int j=0;j<index-1;j++) 2894 2903 { … … 2899 2908 } 2900 2909 } 2910 #endif 2901 2911 } 2902 2912 -
TabularUnified branches/HTM-12.2-dev0/source/Lib/TLibEncoder/TEncSlice.cpp ¶
r1106 r1118 622 622 else 623 623 { 624 #if MTK_MRG_LIST_SIZE_CLEANUP_J0059 625 rpcSlice->setMaxNumMergeCand ( m_pcCfg->getMaxNumMergeCand() + ( rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) || rpcSlice->getVPS()->getViewSynthesisPredFlag( rpcSlice->getLayerIdInVps() ) ? 1 : 0 ) ); 626 #else 624 627 rpcSlice->setMaxNumMergeCand ( m_pcCfg->getMaxNumMergeCand() + ( rpcSlice->getVPS()->getIvMvPredFlag( rpcSlice->getLayerIdInVps() ) ? 1 : 0 ) ); 625 } 626 #endif 628 #endif 629 } 627 630 #else 628 631 rpcSlice->setMaxNumMergeCand ( m_pcCfg->getMaxNumMergeCand() );
Note: See TracChangeset for help on using the changeset viewer.