Changeset 13 in 3DVCSoftware for branches/0.2-poznan-univ/source
- Timestamp:
- 7 Feb 2012, 02:04:12 (13 years ago)
- Location:
- branches/0.2-poznan-univ/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/0.2-poznan-univ/source/App/TAppCommon/TAppComCamPara.cpp
r12 r13 1365 1365 } 1366 1366 1367 xReadCameraParameterFile( pchCfgFileName );1368 1369 m_bSetupFromCoded = ( m_aadCameraParameters[ 0 ].size() == 2 );1370 1371 if ( m_bSetupFromCoded )1372 {1373 std::cout << "Detected decoded camera parameter file. Overwriting base view settings from cfg file. " << std::endl;1374 xSetupBaseViewsFromCoded();1375 }1376 else1377 {1378 xSetupBaseViews( pchBaseViewNumbers, uiNumBaseViews );1379 }1380 1381 //===== set derived parameters =====1382 xGetViewOrderIndices( m_aiBaseId2SortedId, m_aiViewOrderIndex );1383 m_bCamParsVaryOverTime = xGetCamParsChangeFlag();1384 1385 1386 //===== create arrays =====1387 xCreateLUTs ( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_adBaseViewShiftLUT, m_aiBaseViewShiftLUT, m_adBaseViewShiftParameter, m_aiBaseViewShiftParameter );1388 xCreateLUTs ( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfSynthViews, m_adSynthViewShiftLUT, m_aiSynthViewShiftLUT, m_adSynthViewShiftParameter, m_aiSynthViewShiftParameter );1389 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiCodedScale );1390 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiCodedOffset );1391 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiScaleAndOffsetSet );1392 xInit2dArray ( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiScaleAndOffsetSet, 0 );1393 1394 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiPdmScaleNomDelta );1395 xCreate2dArray( (UInt)m_iNumberOfBaseViews, (UInt)m_iNumberOfBaseViews, m_aaiPdmOffset );1396 1397 //===== init disparity to virtual depth conversion parameters =====1398 xSetPdmConversionParams();1399 1400 //===== init arrays for first frame =====1401 xSetShiftParametersAndLUT( m_uiFirstFrameId );1402 }1403 #endif//*/1404 1405 1367 Void 1406 1368 TAppComCamPara::check( Bool bCheckViewRange, Bool bCheckFrameRange ) -
branches/0.2-poznan-univ/source/App/TAppEncoder/TAppEncTop.cpp
r12 r13 1278 1278 { 1279 1279 iCurPoc = m_acTEncTopList[ iCoddedViewIdx ]->getNextFrameId(); 1280 if (!(m_acTEncTopList[ iCoddedViewIdx ]->currentPocWillBeCoded())) return;1281 1280 if (!(m_acTEncTopList[ iCoddedViewIdx ]->currentPocWillBeCoded())) return; 1281 } 1282 1282 Int iNumberOfReferenceViews = 0; 1283 1283 UInt iSynthViewIdx; -
branches/0.2-poznan-univ/source/Lib/TLibCommon/TypeDef.h
r12 r13 92 92 #endif 93 93 94 #endif95 96 94 // --------------------------------------- 97 95
Note: See TracChangeset for help on using the changeset viewer.