Changeset 57 in 3DVCSoftware for trunk/source/App/TAppDecoder


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

corrected output of decoded camera parameter files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/App/TAppDecoder/TAppDecTop.cpp

    r56 r57  
    5757  ::memset (m_abDecFlag, 0, sizeof (m_abDecFlag));
    5858  m_useDepth = false;
     59  m_pScaleOffsetFile  = 0;
    5960}
    6061
     
    209210    previousViewDepthId = viewDepthId;
    210211  }
     212  if( m_cCamParsCollector.isInitialized() )
     213  {
     214    m_cCamParsCollector.setSlice( 0 );
     215  }
    211216  // last frame
    212217  for( Int viewDepthIdx = 0; viewDepthIdx < m_tDecTop.size(); viewDepthIdx++ )
     
    249254      m_tDecTop[viewDepthIdx] = NULL ;
    250255    }
     256  }
     257
     258  m_cCamParsCollector.uninit();
     259  if( m_pScaleOffsetFile )
     260  {
     261    ::fclose( m_pScaleOffsetFile );
    251262  }
    252263}
     
    429440      m_tDecTop.back()->setIsDepth( isDepth );
    430441      m_tDecTop.back()->setPictureDigestEnabled(m_pictureDigestEnabled);
     442      m_tDecTop.back()->setCamParsCollector( &m_cCamParsCollector );
    431443    }
    432444  }
Note: See TracChangeset for help on using the changeset viewer.