Changeset 57 in 3DVCSoftware for trunk/source/Lib/TLibDecoder


Ignore:
Timestamp:
14 May 2012, 12:44:40 (12 years ago)
Author:
hschwarz
Message:

corrected output of decoded camera parameter files

Location:
trunk/source/Lib/TLibDecoder
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/Lib/TLibDecoder/TDecTop.cpp

    r56 r57  
    265265  m_bFirstSliceInPicture    = true;
    266266  m_bFirstSliceInSequence   = true;
     267  m_pcCamParsCollector = 0;
    267268}
    268269
     
    10381039  //  Decode a picture
    10391040  m_cGopDecoder.decompressGop(nalu.m_Bitstream, pcPic, false);
     1041
     1042  if( m_pcCamParsCollector )
     1043  {
     1044    m_pcCamParsCollector->setSlice( pcSlice );
     1045  }
    10401046
    10411047  m_bFirstSliceInPicture = false;
  • trunk/source/Lib/TLibDecoder/TDecTop.h

    r56 r57  
    7474  Void  uninit      ();
    7575  Void  setSlice    ( TComSlice* pcSlice );
     76
     77  Bool  isInitialized() const { return m_bInitialized; }
    7678
    7779private:
     
    150152  Bool                    m_isDepth;
    151153  TAppDecTop*             m_tAppDecTop;
     154  CamParsCollector*       m_pcCamParsCollector;
    152155  NalUnitType             m_nalUnitTypeBaseView; 
    153156
     
    185188  TComDepthMapGenerator*  getDepthMapGenerator  () { return &m_cDepthMapGenerator; }
    186189#endif
     190
     191  Void setCamParsCollector( CamParsCollector* pcCamParsCollector ) { m_pcCamParsCollector = pcCamParsCollector; }
    187192
    188193  TComList<TComPic*>* getListPic()                              { return &m_cListPic; }
Note: See TracChangeset for help on using the changeset viewer.