Changeset 187 in SHVCSoftware for branches/SHM-2.0-dev/source/App
- Timestamp:
- 12 May 2013, 18:11:47 (12 years ago)
- Location:
- branches/SHM-2.0-dev/source/App
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SHM-2.0-dev/source/App/TAppDecoder/TAppDecTop.cpp
r154 r187 560 560 if ( m_pchReconFile ) 561 561 { 562 #if SYNTAX_OUTPUT && ILP_DECODED_PICTURE 563 m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec() ); 564 #else 562 565 const Window &conf = pcPic->getConformanceWindow(); 563 566 const Window &defDisp = m_respectDefDispWindow ? pcPic->getDefDisplayWindow() : Window(); 564 #if SYNTAX_OUTPUT && ILP_DECODED_PICTURE565 m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec() );566 #else567 567 m_cTVideoIOYuvReconFile.write( pcPic->getPicYuvRec(), 568 568 conf.getWindowLeftOffset() + defDisp.getWindowLeftOffset(), -
branches/SHM-2.0-dev/source/App/TAppEncoder/TAppEncCfg.cpp
r184 r187 66 66 TAppEncCfg::TAppEncCfg() 67 67 : m_pBitstreamFile() 68 #if AVC_BASE 69 , m_avcBaseLayerFlag(0) 70 #endif 68 71 , m_pColumnWidth() 69 72 , m_pRowHeight() … … 423 426 #endif 424 427 #if AVC_BASE 425 ("AvcBase ", m_avcBaseLayerFlag, 0, "AVC_BASElayer_flag")428 ("AvcBase,-avc", m_avcBaseLayerFlag, 0, "avc_base_layer_flag") 426 429 ("InputBLFile,-ibl", cfg_BLInputFile, string(""), "Base layer rec YUV input file name") 427 430 #if AVC_SYNTAX … … 430 433 #endif 431 434 #if REF_IDX_FRAMEWORK 432 ("EnableElRapB,-use-rap-b", m_elRapSliceBEnabled, 0, "Set ILP over base-layer I picture to B picture (default is P picture _")435 ("EnableElRapB,-use-rap-b", m_elRapSliceBEnabled, 0, "Set ILP over base-layer I picture to B picture (default is P picture)") 433 436 #endif 434 437 #else … … 741 744 ; 742 745 743 #if AVC_BASE744 if( m_avcBaseLayerFlag )745 {746 *cfg_InputFile[0] = cfg_BLInputFile;747 }748 #endif749 750 746 for(Int i=1; i<MAX_GOP+1; i++) { 751 747 std::ostringstream cOSS; … … 773 769 /* convert std::string to c string for compatability */ 774 770 #if SVC_EXTENSION 771 #if AVC_BASE 772 if( m_avcBaseLayerFlag ) 773 { 774 *cfg_InputFile[0] = cfg_BLInputFile; 775 } 776 #endif 775 777 m_pBitstreamFile = cfg_BitstreamFile.empty() ? NULL : strdup(cfg_BitstreamFile.c_str()); 776 778 #if AVC_SYNTAX … … 1827 1829 { 1828 1830 printf("=== Layer %d settings === \n", layer); 1831 #if AVC_SYNTAX 1832 m_acLayerCfg[layer].xPrintParameter( layer ); 1833 #else 1829 1834 m_acLayerCfg[layer].xPrintParameter(); 1835 #endif 1830 1836 printf("\n"); 1831 1837 } -
branches/SHM-2.0-dev/source/App/TAppEncoder/TAppEncLayerCfg.cpp
r125 r187 116 116 } 117 117 118 #if AVC_SYNTAX 119 Void TAppEncLayerCfg::xPrintParameter( UInt layerId ) 120 #else 118 121 Void TAppEncLayerCfg::xPrintParameter() 122 #endif 119 123 { 120 124 printf("Input File : %s\n", m_cInputFile.c_str() ); 121 125 printf("Reconstruction File : %s\n", m_cReconFile.c_str() ); 122 126 #if AVC_SYNTAX 123 printf("Base layer input file : %s\n", m_cAppEncCfg->getBLSyntaxFile() ); 127 if( layerId == 0 ) 128 { 129 printf("Base layer syntax file : %s\n", m_cAppEncCfg->getBLSyntaxFile() ); 130 } 124 131 #endif 125 132 printf("Real Format : %dx%d %dHz\n", m_iSourceWidth - m_confLeft - m_confRight, m_iSourceHeight - m_confTop - m_confBottom, m_iFrameRate ); -
branches/SHM-2.0-dev/source/App/TAppEncoder/TAppEncLayerCfg.h
r184 r187 69 69 bool parseCfg ( const string& cfgFileName ); ///< parse layer configuration file to fill member variables 70 70 71 #if AVC_SYNTAX 72 Void xPrintParameter( UInt layerId ); 73 #else 71 74 Void xPrintParameter(); 75 #endif 72 76 Bool xCheckParameter(); 73 77
Note: See TracChangeset for help on using the changeset viewer.