Changeset 1317 in 3DVCSoftware for branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComMotionInfo.cpp
- Timestamp:
- 4 Sep 2015, 21:28:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-15.0-dev0/source/Lib/TLibCommon/TComMotionInfo.cpp
r1313 r1317 44 44 #include "TComPic.h" 45 45 #endif 46 46 #if NH_MV 47 #include <iomanip> 48 #endif 47 49 //! \ingroup TLibCommon 48 50 //! \{ … … 377 379 } 378 380 } 381 382 #if NH_MV 383 Void TComCUMvField::print(Char* pePredMode) 384 { 385 for ( Int uiPartIdx = 0; uiPartIdx < m_uiNumPartition; uiPartIdx += 1 ) 386 { 387 PredMode predMode = static_cast<PredMode>( pePredMode[ uiPartIdx ] ); 388 389 if ( predMode == MODE_INTRA) 390 { 391 std::cout << std::setfill(' ') << "(" 392 << std::setw(3) << " " << "," 393 << std::setw(3) << " " << "," 394 << std::setw(3) << " " << ")"; 395 } 396 else 397 { 398 ; 399 std::cout << std::setfill(' ') << "(" 400 << std::setw(3) << (Int) m_piRefIdx[ uiPartIdx ] << "," 401 << std::setw(3) << m_pcMv[ uiPartIdx ].getHor() << "," 402 << std::setw(3) << m_pcMv[ uiPartIdx ].getVer() << ")"; 403 } 404 } 405 } 406 407 #if NH_3D_MLC 408 Void TComMotionCand::print( Int i ) 409 { 410 if (i == 0 ) 411 { 412 413 std::cout << std::setfill(' ') << std::setw( 15 ) 414 << "Num" << std::setw( 15 ) 415 << "Avai" << std::setw( 15 ) 416 << "Dir " << std::setw( 15 ) 417 << "L0 RefIdx" << std::setw( 15 ) 418 << "L0 Hor" << std::setw( 15 ) 419 << "L0 Ver" << std::setw( 15 ) 420 << "L1 RefIdx" << std::setw( 15 ) 421 << "L1 Hor" << std::setw( 15 ) 422 << "L1 Ver" << std::setw( 15 ) 423 << "VspFlag" << std::setw( 15 ) 424 << "SPIVMPFlag" 425 << std::endl; 426 } 427 428 std::cout << std::setfill(' ') << std::setw( 15 ) 429 << i << std::setw( 15 ) 430 << m_bAvailable << std::setw( 15 ) 431 << (UInt) m_uDir << std::setw( 15 ) 432 << ((m_uDir & 1) ? m_cMvField[0].getRefIdx() : MIN_INT) << std::setw( 15 ) 433 << ((m_uDir & 1) ? m_cMvField[0].getMv().getHor() : MIN_INT) << std::setw( 15 ) 434 << ((m_uDir & 1) ? m_cMvField[0].getMv().getVer() : MIN_INT) << std::setw( 15 ) 435 << ((m_uDir & 2) ? m_cMvField[1].getRefIdx() : MIN_INT) << std::setw( 15 ) 436 << ((m_uDir & 2) ? m_cMvField[1].getMv().getHor() : MIN_INT) << std::setw( 15 ) 437 << ((m_uDir & 2) ? m_cMvField[1].getMv().getVer() : MIN_INT) << std::setw( 15 ) 438 << m_iVspFlag << std::setw( 15 ) 439 << m_bSPIVMPFlag << std::setw( 15 ) 440 << std::endl; 441 } 442 #endif 443 #endif 379 444 //! \}
Note: See TracChangeset for help on using the changeset viewer.