Ignore:
Timestamp:
20 Feb 2013, 21:24:20 (12 years ago)
Author:
seregin
Message:

AVC_SYNTAX: initial porting of the AVC metadata file reading

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SHM-1.1-dev/source/App/TAppEncoder/TAppEncTop.cpp

    r33 r38  
    706706  }
    707707
     708#if AVC_SYNTAX
     709  if( !m_BLSyntaxFile )
     710  {
     711    printf( "Wrong base layer syntax input file\n" );
     712    exit(EXIT_FAILURE);
     713  }
     714  fstream streamSyntaxFile( m_BLSyntaxFile, fstream::in | fstream::binary );
     715  if( !streamSyntaxFile.good() )
     716  {
     717    printf( "Base layer syntax input reading error\n" );
     718    exit(EXIT_FAILURE);
     719  }
     720  m_acTEncTop[0].setBLSyntaxFile( &streamSyntaxFile );
     721#endif
     722
    708723  Bool bFirstFrame = true;
    709724  while ( !bEos )
     
    791806  }
    792807 
     808#if AVC_SYNTAX
     809  if( streamSyntaxFile.is_open() )
     810  {
     811    streamSyntaxFile.close();
     812  }
     813#endif
     814
    793815  // delete buffers & classes
    794816  xDeleteBuffer();
Note: See TracChangeset for help on using the changeset viewer.