Changeset 93 in 3DVCSoftware for branches/HTM-3.1-Qualcomm/source/Lib/TLibCommon/TComPic.cpp
- Timestamp:
- 25 Jul 2012, 01:59:28 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-3.1-Qualcomm/source/Lib/TLibCommon/TComPic.cpp
r56 r93 55 55 #if DEPTH_MAP_GENERATION 56 56 m_pcPredDepthMap = NULL; 57 #if PDM_REMOVE_DEPENDENCE 58 m_pcPredDepthMap_temp = NULL; 59 #endif 57 60 #endif 58 61 #if HHI_INTER_VIEW_MOTION_PRED … … 136 139 m_pcPredDepthMap = NULL; 137 140 } 141 #if PDM_REMOVE_DEPENDENCE 142 if( m_pcPredDepthMap_temp ) // estimated depth map 143 { 144 m_pcPredDepthMap_temp->destroy(); 145 delete m_pcPredDepthMap_temp; 146 m_pcPredDepthMap_temp = NULL; 147 } 148 #endif 138 149 #endif 139 150 #if HHI_INTER_VIEW_MOTION_PRED … … 179 190 m_pcPredDepthMap = new TComPicYuv; 180 191 m_pcPredDepthMap ->create( iWidth >> uiSubSampExpX, iHeight >> uiSubSampExpY, uiMaxCuWidth >> uiSubSampExpX, uiMaxCuHeight >> uiSubSampExpY, uiMaxCuDepth ); 192 #if PDM_REMOVE_DEPENDENCE 193 m_pcPredDepthMap_temp = new TComPicYuv; 194 m_pcPredDepthMap_temp ->create( iWidth >> uiSubSampExpX, iHeight >> uiSubSampExpY, uiMaxCuWidth >> uiSubSampExpX, uiMaxCuHeight >> uiSubSampExpY, uiMaxCuDepth ); 195 #endif 181 196 } 182 197 #endif … … 224 239 m_pcPredDepthMap = NULL; 225 240 } 241 #if PDM_REMOVE_DEPENDENCE 242 if(m_pcPredDepthMap_temp) 243 { 244 m_pcPredDepthMap_temp->destroy(); 245 delete m_pcPredDepthMap_temp; 246 m_pcPredDepthMap_temp = NULL; 247 } 248 #endif 226 249 } 227 250 #endif
Note: See TracChangeset for help on using the changeset viewer.