Changeset 479 in 3DVCSoftware for branches/HTM-DEV-0.3-dev2/source/App/TAppDecoder
- Timestamp:
- 18 Jun 2013, 23:24:53 (12 years ago)
- Location:
- branches/HTM-DEV-0.3-dev2/source/App/TAppDecoder
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HTM-DEV-0.3-dev2/source/App/TAppDecoder/TAppDecTop.cpp
r478 r479 641 641 m_tDecTop[ decIdx ] = new TDecTop; 642 642 m_tDecTop[ decIdx ]->create(); 643 #if H_3D_IV_MERGE644 m_tDecTop[ decIdx ]->init(this );645 #else646 643 m_tDecTop[ decIdx ]->init( ); 647 #endif648 644 m_tDecTop[ decIdx ]->setLayerId( layerId ); 649 645 m_tDecTop[ decIdx ]->setDecodedPictureHashSEIEnabled(m_decodedPictureHashSEIEnabled); … … 682 678 } 683 679 #endif 684 #if H_3D_IV_MERGE685 // GT: This function is not necessary anymore m_ivPicLists should be used instead686 TComPic* TAppDecTop::xGetPicFromView( Int viewIdx, Int poc, Bool isDepth )687 {688 assert( ( viewIdx >= 0 ) );689 690 TComList<TComPic*>* apcListPic = m_tDecTop[ (isDepth ? 1 : 0) + viewIdx * 2 ]->getListPic();691 692 TComPic* pcPic = NULL;693 for( TComList<TComPic*>::iterator it=apcListPic->begin(); it!=apcListPic->end(); it++ )694 {695 if( (*it)->getPOC() == poc )696 {697 pcPic = *it;698 break;699 }700 }701 return pcPic;702 }703 #endif704 680 //! \} -
branches/HTM-DEV-0.3-dev2/source/App/TAppDecoder/TAppDecTop.h
r478 r479 49 49 #include "TAppDecCfg.h" 50 50 51 #if H_3D_IV_MERGE52 #include "TLibCommon/TComDepthMapGenerator.h"53 #endif54 51 //! \ingroup TAppDecoder 55 52 //! \{ … … 76 73 // for output control 77 74 Bool m_abDecFlag[ MAX_GOP ]; ///< decoded flag in one GOP 78 #if H_3D_IV_MERGE79 Int m_fcoViewDepthId;80 Char m_fcoOrder[MAX_VIEW_NUM*2];81 #endif82 75 #if H_MV 83 76 Int m_pocLastDisplay [ MAX_NUM_LAYERS ]; ///< last POC in display order … … 89 82 FILE* m_pScaleOffsetFile; 90 83 CamParsCollector m_cCamParsCollector; 91 #if H_3D_IV_MERGE92 TComVPSAccess m_cVPSAccess;93 TComSPSAccess m_cSPSAccess;94 TComAUPicAccess m_cAUPicAccess;95 #endif96 84 #endif 97 85 public: … … 103 91 Void decode (); ///< main decoding function 104 92 105 #if H_3D_IV_MERGE106 TDecTop* getTDecTop ( Int viewIdx, Bool isDepth );107 TComPic* getPicFromView ( Int viewIdx, Int poc, bool isDepth ) { return xGetPicFromView( viewIdx, poc, isDepth ); }108 TComVPSAccess* getVPSAccess () { return &m_cVPSAccess; }109 TComSPSAccess* getSPSAccess () { return &m_cSPSAccess; }110 TComAUPicAccess* getAUPicAccess() { return &m_cAUPicAccess; }111 TDecTop* getDecTop0 () { return m_tDecTop[0]; }112 #endif113 114 93 protected: 115 94 Void xCreateDecLib (); ///< create internal classes … … 117 96 Void xInitDecLib (); ///< initialize decoder class 118 97 119 #if H_3D_IV_MERGE120 TComPic* xGetPicFromView( Int viewIdx, Int poc, Bool isDepth );121 #endif122 98 #if H_MV 123 99 Void xWriteOutput ( TComList<TComPic*>* pcListPic, Int layerId, Int tId ); ///< write YUV to file
Note: See TracChangeset for help on using the changeset viewer.