Changeset 294 in 3DVCSoftware for branches/HTM-5.1-dev0/source/App/TAppDecoder
- Timestamp:
- 19 Feb 2013, 20:33:52 (12 years ago)
- Location:
- branches/HTM-5.1-dev0/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-5.1-dev0/source/App/TAppDecoder/TAppDecTop.cpp
r289 r294 369 369 if(newPicture[viewDepthId]) 370 370 { 371 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER372 371 xWriteOutput( pcListPic[viewDepthId], viewDepthId, nalu.m_temporalId ); 373 #else374 xWriteOutput( pcListPic[viewDepthId], viewDepthId );375 #endif376 372 } 377 373 } … … 440 436 } 441 437 442 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER443 438 Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId, UInt tId ) 444 #else445 Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId )446 #endif447 439 { 448 440 TComList<TComPic*>::iterator iterPic = pcListPic->begin(); … … 463 455 { 464 456 TComPic* pcPic = *(iterPic); 465 #if PIC_CROPPING466 457 TComSPS *sps = pcPic->getSlice(0)->getSPS(); 467 #endif468 458 469 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER470 459 if ( pcPic->getOutputMark() && (not_displayed > pcPic->getSlice(0)->getSPS()->getNumReorderPics(tId) && pcPic->getPOC() > m_pocLastDisplay[viewDepthId])) 471 #else472 if ( pcPic->getOutputMark() && (not_displayed > pcPic->getSlice(0)->getSPS()->getNumReorderFrames() && pcPic->getPOC() > m_pocLastDisplay[viewDepthId]))473 #endif474 460 { 475 461 // write to file … … 477 463 if ( m_pchReconFile ) 478 464 { 479 #if PIC_CROPPING480 465 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() ); 481 #else482 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );483 #endif484 466 } 485 467 … … 526 508 { 527 509 TComPic* pcPic = *(iterPic); 528 #if PIC_CROPPING529 510 TComSPS *sps = pcPic->getSlice(0)->getSPS(); 530 #endif531 511 532 512 if ( pcPic->getOutputMark() ) … … 535 515 if ( m_pchReconFile ) 536 516 { 537 #if PIC_CROPPING538 517 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() ); 539 #else540 m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );541 #endif542 518 } 543 519 -
branches/HTM-5.1-dev0/source/App/TAppDecoder/TAppDecTop.h
r231 r294 121 121 // Void xInitDecLib (); ///< initialize decoder class 122 122 123 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER124 123 Void xWriteOutput ( TComList<TComPic*>* pcListPic, Int viewDepthId, UInt tId); ///< write YUV to file 125 #else126 Void xWriteOutput ( TComList<TComPic*>* pcListPic, Int viewDepthId ); ///< write YUV to file127 #endif128 124 Void xFlushOutput ( TComList<TComPic*>* pcListPic, Int viewDepthId ); ///< flush all remaining decoded pictures to file 129 125
Note: See TracChangeset for help on using the changeset viewer.