Changeset 45 in 3DVCSoftware for branches/0.3-poznan-univ/source/App/TAppRenderer/TAppRendererCfg.cpp
- Timestamp:
- 28 Mar 2012, 10:04:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.3-poznan-univ/source/App/TAppRenderer/TAppRendererCfg.cpp
r28 r45 183 183 m_bUseSetupString = ( m_pchViewConfig != NULL ) && ( m_iRenderMode != 0); 184 184 185 #if POZNAN_NONLINEAR_DEPTH 186 TComNonlinearDepthModel cNonlinearDepthModel; 187 cNonlinearDepthModel.Clear(); 188 cNonlinearDepthModel.Init(); 189 #endif 190 185 191 if ( m_iRenderMode == 10 ) 186 192 { … … 188 194 m_pchCameraParameterFile, m_pchBaseViewCameraNumbers, NULL, NULL, m_iLog2SamplingFactor+m_iShiftPrecision 189 195 #if POZNAN_NONLINEAR_DEPTH 190 , 1.0f196 ,&cNonlinearDepthModel 191 197 #endif 192 198 ); … … 211 217 m_pchCameraParameterFile, m_pchBaseViewCameraNumbers, NULL, piaTempViews, m_iLog2SamplingFactor+m_iShiftPrecision 212 218 #if POZNAN_NONLINEAR_DEPTH 213 , 1.0f219 , &cNonlinearDepthModel 214 220 #endif 215 221 ); … … 220 226 m_pchCameraParameterFile, m_pchBaseViewCameraNumbers, m_pchSynthViewCameraNumbers, NULL, m_iLog2SamplingFactor+m_iShiftPrecision 221 227 #if POZNAN_NONLINEAR_DEPTH 222 , 1.0f228 ,&cNonlinearDepthModel 223 229 #endif 224 230 ); … … 292 298 293 299 xConfirmPara( m_iPreFilterSize < 0 || m_iPreFilterSize > 3, "PreFilterSize must be more than or equal to 0 and less than 4" ); 300 #if POZNAN_ENCODE_ONLY_DISOCCLUDED_CU 301 xConfirmPara( m_iBlendMode < 0 || m_iBlendMode > 4, "BlendMode must be more than or equal to 0 and less than 5" ); 302 #else 294 303 xConfirmPara( m_iBlendMode < 0 || m_iBlendMode > 3, "BlendMode must be more than or equal to 0 and less than 4" ); 304 #endif 295 305 xConfirmPara( m_iBlendZThresPerc < 0 || m_iBlendZThresPerc > 100,"BlendZThresPerc must be more than or equal to 0 and less than 101" ); 296 306 xConfirmPara( m_iBlendHoleMargin < 0 || m_iBlendHoleMargin > 20,"BlendHoleMargin must be more than or equal to 0 and less than 19" );
Note: See TracChangeset for help on using the changeset viewer.