Changeset 294 in 3DVCSoftware for branches/HTM-5.1-dev0/source/App/TAppDecoder


Ignore:
Timestamp:
19 Feb 2013, 20:33:52 (12 years ago)
Author:
tech
Message:

Removed HM-6.1 related guard macros.

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  
    369369      if(newPicture[viewDepthId])
    370370      {
    371 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER
    372371        xWriteOutput( pcListPic[viewDepthId], viewDepthId, nalu.m_temporalId );
    373 #else
    374         xWriteOutput( pcListPic[viewDepthId], viewDepthId );
    375 #endif
    376372      }
    377373    }
     
    440436}
    441437
    442 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER
    443438Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId, UInt tId )
    444 #else
    445 Void TAppDecTop::xWriteOutput( TComList<TComPic*>* pcListPic, Int viewDepthId )
    446 #endif
    447439{
    448440  TComList<TComPic*>::iterator iterPic   = pcListPic->begin();
     
    463455  {
    464456    TComPic* pcPic = *(iterPic);
    465 #if PIC_CROPPING
    466457    TComSPS *sps = pcPic->getSlice(0)->getSPS();
    467 #endif
    468458   
    469 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER
    470459    if ( pcPic->getOutputMark() && (not_displayed >  pcPic->getSlice(0)->getSPS()->getNumReorderPics(tId) && pcPic->getPOC() > m_pocLastDisplay[viewDepthId]))
    471 #else
    472     if ( pcPic->getOutputMark() && (not_displayed >  pcPic->getSlice(0)->getSPS()->getNumReorderFrames() && pcPic->getPOC() > m_pocLastDisplay[viewDepthId]))
    473 #endif
    474460    {
    475461      // write to file
     
    477463      if ( m_pchReconFile )
    478464      {
    479 #if PIC_CROPPING
    480465        m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() );
    481 #else
    482         m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );
    483 #endif
    484466      }
    485467     
     
    526508  {
    527509    TComPic* pcPic = *(iterPic);
    528 #if PIC_CROPPING
    529510    TComSPS *sps = pcPic->getSlice(0)->getSPS();
    530 #endif
    531511
    532512    if ( pcPic->getOutputMark() )
     
    535515      if ( m_pchReconFile )
    536516      {
    537 #if PIC_CROPPING
    538517        m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), sps->getPicCropLeftOffset(), sps->getPicCropRightOffset(), sps->getPicCropTopOffset(), sps->getPicCropBottomOffset() );
    539 #else
    540         m_tVideoIOYuvReconFile[viewDepthId]->write( pcPic->getPicYuvRec(), pcPic->getSlice(0)->getSPS()->getPad() );
    541 #endif
    542518      }
    543519     
  • branches/HTM-5.1-dev0/source/App/TAppDecoder/TAppDecTop.h

    r231 r294  
    121121//  Void  xInitDecLib       (); ///< initialize decoder class
    122122 
    123 #if H0567_DPB_PARAMETERS_PER_TEMPORAL_LAYER
    124123  Void  xWriteOutput      ( TComList<TComPic*>* pcListPic, Int viewDepthId, UInt tId); ///< write YUV to file
    125 #else
    126   Void  xWriteOutput      ( TComList<TComPic*>* pcListPic, Int viewDepthId ); ///< write YUV to file
    127 #endif
    128124  Void  xFlushOutput      ( TComList<TComPic*>* pcListPic, Int viewDepthId ); ///< flush all remaining decoded pictures to file
    129125
Note: See TracChangeset for help on using the changeset viewer.