Changeset 1345 in 3DVCSoftware for branches/HTM-15.1-dev0-Disney


Ignore:
Timestamp:
6 Oct 2015, 12:07:31 (9 years ago)
Author:
tech
Message:

Further clean ups.

Location:
branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/SEI.cpp

    r1344 r1345  
    744744{ };
    745745
    746 Void SEIOverlayInfo::initStringElements ( ) 
    747 {
    748   // Set some string values for syntax elements of declarator type st(v)
    749   m_overlayLanguage.resize(m_numOverlaysMax);
    750   m_overlayName.resize(m_numOverlaysMax);
    751   m_overlayElementName.resize(m_numOverlaysMax);
    752   char* cstr = new char[m_numStringBytesMax];
    753   for ( Int i=0 ; i<m_numOverlaysMax ; i++ )
    754   {
    755     sprintf(cstr, "LanguageTag%02d", i);
    756     //m_overlayLanguage[i] = std::string(cstr);
    757     sprintf(cstr, "Overlay%02dName", i);
    758     //m_overlayName[i] = std::string(cstr);
    759 
    760     m_overlayElementName[i].resize(m_numOverlayElementsMax);
    761     for ( Int j=0 ; j<m_numOverlayElementsMax ; j++ )
    762     {
    763       sprintf(cstr, "Overlay%02dElement%03dName", i, j);
    764       m_overlayElementName[i][j] = std::string(cstr);
    765     }
    766   }
    767   delete [] cstr;
    768 };
    769 
    770746Void SEIOverlayInfo::setupFromCfgFile(const Char* cfgFile)
    771747{
     
    815791  po::ErrorReporter err;
    816792  po::parseConfigFile( opts, cfgFile, err );
    817 
    818   // Initialize some values for syntax elements with declaration type st(v) (i.e. string type syntax elements)
    819   // initStringElements();
    820793};
    821794
  • branches/HTM-15.1-dev0-Disney/source/Lib/TLibCommon/SEI.h

    r1344 r1345  
    114114    MULTIVIEW_VIEW_POSITION                   = 180
    115115#if NH_3D
    116     ,    ALTERNATIVE_DEPTH_INFO                    = 181
     116    ,ALTERNATIVE_DEPTH_INFO                    = 181
    117117#endif
    118118#endif
     
    812812
    813813  Void setupFromCfgFile( const Char*      cfgFile ); 
    814   Bool checkCfg        ( const TComSlice* slice   );
    815   Void initStringElements ( );
     814  Bool checkCfg        ( const TComSlice* slice   ); 
    816815
    817816  const Int m_numOverlaysMax;
     
    11511150  Void setupFromCfgFile( const Char*      cfgFile ); 
    11521151  Bool checkCfg        ( const TComSlice* slice   );
    1153 
    11541152
    11551153  Bool      m_alternativeDepthInfoCancelFlag;
Note: See TracChangeset for help on using the changeset viewer.